Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Deploy to Galaxy from Mac (Due to binary NPM modules in dev dependencies) #94

Open
tomitrescak opened this issue Apr 5, 2016 · 6 comments

Comments

@tomitrescak
Copy link

Blog app uses some binary modules which prohibit it from being deployed to Linux servers from non Linux computers such as my Mac. For example a binary module is:

> [email protected] install /Users/tomi/Documents/Programming/Github/mantra-sample-blog-app/node_modules/fsevents
> node-pre-gyp install --fallback-to-build

[fsevents] Success: "/Users/tomi/Documents/Programming/Github/mantra-sample-blog-app/node_modules/fsevents/lib/binding/Release/node-v47-darwin-x64/fse.node" is installed via remote
[email protected] /Users/tomi/Documents/Programming/Github/mantra-sample-blog-app

The only way to develop to Galaxy is to delete the dev-dependency modules and use only the application one as those do not use binary modules. What do you reckon is the best way to deal with that?

One idea would be to use Docker and deploy to Galaxy from docker.
Another would be to keep two versions of node modules and during deployment substitute them.

Both of these solutions seem to me quite heavy ... do you have any better idea?

@tomitrescak
Copy link
Author

It seems that the culprit is @kadira/storybook which installs these modules. Maybe it should not be a part of the application bu run from a parent directory?

@tomitrescak
Copy link
Author

@arunoda does this even have a solution? It's the fsevents component that is acting up:( exon in Webpack handled this just not sure how.

@arunoda
Copy link
Contributor

arunoda commented Apr 19, 2016

@tomitrescak Try using the latest Meteor 1.3.2.
It seems this issue is fixed in that.

@tomitrescak
Copy link
Author

Yea, when I heard about the binary modules in 1.3.2, made my hear sing;) I'll test it soon and post back

@arunoda
Copy link
Contributor

arunoda commented Apr 19, 2016

No that's not the case. This issue is fixed in the latest Meteor version. It's not related to binary NPM modules.

But, Meteor bundles all the NPM modules here. So, it's better move all devDependecies to the top level.

@arunoda
Copy link
Contributor

arunoda commented Apr 19, 2016

@tomitrescak here's the related issue: meteor/meteor#6836

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants