-
Notifications
You must be signed in to change notification settings - Fork 304
Can't resolve 'module' in 'node_modules/natives' #213
Comments
this same issues is happening for node 10. For some reason, i'm seeing this as dependency output when i run
I'm really not sure why I just tried a fresh cat package-lock.json
{
"name": "test-npm",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"aws-sdk": {
"version": "2.0.31",
"resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.0.31.tgz",
"integrity": "sha1-5yzx/caQFb2f0r3z07iMFlB9Jo4=",
"requires": {
"xml2js": "0.2.6",
"xmlbuilder": "0.4.2"
}
},
"fd-slicer": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.0.1.tgz",
"integrity": "sha1-i1vL2ewyfFBBv5qwI/1nUPEXfmU=",
"requires": {
"pend": "~1.2.0"
}
},
"findit2": {
"version": "2.2.3",
"resolved": "https://registry.npmjs.org/findit2/-/findit2-2.2.3.tgz",
"integrity": "sha1-WKRmaX34piBc39vzlVNri9d3pfY="
},
"graceful-fs": {
"version": "3.0.11",
"resolved": "http://registry.npmjs.org/graceful-fs/-/graceful-fs-3.0.11.tgz",
"integrity": "sha1-dhPHeKGv6mLyXGMKCG1/Osu92Bg=",
"requires": {
"natives": "^1.1.0"
}
},
"mime": {
"version": "1.2.11",
"resolved": "http://registry.npmjs.org/mime/-/mime-1.2.11.tgz",
"integrity": "sha1-WCA+7Ybjpe8XrtK32evUfwpg3RA="
},
"minimist": {
"version": "0.0.8",
"resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0="
},
"mkdirp": {
"version": "0.5.1",
"resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
"integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
"requires": {
"minimist": "0.0.8"
}
},
"natives": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/natives/-/natives-1.1.6.tgz",
"integrity": "sha512-6+TDFewD4yxY14ptjKaS63GVdtKiES1pTPyxn9Jb0rBqPMZ7VcCiooEhPNsr+mqHtMGxa/5c/HhcC4uPEUw/nA=="
},
"pend": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
"integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA="
},
"rimraf": {
"version": "2.2.8",
"resolved": "http://registry.npmjs.org/rimraf/-/rimraf-2.2.8.tgz",
"integrity": "sha1-5Dm+Kq7jJzIZUnMPmaiSnk/FBYI="
},
"s3": {
"version": "4.4.0",
"resolved": "http://registry.npmjs.org/s3/-/s3-4.4.0.tgz",
"integrity": "sha1-VqT3dVFae2ucjlxrGrUfkDdmnx8=",
"requires": {
"aws-sdk": "~2.0.31",
"fd-slicer": "~1.0.0",
"findit2": "~2.2.3",
"graceful-fs": "~3.0.5",
"mime": "~1.2.11",
"mkdirp": "~0.5.0",
"pend": "~1.2.0",
"rimraf": "~2.2.8",
"streamsink": "~1.2.0"
}
},
"sax": {
"version": "0.4.2",
"resolved": "http://registry.npmjs.org/sax/-/sax-0.4.2.tgz",
"integrity": "sha1-OfO2AXM9a+yXEFskKipA/Wl4rDw="
},
"streamsink": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/streamsink/-/streamsink-1.2.0.tgz",
"integrity": "sha1-76/unx4i01ke1949yqlcP1559zw="
},
"xml2js": {
"version": "0.2.6",
"resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.2.6.tgz",
"integrity": "sha1-0gnE5N2h/JxFIUHvQcB39a399sQ=",
"requires": {
"sax": "0.4.2"
}
},
"xmlbuilder": {
"version": "0.4.2",
"resolved": "http://registry.npmjs.org/xmlbuilder/-/xmlbuilder-0.4.2.tgz",
"integrity": "sha1-F3bWXz/brUcKCNhgTN6xxOVA/4M="
}
}
} As you can see, "s3": {
"version": "4.4.0",
"resolved": "http://registry.npmjs.org/s3/-/s3-4.4.0.tgz",
"integrity": "sha1-VqT3dVFae2ucjlxrGrUfkDdmnx8=",
"requires": {
"aws-sdk": "~2.0.31",
"fd-slicer": "~1.0.0",
"findit2": "~2.2.3",
"graceful-fs": "~3.0.5",
"mime": "~1.2.11",
"mkdirp": "~0.5.0",
"pend": "~1.2.0",
"rimraf": "~2.2.8",
"streamsink": "~1.2.0"
}
}, if you download the This is also the case if you download the latest 4.4.0 tag from this repo, I still see It doesn't seem like this package has actually been published since February 15, 2015. The change to upgrade can someone please publish a new version of this package to get these fixes/updates into new npm version? |
if you're using "resolutions": {
"graceful-fs": "4.1.15"
} and everything seems to work. It does not seem like |
another solution, if you can, is to use the |
same here.. |
i don't use yarn, is there any chances a new minor release with fixed graceful-fs version? |
I got this error while importing s3 npm in React js project.
Error Message
Module not found: Can't resolve 'module' in 'proj_path/node_modules/natives'
The text was updated successfully, but these errors were encountered: