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.

Cannot find module './models/Screenshot'

See original GitHub issue

Hi, 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:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
king0429commented, Feb 11, 2022

Hi @king0429 👋

Ok, I’ll try to reproduce it with a fresh Typescript project 👍

i’ll tey later. by the way, this package is very useful in my project, thanks so much!! 谢谢

1reaction
survfatecommented, Feb 12, 2022

It was released in v3.2.3 🚀

Can someone confirm it is fixed (@survfate, @king0429 or @bartuchavezc) ?

working great for me now, appreciate the efforts

Read more comments on GitHub >

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

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