question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Entry module not found: Error: Can't resolve 'prerender-loader'

See original GitHub issue

Hey 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:open
  • Created 5 years ago
  • Reactions:1
  • Comments:8

github_iconTop GitHub Comments

1reaction
gujral1997commented, Mar 25, 2020

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 do yarn build inside node_modules/prerender-loader

0reactions
JaceHensleycommented, Jun 6, 2018

Yes, after I do yarn && yarn build within node_nodules/prerender-loader/dist

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found