Can anyone help in understanding this error and how to resolve for a manual deployment of Meteor app? I am using node -node -v v0.10.40 on CentOS 7
node bundle/main.js
[Error: /public_html/bundle/programs/server/npm/cfs_gridfs/node_modules/mongodb/node_modules/bson/build/Release/bson.node: invalid ELF header]
js-bson: Failed to load c++ bson extension, using pure JS version
Thanks for the feedback and replies. I globally installed node-gyp on server and then on the stack overflow link found in one of the hidden comments this solution:
public_html/bundle/programs/server/npm/cfs_gridfs/ode_modules/mongodb/node_modules/bson]# make
I ran make in the bson directory and this error disappeared.
@alanning I was not seeing the fully functioning app after deploying and it does look to have still been deployed since it was showing iron router message ‘There is no route for this current URL’ but another helpful tip I read was to check console error messages too. I had to correct a publish issue by moving a users.js file from lib to server.
Hope this helps anyone with this issue for manual deployment on CentOS 7!