Module not found: Error: Can't resolve 'crypto' in '....
See original GitHub issueIm trying to run npm run electron:local
right after npm install
.
It is showing these warnings. But application is successfully launched.
WARNING in ./node_modules/zone.js/dist/zone-mix.js
Module not found: Error: Can't resolve 'crypto' in '/home/chandu/Developer/saira-kiosk/node_modules/zone.js/dist'
WARNING in ./node_modules/zone.js/dist/zone-mix.js
Module not found: Error: Can't resolve 'fs' in '/home/chandu/Developer/saira-kiosk/node_modules/zone.js/dist'
WARNING in ./node_modules/zone.js/dist/zone-mix.js
Module not found: Error: Can't resolve 'timers' in '/home/chandu/Developer/saira-kiosk/node_modules/zone.js/dist'
NOTE: No files are changed since the cloning.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:11
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Module not found: Error: Can't resolve 'crypto' - Stack Overflow
I ran into a similar issue lately while trying to use another library (tiff.js) in a small project I was experimenting with.
Read more >Module not found: Error: Can't resolve 'crypto' [Solved]
The error "Module not found: Error: Can't resolve 'crypto'" occurs because there has been a breaking change in Webpack version 5. To solve...
Read more >Module not found: Error: Can't resolve 'crypto' #318 - GitHub
I have use CRA (create-react-app). react-scripts Version 5.0.0 Error Message: WARNING in ./node_modules/froala-editor/js/plugins.pkgd.min.js ...
Read more >Can't resolve 'crypto' in node_modules/bson/dist react
The app is running fine but I'm having a problem when I deploy the app to Netlify. I have to configure the deploy...
Read more >Module not found: Error: Can't resolve 'crypto' in '/Users/user ...
Stack Overflow for Teams – Start collaborating and sharing organizational knowledge.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
i just clone master branch, and did npm run ng:serve:web, those 3 warnings are still there did i miss something?
I tried
npm install timers
and the warning about timers is now gone. I don’t have a clue about the rest though.