Meteor-Files: Cannot find module 'graceful-fs'
I’m upgrading to 1.7.9 to fix #349 and get this error:
C:\Users\vubui\AppData\Local\.meteor\packages\meteor-tool\1.4.2_6\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\fibers\future.js:280
throw(ex);
^
Error: Cannot find module 'graceful-fs'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (C:\Users\vubui\AppData\Local\.meteor\packages\ostrio_files\1.7.9\npm\node_modules\fs-extra\lib\index.js:4:11)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
Exited with code: 1
Your application is crashing. Waiting for file change.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (5 by maintainers)
Commits related to this issue
- Fix #353 — committed to veliovgroup/Meteor-Files by dr-dimitru 7 years ago
- v1.7.10 - Fix #353 - Fix #338 — committed to veliovgroup/Meteor-Files by dr-dimitru 7 years ago
@abernix
I experienced weird behavior. After publishing package everything went well.
Unless I ran:
Well, then I executed:
And for some reason it updated coffeescript (application has no direct coffeescript dependency)
then I decided to check what happening in npm packages:
Then I removed
node_modues
directory inside application, and installed only required NPM packages for my application:Looks, fine, still has some NPM minor dependency issues, but runs fine. What’s weird - the
Dockerfile
disappeared from root of the app, and git showed it as removed.Anyways, now everything is fine. This info might be useful for other folks who may run into similar behavior.
Hope it will also help to @abernix and @benjamn to make meteor-tool better.