jmar777 / suspend

Callback-free control flow for Node using ES6 generators.
547 stars 22 forks source link

Error when using npm@3 #27

Open jon-hall opened 9 years ago

jon-hall commented 9 years ago

The changes in npm v3 (specifically, flattening the node_modules folder) cause the library to bomb out at a filepath-based require for the 'promise' npm package.

Error: Cannot find module '../node_modules/promise/lib/es6-extensions'
    ...
    at Object.<anonymous> (...\node_modules\suspend\lib\suspend.js:1:77)
SEAPUNK commented 9 years ago

28 has been merged; this issue can be closed now.