Error in node_modules
See original GitHub issue`ERROR in ./node_modules/react-pdf-js/lib/Pdf.js 02/02/2018 15:00:49Module not found: Error: Can’t resolve ‘pdfjs-dist/build/pdf.combined’ in ‘/app/node_modules/react-pdf-js/lib’ 02/02/2018 15:00:49 @ ./node_modules/react-pdf-js/lib/Pdf.js 49:0-40 02/02/2018 15:00:49 @ ./node_modules/react-pdf-js/lib/index.js 02/02/2018 15:00:49 @ ./src/components/serviceHistory/index.js 02/02/2018 15:00:49 @ ./src/containers/adverts/index.js 02/02/2018 15:00:49 @ ./src/containers/main/index.js 02/02/2018 15:00:49 @ ./src/index.js 02/02/2018 15:00:49 @ multi ./src/index.js
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:14 (3 by maintainers)
Top Results From Across the Web
Typescript build getting errors from node_modules folder
I am running a typescript build and getting errors in node_modules. Why isn't it ignoring this folder? I have it in the exclude...
Read more >Getting [TS] errors for files inside the node_modules folder
I'm getting the following errors from files in nodes_modules. Does it have to do with my tsconfig.json?
Read more >Typescript standalone project shows errors in node_modules ...
After installing a new Visual Studio 2022 visual studio shows errors in scripts in node_modules directory. I still can compile and run the...
Read more >Common TypeScript module problems and how to solve them
Problem 1: Irregular location of dependencies ; node_modules in the ; src directory even though ; node_modules is located outside the ; src ......
Read more >Disable type checking for node_modules in TypeScript
If the errors are not resolved, make sure that the exclude array in your tsconfig.json file contains the path to your node_modules directory....
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 had this problem too, building v3.0.6 with the previously used version of pdfjs-dist works (2.0.203). I’m guessing there is some problem with that.
@mikecousins We should indeed get rid of the
pdf.combined
🙂 Since the provided polyfills won’t be included anymore, that would be a major version bump.