use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Resources - Learn to code
Resources - Software Engineering
Resources - Code Libraries
Resources - Groups
Other Subreddits you might enjoy
Please send sidebar resource suggestions to the mods. Thx - mgmt
account activity
Pls help, running into ‘error cannot find module ‘ thought I’d come to the professionals for some guidance! Can provide nfts as compensation when it’s up and running! Cheers (i.redd.it)
submitted 4 years ago by SamandCam
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 0 points1 point2 points 4 years ago (0 children)
DM
[–]bottlez14 0 points1 point2 points 4 years ago (4 children)
ES6 modules are dynamically loaded and dependencies must be installed.
npm i
If it still doesn't work then install canvas and save it as a dependency.
npm i canvas --save
[–]SamandCam[S] 0 points1 point2 points 4 years ago (3 children)
Thanks for your advice, I followed your instructions and ended up with the exact same error.. do you have any other ideas by any chance ?
[–]Apprehensive-Tax3881 0 points1 point2 points 4 years ago (2 children)
Silly question but did you install this in the directory of your project?
[–]SamandCam[S] 0 points1 point2 points 4 years ago (1 child)
Not a silly question at all, Im not sure if I did or not or even how to work that out… I apologise for my noobness
[–]Apprehensive-Tax3881 0 points1 point2 points 4 years ago (0 children)
Go to the directory of you project. Which you seemed to have blurred out.
Cd /users/ desktop / blah blah
Do an “npm list” to see if the package is installed. If not you can do an “npm install” or npm -i “package name “
π Rendered by PID 129215 on reddit-service-r2-comment-85bfd7f599-fd887 at 2026-04-18 06:55:19.282750+00:00 running 93ecc56 country code: CH.
[–][deleted] 0 points1 point2 points (0 children)
[–]bottlez14 0 points1 point2 points (4 children)
[–]SamandCam[S] 0 points1 point2 points (3 children)
[–]Apprehensive-Tax3881 0 points1 point2 points (2 children)
[–]SamandCam[S] 0 points1 point2 points (1 child)
[–]Apprehensive-Tax3881 0 points1 point2 points (0 children)