Comments (8)
@Samuil-end you need to either downgrade your node or upgrade the canvas dependency
from hashlips_art_engine.
how can I raise it?
from hashlips_art_engine.
@Samuil-end have a look at this thread.
from hashlips_art_engine.
PS C:\NFT\hashlips_art_engine> npm install
npm warn old lockfile
npm warn old lockfile The package-lock.json file was created with an old version of npm,
npm warn old lockfile so supplemental metadata must be fetched from the registry.
npm warn old lockfile
npm warn old lockfile This is a one-time fix-up, please be patient...
npm warn old lockfile
npm warn old lockfile Could not fetch metadata for [email protected] Error: Integrity checksum failed when using sha512: wanted sha512-gLTi17X8WY9Cf5GZ2Yns8T5lfBOcGgFehDFb+JQwDqdOoBOcECS9ZWMEAqMSVcMYwXD659J8NyzjRY/2aE+C2Q== but got sha512-ItanGBMrmRV7Py2Z+Xhs7cT+FNt5K0vPL4p9EZ/UX/Mu7hFbkxSjKF2KVtPwX7UYWp7dRKnrTvReflgrItJbdw==.
npm warn old lockfile at RegistryFetcher.manifest (C:\Users\21sam\AppData\Roaming\npm\node_modules\npm\node_modules\pacote\lib\registry.js:164:35)
npm warn old lockfile at async C:\Users\21sam\AppData\Roaming\npm\node_modules\npm\node_modules@npmcli\arborist\lib\arborist\build-ideal-tree.js:734:24 {
npm warn old lockfile code: 'EINTEGRITY'
npm warn old lockfile }
npm warn cleanup Failed to remove some directories [
npm warn cleanup [
npm warn cleanup 'C:\NFT\hashlips_art_engine\node_modules',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\NFT\hashlips_art_engine\node_modules@mapbox\node-pre-gyp'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\NFT\hashlips_art_engine\node_modules\@mapbox\node-pre-gyp'
npm warn cleanup }
npm warn cleanup ]
npm warn cleanup ]
npm error code 1
npm error path C:\NFT\hashlips_art_engine\node_modules\canvas
npm error command failed
npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild
npm error Warning: Missing input files:
npm error C:\GTK\bin\libpangocairo-1.0-0.dll
npm error C:\GTK\bin\libpango-1.0-0.dll
npm error C:\GTK\bin\libglib-2.0-0.dll
npm error C:\GTK\bin\libexpat-1.dll
npm error C:\GTK\bin\libfontconfig-1.dll
npm error C:\GTK\bin\libgobject-2.0-0.dll
npm error C:\GTK\bin\libpng14-14.dll
npm error C:\GTK\bin\libintl-8.dll
npm error C:\GTK\bin\libfreetype-6.dll
npm error C:\GTK\bin\libgmodule-2.0-0.dll
npm error C:\GTK\bin\zlib1.dll
npm error C:\GTK\bin\libpangowin32-1.0-0.dll
npm error C:\GTK\bin\libgthread-2.0-0.dll
npm error C:\GTK\bin\libpangoft2-1.0-0.dll
npm error C:\GTK\bin\libcairo-2.dll
npm error
npm error Backend.cc
npm error C:\NFT\hashlips_art_engine\node_modules\canvas\src\backend\Backend.h(3,10): error C1083: �� 㤠���� ������ 䠩� ����祭��: cairo.h: No such file or directory, [C:\NFT\hashlips_art_engine\node_modules\canvas\build\canvas.vcxproj]
npm error (��������� ��室���� 䠩�� "../src/backend/Backend.cc")
npm error gyp info it worked if it ends with ok
npm error gyp info using [email protected]
npm error gyp info using [email protected] | win32 | x64
npm error gyp info find Python using Python version 3.12.3 found at "C:\Python312\python.exe"
npm error gyp info find VS using VS2022 (17.9.34728.123) found at:
npm error gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools"
npm error gyp info find VS run with --verbose for detailed information
npm error gyp info spawn C:\Python312\python.exe
npm error gyp info spawn args [
npm error gyp info spawn args 'C:\Users\21sam\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py',
npm error gyp info spawn args 'binding.gyp',
npm error gyp info spawn args '-f',
npm error gyp info spawn args 'msvs',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\NFT\hashlips_art_engine\node_modules\canvas\build\config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\Users\21sam\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\Users\21sam\AppData\Local\node-gyp\Cache\22.1.0\include\node\common.gypi',
npm error gyp info spawn args '-Dlibrary=shared_library',
npm error gyp info spawn args '-Dvisibility=default',
npm error gyp info spawn args '-Dnode_root_dir=C:\Users\21sam\AppData\Local\node-gyp\Cache\22.1.0',
npm error gyp info spawn args '-Dnode_gyp_dir=C:\Users\21sam\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=C:\\Users\\21sam\\AppData\\Local\\node-gyp\\Cache\\22.1.0\\<(target_arch)\\node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=C:\NFT\hashlips_art_engine\node_modules\canvas',
npm error gyp info spawn args '-Dnode_engine=v8',
npm error gyp info spawn args '--depth=.',
npm error gyp info spawn args '--no-parallel',
npm error gyp info spawn args '--generator-output',
npm error gyp info spawn args 'C:\NFT\hashlips_art_engine\node_modules\canvas\build',
npm error gyp info spawn args '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\MSBuild.exe
npm error gyp info spawn args [
npm error gyp info spawn args 'build\binding.sln',
npm error gyp info spawn args '/clp:Verbosity=minimal',
npm error gyp info spawn args '/nologo',
npm error gyp info spawn args '/p:Configuration=Release;Platform=x64'
npm error gyp info spawn args ]
npm error gyp ERR! build error
npm error gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\MSBuild.exe
failed with exit code: 1
npm error gyp ERR! stack at ChildProcess. (C:\Users\21sam\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:209:23)
npm error gyp ERR! stack at ChildProcess.emit (node:events:520:28)
npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
npm error gyp ERR! System Windows_NT 10.0.26120
npm error gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\21sam\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
npm error gyp ERR! cwd C:\NFT\hashlips_art_engine\node_modules\canvas
npm error gyp ERR! node -v v22.1.0
npm error gyp ERR! node-gyp -v v10.1.0
npm error gyp ERR! not ok
npm error A complete log of this run can be found in: C:\Users\21sam\AppData\Local\npm-cache_logs\2024-05-13T17_15_49_939Z-debug-0.log
PS C:\NFT\hashlips_art_engine>
from hashlips_art_engine.
Now it's written
from hashlips_art_engine.
@Samuil-end try deleting node_modules/
.
from hashlips_art_engine.
I reinstalled the project and registered the team
I've tried it now, like you said, but it's still the same mistake.
from hashlips_art_engine.
I solved the problem by installing an old version of Nodes
from hashlips_art_engine.
Related Issues (20)
- npm run generate not working (i already tried npm install) HOT 6
- SVG Support HOT 2
- npm install canvas packages couldn't install canvas :( HOT 1
- how to fix (node:15176) UnhandledPromiseRejectionWarning: Error: ENOENT, No such file or directory ' Error? HOT 1
- I got this error what should I do? HOT 2
- sbatin
- m
- Layer info
- _metadata.json isnt being created HOT 7
- How do you remove const signImage from config.js so it doesn't appear on the picture. HOT 1
- I have a question about NFT generation HOT 2
- syntax error
- Rarity Issue on Art Engine
- discord queue bot help
- Error While Building Next.js Project
- Error: Module not found HOT 1
- Base URI; what shall I type in there?
- Any way to select rarity?
- SyntaxError: Unexpected token '<' (Ubuntu)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hashlips_art_engine.