Open jacwright opened 7 years ago
Yes, this is causing trouble, see here: https://github.com/npm/npm/issues/19063#issuecomment-344190239
Any package which is using graceful-fs<4.x is breaking in node 8.x Kindly update to latest version or completely remove this dep.
What's up with this issue? I'm getting this error using either node 8.11.3 or 10.13.0:
ERROR in ./node_modules/natives/index.js
Module not found: Error: Can't resolve 'module' in '/Users/<mydirectory>/node_modules/natives'
@ ./node_modules/natives/index.js 2:13-30
@ ./node_modules/s3/node_modules/graceful-fs/fs.js
@ ./node_modules/s3/node_modules/graceful-fs/graceful-fs.js
@ ./node_modules/s3/lib/index.js
@ ./src/services/Daemon.ts
@ ./src/Index.ts
ERROR in ./node_modules/natives/index.js
Module not found: Error: Can't resolve 'v8' in '/Users/<mydirectory>/node_modules/natives'
@ ./node_modules/natives/index.js 129:4-17 152:8-21
@ ./node_modules/s3/node_modules/graceful-fs/fs.js
@ ./node_modules/s3/node_modules/graceful-fs/graceful-fs.js
@ ./node_modules/s3/lib/index.js
@ ./src/services/Daemon.ts
@ ./src/Index.ts
The graceful-fs causes a crash in node v8.2.1. The module it relies on (which is the one crashing) is
natives
and states in its readme:I recommend just using the built-in
fs
module and removing this dependency.