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 'respond.js'

See original GitHub issue

I don’t know if it’s a issue related with encore or webpack,I am new to both.

this error occurs after I add

    .addEntry('for-ie', 'respond.js')

to webpack.config.js

there is no problem when I add some other other libs like html5shiv.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
weaverryancommented, Jun 25, 2017

It looks like Respond.js doesn’t advertise their main script properly: https://github.com/scottjehl/Respond/pull/360

Try this instead:

    .addEntry('for-ie', 'respond.js/dest/respond.src.js')
``

This will look in the `node_modules/respond.js` directory, and then look for the `dest/response.src.js` file.
0reactions
weaverryancommented, Jun 25, 2017

I’ve just added a FAQ about this: https://github.com/symfony/symfony-docs/pull/8084

Cheers!

Read more comments on GitHub >

github_iconTop Results From Across the Web

72 - Stack Overflow
I had a similar error and was able to resolve it with the command webpack src/index.js -o dist/bundle.js the -o did the trick....
Read more >
webpack/webpack - Gitter
Hi everyone, I have an angular 1 app which I just added the module "angular-material". When I try to use the material module,...
Read more >
A mostly complete guide to webpack 5 (2020)
ERROR in Entry module not found: Error: Can't resolve './src'. Here webpack is looking for the default entry point, src/index.js .
Read more >
cannot find module [Node npm Error Solved] - freeCodeCamp
To fix the error, you need to install the package that is absent in your project directory – npm install package-name or yarn...
Read more >
Issues with fs resolution Can't resolve '@emotion ... - ADocLib
Webpack 4 : ERROR in Entry module not found: Error: Can't resolve './src'. Solution: Resolved. Spent a lot of time to find out...
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