Cloning repo and running results in "Uncaught Error: Cannot find module 'process/browser'"
See original GitHub issueOS: Windows 7 and Linux if you use yarn
Full error text:
bundle.js:2644 Uncaught Error: Cannot find module 'process/browser'
at webpackMissingModule (bundle.js:2644)
at Module../node_modules/@msgpack/msgpack/dist.es5+esm/utils/utf8.mjs (bundle.js:2644)
at __webpack_require__ (bootstrap:21)
at fn (hot module replacement:61)
at Module../node_modules/@msgpack/msgpack/dist.es5+esm/Encoder.mjs (bundle.js:1582)
at __webpack_require__ (bootstrap:21)
at fn (hot module replacement:61)
at Module../node_modules/@msgpack/msgpack/dist.es5+esm/encode.mjs (bundle.js:2231)
at __webpack_require__ (bootstrap:21)
at fn (hot module replacement:61)
webpackMissingModule | @ | bundle.js:2644
-- | -- | --
| ./node_modules/@msgpack/msgpack/dist.es5+esm/utils/utf8.mjs | @ | bundle.js:2644
| __webpack_require__ | @ | bootstrap:21
| fn | @ | hot module replacement:61
| ./node_modules/@msgpack/msgpack/dist.es5+esm/Encoder.mjs | @ | bundle.js:1582
| __webpack_require__ | @ | bootstrap:21
| fn | @ | hot module replacement:61
| ./node_modules/@msgpack/msgpack/dist.es5+esm/encode.mjs | @ | bundle.js:2231
| __webpack_require__ | @ | bootstrap:21
| fn | @ | hot module replacement:61
| ./node_modules/@msgpack/msgpack/dist.es5+esm/index.mjs | @ | bundle.js:2274
| __webpack_require__ | @ | bootstrap:21
| fn | @ | hot module replacement:61
| ./node_modules/secure-electron-store/lib/index.js | @ | index.js:1
| __webpack_require__ | @ | bootstrap:21
| fn | @ | hot module replacement:61
| ./app/src/pages/motd/motd.jsx | @ | bundle.js:7236
| __webpack_require__ | @ | bootstrap:21
| fn | @ | hot module replacement:61
| ./app/src/core/routes.jsx | @ | bundle.js:7032
| __webpack_require__ | @ | bootstrap:21
| fn | @ | hot module replacement:61
| ./app/src/core/root.jsx | @ | bundle.js:6990
| __webpack_require__ | @ | bootstrap:21
| fn | @ | hot module replacement:61
| ./app/src/index.jsx | @ | bundle.js:7085
| __webpack_require__ | @ | bootstrap:21
| (anonymous) | @ | startup:4
| (anonymous) | @ | startup:6
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
How do I resolve "Cannot find module" error using Node.js?
This happens when a first npm install has crashed for some reason (SIGINT of npm), or that the delay was too long, or...
Read more >cannot find module [Node npm Error Solved] - freeCodeCamp
you're trying to import an item from a module you don't have installed in your project directory; you're importing some things from an...
Read more >Git error - Fatal: Not a git repository and how to fix it | Datree.io
This error means you attempted to run a Git command, but weren't inside a Git repository. Make sure you've: Navigated to the right...
Read more >Changelog - Cypress Documentation
When a chromium based browser tab or process crashes, Cypress will no longer hang indefinitely but will fail the current test and move...
Read more >Troubleshooting Omnibus GitLab installation issues
PostgreSQL error FATAL: could not create shared memory segment: Cannot allocate ... It should detect that the kernel is already running with the...
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
For
yarn
users:Finally, delete package.lock.json.
But @reZach if you know what causes the issue were the page has to be reloaded before it will work that’s still a minor issue.
Closing this issue as I’m calling out the problem with yarn in this pinned issue.