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

npm start throws (invalid ELF header?) #1

Open
serapath opened this issue Apr 16, 2017 · 1 comment
Open

npm start throws (invalid ELF header?) #1

serapath opened this issue Apr 16, 2017 · 1 comment

Comments

@serapath
Copy link

npm start

> [email protected] start /home/serapath/Desktop/dev/labs/PLAYGROUND/node-occ-sample
> node app

module.js:598
  return process.dlopen(module, path._makeLong(filename));
                 ^

Error: /home/serapath/Desktop/dev/labs/PLAYGROUND/node-occ-sample/node_modules/node-occ/lib/binding/occ.node: invalid ELF header
    at Object.Module._extensions..node (module.js:598:18)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/serapath/Desktop/dev/labs/PLAYGROUND/node-occ-sample/node_modules/node-occ/lib/bindings.js:4:15)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node app`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start script 'node app'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-occ-sample package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node app
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs node-occ-sample
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls node-occ-sample
npm ERR! There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/serapath/.npm/_logs/2017-04-16T18_04_34_958Z-debug.log
@serapath serapath changed the title npm start throws npm start throws (invalid ELF header?) Apr 16, 2017
@Johnly1986
Copy link

I also encountered the same problem, how to solve it?

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