node-graceful-fs: Error: Cannot find module './clone.js' in 4.1.12
Error: Cannot find module './clone.js'
when requiring graceful-fs
of version 4.1.12
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 47
- Comments: 19 (2 by maintainers)
Fixed in 4.1.13, publishing presently.
Ok everyone we get it it breaks your thing because this is a core dependency of the js ecosystem. chill out and let isaac fix it please. mistakes happen
left-pad is back!
@isaacs thank you for the quick fix! @sw-yx logging what this breaks is important to scope a problem out, people don’t do this to bully. It also shows people who wandered into the thread that other people have come to the same conclusion on what happened / the source of the breaking change
@sw-yx
In your
package.json
:maybe not the best place to ask, but isn’t
package-lock.json
supposed to fix this sort of stuff? I don’t get itAlso breaks @vue/cli
This breaks
npx create-react-app
.Looks like it’s fixed in v4.1.13! Just remove the module + lock file and reinstall. Thanks @isaacs 👍
FYI
This works for yarn, but not npm
Also breaks… oh okay!