Cannot find module './models/Screenshot'
See original GitHub issueHi, today i give the next error in my proyect using version 3.2.2 and 3.2.1.
backend_1 | timestamp=2022-02-09-16:53:10-0300 app=app id=0 type=error message=Error: Cannot find module ‘./models/Screenshot’ backend_1 | timestamp=2022-02-09-16:53:10-0300 app=app id=0 type=error message=Require stack: backend_1 | timestamp=2022-02-09-16:53:10-0300 app=app id=0 type=error message=- /app/node_modules/node-html-to-image/dist/main.js
I solve it using 3.2.1 in my package.json
"node-html-to-image": "3.2.0",
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:8 (4 by maintainers)
Top Results From Across the Web
0 - Stack Overflow
this are my file's tree and when i run the above code, i get this error, Error: Cannot find module './models/campground' Require stack:...
Read more >cannot find module [Node npm Error Solved] - freeCodeCamp
you're trying to import an item from a module you don't have installed in your project directory; you're importing some things from an...
Read more >Error: Cannot find module [Solved] - Glitch Support
It sounds like your project is out of space. Run enable-pnpm and then git prune and git gc from the console. If problems...
Read more >Use Puppeteer, Node.js to generate Open Graph screenshots ...
Three ways to use Puppeteer and Node.js to screenshot web pages and generate dynamic Open Graph images for social sharing.
Read more >Cannot find module 'methods - New Relic Explorers Hub
I can see in shimmer.js file inside lib folder var Module = require('module') on line 314. But Package.json doesnot have module in dependencies....
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’ll tey later. by the way, this package is very useful in my project, thanks so much!! 谢谢
working great for me now, appreciate the efforts