-
Notifications
You must be signed in to change notification settings - Fork 4
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
Installation fails #1
Comments
Hi! Right now I can’t help you, but I will try to sit today for this issue,
and I will let you know
W dniu pon., 21.10.2024 o 07:44 Dmitriy Salynin ***@***.***>
napisał(a):
… When running npm install I'm gettin this errors:
`npm warn deprecated ***@***.***: 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 @***@***.***: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
npm warn deprecated ***@***.***: Glob versions prior to v9 are no longer supported
npm warn deprecated @***@***.***: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
npm warn deprecated ***@***.***: You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
npm warn deprecated
npm warn deprecated (For a CapTP with native promises, see @endo/eventual-send and @endo/captp)
npm warn deprecated ***@***.***: react-beautiful-dnd is now deprecated. Context and options: atlassian/react-beautiful-dnd#2672
npm error code 1
npm error path /Users/dimsal/astro/projects/blogs/astro-tina-cloudinary-starter/node_modules/better-sqlite3
npm error command failed
npm error command sh -c prebuild-install || node-gyp rebuild --release
npm error TOUCH ba23eeee118cd63e16015df367567cb043fed872.intermediate
npm error ACTION deps_sqlite3_gyp_locate_sqlite3_target_copy_builtin_sqlite3 ba23eeee118cd63e16015df367567cb043fed872.intermediate
npm error TOUCH Release/obj.target/deps/locate_sqlite3.stamp
npm error CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o
npm error LIBTOOL-STATIC Release/sqlite3.a
npm error CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o
npm error rm ba23eeee118cd63e16015df367567cb043fed872.intermediate
npm error prebuild-install warn install No prebuilt binaries found (target=22.9.0 runtime=node arch=arm64 libc= platform=darwin)
npm error gyp info it worked if it ends with ok
npm error gyp info using ***@***.***
npm error gyp info using ***@***.*** | darwin | arm64
npm error gyp info find Python using Python version 3.13.0 found at ***@***.***/bin/python3.13"
npm error gyp info spawn ***@***.***/bin/python3.13
npm error gyp info spawn args [
npm error gyp info spawn args '/opt/homebrew/lib/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 'make',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/Users/dimsal/astro/projects/blogs/astro-tina-cloudinary-starter/node_modules/better-sqlite3/build/config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/Users/dimsal/Library/Caches/node-gyp/22.9.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=/Users/dimsal/Library/Caches/node-gyp/22.9.0',
npm error gyp info spawn args '-Dnode_gyp_dir=/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=/Users/dimsal/Library/Caches/node-gyp/22.9.0/<(target_arch)/node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=/Users/dimsal/astro/projects/blogs/astro-tina-cloudinary-starter/node_modules/better-sqlite3',
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 'build',
npm error gyp info spawn args '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error gyp info spawn make
npm error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm error ./src/util/macros.lzz:150:35: error: no matching member function for call to 'SetAccessor'
npm error recv->InstanceTemplate()->SetAccessor(
npm error ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
npm error /Users/dimsal/Library/Caches/node-gyp/22.9.0/include/node/v8-template.h:1049:8: note: candidate function not viable: no known conversion from 'v8::AccessControl' to 'PropertyAttribute' for 5th argument
npm error void SetAccessor(
npm error ^
npm error /Users/dimsal/Library/Caches/node-gyp/22.9.0/include/node/v8-template.h:1055:8: note: candidate function not viable: no known conversion from 'v8::AccessorGetterCallback' (aka 'void (*)(Local, const PropertyCallbackInfo &)') to 'AccessorNameGetterCallback' (aka 'void (*)(Local, const PropertyCallbackInfo &)') for 2nd argument
npm error void SetAccessor(
npm error ^
npm error ./src/objects/database.lzz:180:21: warning: variable 'status' set but not used [-Wunused-but-set-variable]
npm error int status = sqlite3_db_config(db_handle, SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION, 1, NULL);
npm error ^
npm error 1 warning and 1 error generated.
npm error make: *** [Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1
npm error gyp ERR! build error
npm error gyp ERR! stack Error: `make` failed with exit code: 2
npm error gyp ERR! stack at ChildProcess. (/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:216:23)
npm error gyp ERR! System Darwin 22.6.0
npm error gyp ERR! command "/opt/homebrew/Cellar/node/22.9.0_1/bin/node" "/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
npm error gyp ERR! cwd /Users/dimsal/astro/projects/blogs/astro-tina-cloudinary-starter/node_modules/better-sqlite3
npm error gyp ERR! node -v v22.9.0
npm error gyp ERR! node-gyp -v v10.2.0
npm error gyp ERR! not ok`
Can you help?
—
Reply to this email directly, view it on GitHub
<#1>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJEYEQ6M6BYYWKOOSPG5TM3Z4SICBAVCNFSM6AAAAABQJK36I6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYDCMZZGYZTKOA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
HI Raj, Thank you for replying and looking into this. Will wait for your message. |
Okey, Thank you for waiting for my response.
To resolve this issue, first thing that you have to check is node version
if your node version is different, please use the same as you can see in
the project.
Next thing is to remove folder node_modules and try install it again (i
prefer doing it with yarn, but npm should also work)
if there is still error:
Frist error in code is for better-sqlite3 and react-beautiful-dnd as i can
see correctly - make sure you have all needed packages installed via npm
If this doesn't work well, can you add me to a project on github, where i
can download and test the issue? Because sometimes it is hard to say
something without a code :/
or maybe you could tell me exactly what starter you use - that will be
helpful!
Kind regards
CodexCodeThemes
pon., 21 paź 2024 o 11:47 Dmitriy Salynin ***@***.***>
napisał(a):
… HI Raj,
Thank you for replying and looking into this. Will wait for your message.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJEYEQ54PRJJ43CGGZQABLTZ4TEUJAVCNFSM6AAAAABQJK36I6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRWGE3TGNJQGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thanks. I was using Node 22..9.0, installed 20.13.0 and it worked. |
Great! Im happy it worked for you!
W dniu pon., 21.10.2024 o 19:19 Dmitriy Salynin ***@***.***>
napisał(a):
… Thanks. I was using Node 22..9.0, installed 20.13.0 and it worked.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJEYEQZZTK7JUQMXDZXQ4GTZ4UZSHAVCNFSM6AAAAABQJK36I6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRXGI4TSNJRGU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running
npm install
I'm gettin this errors:Can you help?
The text was updated successfully, but these errors were encountered: