-
-
Notifications
You must be signed in to change notification settings - Fork 530
Closed
Description
Using sequelize with the latest version of node throws the following error:
Sequelize [Node: 7.0.0, CLI: 2.4.0, ORM: 3.24.6]
module.js:474
throw err;
^
Error: Cannot find module 'internal/fs'
at Function.Module._resolveFilename (module.js:472:15)
at Function.Module._load (module.js:420:25)
at Module.require (module.js:500:17)
at require (internal/module.js:20:19)
at evalmachine.<anonymous>:17:20
at Object.<anonymous> (/usr/local/lib/node_modules/sequelize-cli/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:11:1)
at Module._compile (module.js:573:32)
at Object.Module._extensions..js (module.js:582:10)
at Module.load (module.js:490:32)
at tryModuleLoad (module.js:449:12)
This seems to be related to a bad version of graceful-fs, as noted in this npm issue
Needless to say, the expected behavior was that updating the package would allow for it to work inside node7.0.0. It seems that the graceful-fs package being used by sequelize-cli needs to be updated.
Tyler-Murphy, Zaggen, idris, delveintechnolabs and arnaudbesnier
Metadata
Metadata
Assignees
Labels
No labels