npm start fails on Chrome OS
See original GitHub issueGetting this even after running npm build start
twice.
dandvexternal@penguin:~/squoosh$ npm start
> squoosh@1.0.0 start /home/dandvexternal/squoosh
> webpack serve --host 0.0.0.0 --hot
ℹ 「wds」: Project is running at http://0.0.0.0:8080/
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: Content not from webpack is served from /home/dandvexternal/squoosh/src
ℹ 「wds」: 404s will fallback to /index.html
✖ 「wdm」: 147 modules
ERROR in Error: Child compilation failed:
Module build failed (from ./node_modules/prerender-loader/dist/prerender-loade r.js):
Error: Error: Module not found. attempted require("url")
- prerender-loader.js:198
[squoosh]/[prerender-loader]/dist/prerender-loader.js:198:35
- eval
- prerender-loader.js:206
[squoosh]/[prerender-loader]/dist/prerender-loader.js:206:37
- Error: Error: Module not found. attempted require("url")
- compiler.js:79 childCompiler.runAsChild
[squoosh]/[html-webpack-plugin]/lib/compiler.js:79:16
- Compiler.js:296 compile
[squoosh]/[webpack]/lib/Compiler.js:296:11
- Compiler.js:553 hooks.afterCompile.callAsync.err
[squoosh]/[webpack]/lib/Compiler.js:553:14
- Hook.js:154 AsyncSeriesHook.lazyCompileHook
[squoosh]/[tapable]/lib/Hook.js:154:20
- Compiler.js:550 compilation.seal.err
[squoosh]/[webpack]/lib/Compiler.js:550:30
- Hook.js:154 AsyncSeriesHook.lazyCompileHook
[squoosh]/[tapable]/lib/Hook.js:154:20
- Compilation.js:1295 hooks.optimizeAssets.callAsync.err
[squoosh]/[webpack]/lib/Compilation.js:1295:35
- Hook.js:154 AsyncSeriesHook.lazyCompileHook
[squoosh]/[tapable]/lib/Hook.js:154:20
- Compilation.js:1286 hooks.optimizeChunkAssets.callAsync.err
[squoosh]/[webpack]/lib/Compilation.js:1286:32
- next_tick.js:77 process.internalTickCallback
internal/process/next_tick.js:77:7
ℹ 「wdm」: Failed to compile.
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (1 by maintainers)
Top Results From Across the Web
How do I install NPM on a Chromebook? - Stack Overflow
How do I add the node_modules folder? I tried navigating to /lib/node_modules/npm/scripts/ (per the link) but don't have a /lib/node_modules/ ...
Read more >npm run test gives error on Chromebook · Issue #2373 - GitHub
Running npm run test on a chromebook resulted in: The CHROME_PATH environment variable must be set to a Chrome/Chromium executable no older than ......
Read more >how to install npm on chromebook? - Google Support
how to install npm on chromebook? Hello, I have installed node for Javascript but there is no way i can install npm. I...
Read more >Npm start suddenly stopped working : r/Crostini - Reddit
I used to be able to connect to my react application with localhost:3000 but suddenly I get the error localhost refuses to connect....
Read more >Troubleshooting - Puppeteer
Make sure all the necessary dependencies are installed. You can run ldd chrome | grep not on a Linux machine to check which...
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
The breaking commit was 7616d3388369b0c195efc76700ff5f3b8d7aa44b.
This works as of 2ca97ef5866f66b1baaa3655f4a66427190f732a.