Skip to content

Meteor app Flutterbum will not work #6

@leaph

Description

@leaph

I am trying to do development with https://github.com/mcknightg/flutterbum by running Meteor from the container and getting the following error (but only when I run meteor from the container, with regular installation of Meteor it works fine):

Error: Error invoking Method 'addCustomer':
Method not found [404]

The method is defined in the email.js file, in the server sub-directory using Meteor.Methods. None of the defined Meteor.Methods is accessible from the client by Meteor.call. I modified the code and copied all Meteor.Method definitions into a .js file and put in the root folder into an "isServer" if-condition. This way all methods are accessible.

As stated before I do not have this issue when I run the app from the local Meteor server, only when I run it from the docker container. It seems to me as if the "server" sub-directory is not accessible from the container.

Can you please advise?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions