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

Problem running inside Docker container #76

Closed
alansikora opened this issue Feb 7, 2017 · 3 comments
Closed

Problem running inside Docker container #76

alansikora opened this issue Feb 7, 2017 · 3 comments

Comments

@alansikora
Copy link

alansikora commented Feb 7, 2017

So, I have a project that uses seneca and seneca-mesh, and I'm having this issue:

Message: seneca: use-plugin: Could not load plugin mesh defined in seneca-mesh due to error: /usr/src/uPayment-api/node_modules/msgpack/build/Release/msgpackBinding.node: invalid ELF header.

I understand that an invalid ELF usually means it was built on a different platform, but in this case, I do build inside the container. I even tried cloning during build process and building from sources, no luck.

I also created an issue here: pgriess/node-msgpack#72

Any guesses?

@alansikora
Copy link
Author

So, my mistake. .dockerignore was not correctly set up and was sending one node_modules folder inside... Sorry.

@chippawah
Copy link

@alansikora Can you explain what you mean by this? I'm running into the same issue as well.

@chippawah
Copy link

nodezoo/nodezoo-workshop#58 Found the solution here. Indeed the containers need to build their own node_modules for mesh to run in docker.

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