Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot find module 'C:\Windows\hashlips_art_engine-main/node_modules/canvas' #162

Open
chek4lovv opened this issue Mar 4, 2022 · 4 comments

Comments

@chek4lovv
Copy link

please, help!! When i run node index.js i get this error

[email protected] build
node index.js

node:internal/modules/cjs/loader:936
throw err;
^

Error: Cannot find module 'C:\Windows\hashlips_art_engine-main/node_modules/canvas'
Require stack:

  • C:\Windows\hashlips_art_engine-main\src\main.js
  • C:\Windows\hashlips_art_engine-main\index.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object. (C:\Windows\hashlips_art_engine-main\src\main.js:5:37)
    at Module._compile (node:internal/modules/cjs/loader:1103:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    'C:\Windows\hashlips_art_engine-main\src\main.js',
    'C:\Windows\hashlips_art_engine-main\index.js'
    ]
    }

i installed npm, but thus error appears again

@CryptoniteMining
Copy link

Any fix? Im having this issue

@elakhdarayoub
Copy link

me too

@CRTOsp3ck
Copy link

me too....

@imsdjeb
Copy link

imsdjeb commented Sep 11, 2022

@elakhdarayoub @CRTOsp3ck @CryptoniteMining @chek4lovv
This issue is related to your node version, knowing that the project is not maintained since almost 1 year.
You should install Node v16.6.1 & the project will work correctly ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants