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

Error: Cannot find module 'fs-promise' #39

Closed
TxHawks opened this issue Nov 29, 2016 · 7 comments
Closed

Error: Cannot find module 'fs-promise' #39

TxHawks opened this issue Nov 29, 2016 · 7 comments

Comments

@TxHawks
Copy link

TxHawks commented Nov 29, 2016

My gulpfile has a import mdcss from 'mdcss'; line in it, and throws the following error stack whenever Gulp is run:

Error: Cannot find module 'fs-promise'
    at Function.Module._resolveFilename (module.js:455:15)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/txh/test/node_modules/mdcss/index.js:2:11)
    at Module._compile (module.js:556:32)
    at Module._extensions..js (module.js:565:10)
    at Object.require.extensions.(anonymous function) [as .js] (/home/txh/test/node_modules/babel-register/lib/node.js:152:7)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/txh/test/gulpfile.babel.js:16:1)
    at Module._compile (module.js:556:32)
    at loader (/home/txh/test/node_modules/babel-register/lib/node.js:144:5)

If the above line is commented out, the error goes away.

@stephenway
Copy link
Collaborator

I'm in the process of trying to unpublish 1.5.3 because it has some breaking changes. For now roll back to 1.5.2 and it should fix your problem in the interim.
npm/npm#15061

@TxHawks
Copy link
Author

TxHawks commented Nov 30, 2016

Thanks

@iGitScor
Copy link

Hello @stephenway,

why did you not publish version 1.5.4 ?

Thanks

@stephenway
Copy link
Collaborator

Time crunched at the moment. Anyone want to do this? Someone needs to fix testing as the latest isn't stable. I'm not comfortable publishing anything until that gets resolved.

@jarodtaylor
Copy link

I'm assuming this hasn't been resolved? We have to roll back to version 1.5.2?

@iGitScor
Copy link

Not resolved yet @jarodtaylor. I did the same (rollback to 1.5.2) 😞

@stephenway
Copy link
Collaborator

Sorry guys, I just removed 1.5.3 so next time you install it won't give you something broken.

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

5 participants