Sinon: 4.4.7 crashes in postinstall

Created on 21 Mar 2018  ·  11Comments  ·  Source: sinonjs/sinon

Error: Cannot find module '/blaaaah/node_modules/sinon/scripts/support-sinon.js'
    at Function.Module._resolveFilename (module.js:543:15)
    at Function.Module._load (module.js:470:25)
    at Function.Module.runMain (module.js:690:10)
    at startup (bootstrap_node.js:194:16)
    at bootstrap_node.js:666:3

Most helpful comment

I have fixed this in a new release [email protected], sorry for the disturbance folks!

All 11 comments

I'm seeing that too

This started failing for me as well.

Same here. No scripts in package.json under files section...

Same problem here

same here

I am looking into this

Same here for me

me too.

Yup... I think this is consistent for all users, and I believe @mroderick is looking into it, so we probably don't need any more "me too"'s here. If anything, you can always thumbs up the initial post to reduce comment noise.

Thanks for the quick response!

I have fixed this in a new release [email protected], sorry for the disturbance folks!

Was this page helpful?
0 / 5 - 0 ratings