You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installed latest node 18 (v18.16.0, but also tested v18.1.0)
npx gatsby new xxxxx https://github.com/Vagr9K/gatsby-material-starter
Actual result
success Created starter directory layout
info Installing packages...
npm ERR! code 1
npm ERR! path /Users/keul/projects/scrivere.keul.it/node_modules/lmdb-store
npm ERR! command failed
npm ERR! command sh -c node-gyp-build
npm ERR! make: Entering directory '/Users/keul/projects/scrivere.keul.it/node_modules/lmdb-store/build'
npm ERR! CC(target) Release/obj.target/lmdb-store/dependencies/lmdb/libraries/liblmdb/midl.o
npm ERR! CC(target) Release/obj.target/lmdb-store/dependencies/lmdb/libraries/liblmdb/chacha8.o
npm ERR! CC(target) Release/obj.target/lmdb-store/dependencies/lz4/lib/lz4.o
npm ERR! CXX(target) Release/obj.target/lmdb-store/src/node-lmdb.o
npm ERR! CXX(target) Release/obj.target/lmdb-store/src/env.o
npm ERR! CXX(target) Release/obj.target/lmdb-store/src/compression.o
npm ERR! CXX(target) Release/obj.target/lmdb-store/src/ordered-binary.o
npm ERR! make: Leaving directory '/Users/keul/projects/scrivere.keul.it/node_modules/lmdb-store/build'
npm ERR! In file included from ../src/node-lmdb.cpp:24:
npm ERR! In file included from ../src/node-lmdb.h:32:
npm ERR! ../../nan/nan.h:2544:8: warning: 'SetAccessor' is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
npm ERR! tpl->SetAccessor(
npm ERR! ^
npm ERR! /Users/keul/Library/Caches/node-gyp/18.16.0/include/node/v8-template.h:837:3: note: 'SetAccessor' has been explicitly marked deprecated here
npm ERR! V8_DEPRECATED("Do signature check in accessor")
npm ERR! ^
npm ERR! /Users/keul/Library/Caches/node-gyp/18.16.0/include/node/v8config.h:460:35: note: expanded from macro 'V8_DEPRECATED'
npm ERR! # define V8_DEPRECATED(message) [[deprecated(message)]]
npm ERR! ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../src/env.cpp:25:
npm ERR! In file included from ../src/node-lmdb.h:32:
npm ERR! ../../nan/nan.h:2544:8: warning: 'SetAccessor' is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
npm ERR! tpl->SetAccessor(
npm ERR! ^
npm ERR! /Users/keul/Library/Caches/node-gyp/18.16.0/include/node/v8-template.h:837:3: note: 'SetAccessor' has been explicitly marked deprecated here
npm ERR! V8_DEPRECATED("Do signature check in accessor")
npm ERR! ^
npm ERR! /Users/keul/Library/Caches/node-gyp/18.16.0/include/node/v8config.h:460:35: note: expanded from macro 'V8_DEPRECATED'
npm ERR! # define V8_DEPRECATED(message) [[deprecated(message)]]
npm ERR! ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../src/compression.cpp:26:
npm ERR! In file included from ../src/node-lmdb.h:32:
npm ERR! ../../nan/nan.h:2544:8: warning: 'SetAccessor' is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
npm ERR! tpl->SetAccessor(
npm ERR! ^
npm ERR! /Users/keul/Library/Caches/node-gyp/18.16.0/include/node/v8-template.h:837:3: note: 'SetAccessor' has been explicitly marked deprecated here
npm ERR! V8_DEPRECATED("Do signature check in accessor")
npm ERR! ^
npm ERR! /Users/keul/Library/Caches/node-gyp/18.16.0/include/node/v8config.h:460:35: note: expanded from macro 'V8_DEPRECATED'
npm ERR! # define V8_DEPRECATED(message) [[deprecated(message)]]
npm ERR! ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../src/ordered-binary.cpp:1:
npm ERR! In file included from ../src/node-lmdb.h:32:
npm ERR! ../../nan/nan.h:2544:8: warning: 'SetAccessor' is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
npm ERR! tpl->SetAccessor(
npm ERR! ^
npm ERR! /Users/keul/Library/Caches/node-gyp/18.16.0/include/node/v8-template.h:837:3: note: 'SetAccessor' has been explicitly marked deprecated here
npm ERR! V8_DEPRECATED("Do signature check in accessor")
npm ERR! ^
npm ERR! /Users/keul/Library/Caches/node-gyp/18.16.0/include/node/v8config.h:460:35: note: expanded from macro 'V8_DEPRECATED'
npm ERR! # define V8_DEPRECATED(message) [[deprecated(message)]]
npm ERR! ^
npm ERR! ../src/ordered-binary.cpp:138:92: error: too few arguments to function call, single argument 'isolate' was not specified
npm ERR! Local<String> string = Local<String>::Cast(Local<Symbol>::Cast(jsKey)->Description());
npm ERR! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
npm ERR! /Users/keul/Library/Caches/node-gyp/18.16.0/include/node/v8-primitive.h:588:16: note: 'Description' declared here
npm ERR! Local<Value> Description(Isolate* isolate) const;
npm ERR! ^
npm ERR! 1 warning and 1 error generated.
npm ERR! make: *** [lmdb-store.target.mk:151: Release/obj.target/lmdb-store/src/ordered-binary.o] Error 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.onExit (/Users/keul/.nvm/versions/node/v18.16.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Darwin 21.6.0
npm ERR! gyp ERR! command "/Users/keul/.nvm/versions/node/v18.16.0/bin/node" "/Users/keul/.nvm/versions/node/v18.16.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /Users/keul/projects/scrivere.keul.it/node_modules/lmdb-store
npm ERR! gyp ERR! node -v v18.16.0
npm ERR! gyp ERR! node-gyp -v v9.3.1
npm ERR! gyp ERR! not ok
npm ERR! A complete log of this run can be found in:
ERROR UNKNOWN
Command failed with exit code 1: npm install --loglevel error --color always --legacy-peer-deps --no-audit
Error: Command failed with exit code 1: npm install --loglevel error --color always --legacy-peer-deps --no-audit
- error.js:60 makeError
[6a76b9237e625090]/[execa]/lib/error.js:60:11
- index.js:118 handlePromise
[6a76b9237e625090]/[execa]/index.js:118:26
- task_queues:95 processTicksAndRejections
node:internal/process/task_queues:95:5
- init-starter.js:108 install
[6a76b9237e625090]/[gatsby-cli]/lib/init-starter.js:108:7
- init-starter.js:163 clone
[6a76b9237e625090]/[gatsby-cli]/lib/init-starter.js:163:3
- init-starter.js:285 initStarter
[6a76b9237e625090]/[gatsby-cli]/lib/init-starter.js:285:5
- create-cli.js:401
[6a76b9237e625090]/[gatsby-cli]/lib/create-cli.js:401:9
Environment
Run gatsby info --clipboard in your project directory and paste the output here. Not working? You may need to update your global gatsby-cli - npm install -g gatsby-cli
Same issue. Seems to be a dependency conflict, but have tried with node 16 and 18 and 20 as well as removing some other bits and pieces to no avail. Maybe there is an issue with lmdb ? Would love a fix.
Description
Cannot install on a fresh node 18 env on macos
Steps to reproduce
npx gatsby new xxxxx https://github.com/Vagr9K/gatsby-material-starter
Actual result
Environment
Run
gatsby info --clipboard
in your project directory and paste the output here. Not working? You may need to update your global gatsby-cli -npm install -g gatsby-cli
The text was updated successfully, but these errors were encountered: