Skip to content

Troubleshooting

Jordan Papaleo edited this page Jun 5, 2015 · 1 revision

npm run develop error from jsdom and contextify

Problem

npm run develop

When starting your project from your terminal, the following error can occur if you are using a node/iojs version that is not compatible with the jsdom dependency:

Error

/framework/node_modules/jsdom/node_modules/contextify/node_modules/bindings/bindings.js:83
        throw e
              ^
Error: Module did not self-register.
    at Error (native)
    at Module.load (module.js:351:32)
    at Function.Module._load (module.js:306:12)
    at Module.require (module.js:361:17)
    at require (module.js:380:17)
    at bindings (/framework/node_modules/jsdom/node_modules/contextify/node_modules/bindings/bindings.js:76:44)
    at Object.<anonymous> (/framework/node_modules/jsdom/node_modules/contextify/lib/contextify.js:1:96)
    at Module._compile (module.js:426:26)
    at Object.Module._extensions..js (module.js:444:10)
    at Module.load (module.js:351:32)
5 Jun 10:06:44 - [nodemon] app crashed - waiting for file changes before starting...
2442356 bytes written to local/workspace/build/best.bundle.js (1.57 seconds)
Timed out waiting for server to start. Run `killall node` and try again.
^C5 Jun 10:08:53 - [nodemon] exiting

Solution

Reinstall jsdom and contextify in you terminal for your project then restart your project.

npm install jsdom contextify
npm run develop
Clone this wiki locally