Entry module not found: Error: Can't resolve 'prerender-loader'
See original GitHub issueHey there! So this is probably something I’m doing wrong but I’d appreciate any help.
This is what I have in my plugins
section
...routes.map(url =>
new HtmlWebpackPlugin({
filename: `${paths.clientPublic}${url}index.html`,
template: `!!prerender-loader?string!${paths.clientHtml}`,
})
),
This is the error I am getting
Error: Child compilation failed:
Entry module not found: Error: Can't resolve 'prerender-loader' in '/Users/jace/...':
Error: Can't resolve 'prerender-loader' in '/Users/jace/...'
I have installed via yarn add --dev https://github.com/havenchyk/prerender-loader#47a6ec31715930a17ed5eca8d4637f0d57707ed5
(because I need the multiple entry support)
Any help would be great, thank you!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:8
Top Results From Across the Web
Error in Entry module not found and in webpack
I've tried this solution, but reinstalling babel-loader 7 did not solve my problem. I've also tried to re-intall the entire webpack-module, but ...
Read more >prerender-loader
prerender -loader renders your web application within Webpack during builds, producing static HTML. When the loader is applied to an HTML ...
Read more >Server-Side Rendering
Server-Side Rendering (SSR) is a technique that allows you to serve an initial payload with HTML, JavaScript, CSS, and even application state.
Read more >the request of a dependency is an expression nextjs - ...
wait - compiling... warn - ./node_modules/@aws-sdk/util-user-agent-node/dist-cjs/is-crt-available.js Module not found: Can't resolve 'aws-crt' in ...
Read more >Server-side rendering (SSR) with Angular Universal
To create the server-side application module, app.server.module.ts , run the following CLI ... and returns a 404 - NOT FOUND error if 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
I am facing the same issue and unable to fix it. Any progress on this? PS: I am getting
Error: Plugin 'jsx' not found
when I doyarn build
insidenode_modules/prerender-loader
Yes, after I do
yarn && yarn build
withinnode_nodules/prerender-loader/dist