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 '../build/Release/canvas.node' #9

Open
imjamesb opened this issue Mar 3, 2018 · 1 comment
Open

Error: Cannot find module '../build/Release/canvas.node' #9

imjamesb opened this issue Mar 3, 2018 · 1 comment

Comments

@imjamesb
Copy link

imjamesb commented Mar 3, 2018

module.js:557
    throw err;
    ^

Error: Cannot find module '../build/Release/canvas.node'
    at Function.Module._resolveFilename (module.js:555:15)
    at Function.Module._load (module.js:482:25)
    at Module.require (module.js:604:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/adm/Documents/Projects/ihack2712/theteamcoders.api.v2/node_modules/canvas/lib/bindings.js:3:18)
    at Module._compile (module.js:660:30)
    at Object.Module._extensions..js (module.js:671:10)
    at Module.load (module.js:573:32)
    at tryModuleLoad (module.js:513:12)
    at Function.Module._load (module.js:505:3)
@CodeMan99
Copy link

You have provided zero information. The "canvas.node" file is native code that must be compiled on your machine before require is able to load it.

You have also filed a report on the incorrect repository. The "canvas.node" file is created by node-canvas. Open an issue there, providing the output of npm install canvas in your report.

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

2 participants