Error: Cannot find module '../build/Release/canvas.node'
See original GitHub issueDescription
I’m trying to generate block-wave
wallpaper, but got the error MODULE_NOT_FOUND
To reproduce
- Clone this repo https://github.com/ng-hai/hyper-rose-pine-next
- Install package
yarn install
- Run
yarn wallpaper:dark
Screenshots
Expected behavior
The build has no error
Environment information
CLI
Please fill out the following information if you are using the command-line interface. For the web UI, you can delete this section.
- Device [e.g. iPhone6, MacBook Pro]: Mac Mini M1
- OS [e.g. iOS, macOS]: macOS
- OS version [e.g. 14.0]: 12.0 Beta (21A5506j)
- Node version [e.g. 14.4.0]: 14.17.0
themer
version [e.g. 3.3.4]: 3.3.9- Other
themer
packages and their versions [e.g.@themerdev/vscode@2.2.1
]: @themerdev/wallpaper-block-wave@4.0.3
Issue Analytics
- State:
- Created 2 years ago
- Comments:9
Top Results From Across the Web
30 - Stack Overflow
Nodejs Cannot find module '../build/Release/canvas' · Check if the module is in your node_module directory and if it is, try to require the...
Read more >Cannot find module '…/build/Release/canvas.node'
Error : Cannot find module '…/build/Release/canvas.node' how to fix this? my project name is rsg-bot. i already tried enable-pnpm.
Read more >Issue - GitHub
It seems that when building with ts-node, it is unable to find the file '../build/Release/canvas.node' for any reason. If i remove the import...
Read more >node-canvas模块有问题- CNode技术社区
我在github下载了node-canvas模块的代码,运行了自带的例子clock.js, ... Error: Cannot find module '…/build/Release/canvas' at Function.Module.
Read more >canvas - npm
node -canvas is a Cairo-backed Canvas implementation for Node.js. Installation. $ npm install canvas. By default, binaries for macOS, Linux and ...
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
(BTW, hyper-rose-pine-next is gorgeous 🤩)
Thanks for the report, @ng-hai , taking a look now.