-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find module 'kind-of' #4
Comments
Please be more specific. Show some code to reproduce the error and the error stack. Also, make sure to clear the npm cache and reinstall since this is usually the issue: # delete node_modules folder
$ rm -fr node_modules
# clear npm cache
$ npm cache clear
# install `merge-deep`
$ npm install merge-deep |
yeah this is definitely a caching issue. just delete |
Still get hit by this. Coming from a clean install. I've cleared all caches, removed Don't have time to look into this right now, but if I were to guess, I think it could have something to do with either different versions of For the time being, I've resorted to use another library. A shame, cause I liked how minimal this was. |
Removing nodemodules didn't solve the problem. |
Also encountered this problem with fresh bundling with webpack against |
This is the first time anyone mentioned However, no one has provided any more information (e.g. the code using |
I ran into this problem with create-react-app + yarn workspaces + typescript (TS config: "esModuleInterop": true, "allowSyntheticDefaultImports": true) I tried importing like this
... on the other hand when I used it in node.js + typescript and imprted like so
it worked fine |
Cannot find module 'kind-of'
The text was updated successfully, but these errors were encountered: