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

Cannot find module '../build/Release/canvas.node' #2425

Open
KiyoEditz opened this issue Aug 27, 2024 · 1 comment
Open

Cannot find module '../build/Release/canvas.node' #2425

KiyoEditz opened this issue Aug 27, 2024 · 1 comment

Comments

@KiyoEditz
Copy link

it's error for latest and prebuild

Axioo@MyBook11G MINGW64 ~/Downloads/coding/backup/Elaina-MD2 (main)
$ node -v
v22.5.1

Axioo@MyBook11G MINGW64 /Downloads/coding/backup/Elaina-MD2 (main)
$ npm i [email protected]

npm error code ETARGET
npm error notarget No matching version found for [email protected]~.
npm error notarget In most cases you or one of your dependencies are requesting
npm error notarget a package version that doesn't exist.
npm error A complete log of this run can be found in: C:\Users\Axioo\AppData\Local\npm-cache_logs\2024-08-27T12_54_31_732Z-debug-0.log

Axioo@MyBook11G MINGW64 ~/Downloads/coding/backup/Elaina-MD2 (main)
$ npm i [email protected]
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: This package is no longer supported.

npm error code 2
npm error git dep preparation failed
npm error command C:\Program Files\nodejs\node.exe C:\Users\Axioo\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js install --force --cache=C:\Users\Axioo\AppData\Local\npm-cache --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
npm error > @xct007/[email protected] prepare
npm error > npm run build:all
npm error
npm error
npm error > @xct007/[email protected] build:all
npm error > npm run clean && npm run build:esm && npm run build:cjs && npm run build:types && npm run fix && node scripts/write-package.js
npm error
npm error
npm error > @xct007/[email protected] clean
npm error > rimraf ./dist
npm error
npm error
npm error > @xct007/[email protected] build:esm
npm error > tsc -p tsconfig.esm.json
npm error
npm error node_modules/cheerio/dist/commonjs/index.d.ts(7,1): error TS1383: Only named exports may use 'export type'.
npm error node_modules/cheerio/dist/commonjs/slim.d.ts(9,1): error TS1383: Only named exports may use 'export type'.
npm error npm warn using --force Recommended protections disabled.
npm error npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm error npm warn deprecated @humanwhocodes/[email protected]: Use @eslint/config-array instead
npm error npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm error npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm error npm warn deprecated @humanwhocodes/[email protected]: Use @eslint/object-schema instead
npm error npm warn using --force Recommended protections disabled.
npm error npm warn using --force Recommended protections disabled.
npm error npm warn using --force Recommended protections disabled.
npm error npm error code 2
npm error npm error path C:\Users\Axioo\AppData\Local\npm-cache_cacache\tmp\git-cloneXXXXXXUg6ZOs
npm error npm error command failed
npm error npm error command C:\Windows\system32\cmd.exe /d /s /c npm run build:all
npm error npm error A complete log of this run can be found in: C:\Users\Axioo\AppData\Local\npm-cache_logs\2024-08-27T12_56_00_832Z-debug-0.log
npm error A complete log of this run can be found in: C:\Users\Axioo\AppData\Local\npm-cache_logs\2024-08-27T12_54_47_673Z-debug-0.log

Axioo@MyBook11G MINGW64 ~/Downloads/coding/backup/Elaina-MD2 (main)
$

@Automattic Automattic deleted a comment from Taiga-A Aug 27, 2024
@Automattic Automattic deleted a comment from yldzmuhammed Aug 27, 2024
@Suniron
Copy link

Suniron commented Sep 14, 2024

Same error with Bun 1.1.27 on Raspberry pi 4 B+ (Raspbian 64bits)

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