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
In basic-wallet 0.1.0, I cannot install dependencies with the yarn.lock file held in version control. I have to follow this solution from StackOverflow, delete yarn.lock and install dependencies again.
Expected Behavior
I should be able to install dependencies without deleting yarn.lock.
Description
Error output:
warning Error running install script for optional dependency: "/Users/paulrberg/Documents/Pad/burner-wallet-2-2/basic-wallet/node_modules/eccrypto/node_modules/secp256k1: Command failed.Exit code: 1Command: npm run rebuildArguments:Directory: /Users/paulrberg/Documents/Pad/burner-wallet-2-2/basic-wallet/node_modules/eccrypto/node_modules/secp256k1Output:npm WARN lifecycle The node binary used for scripts is /var/folders/_x/nsr657154_s4z371xj0fvg8m0000gq/T/yarn--1569706375037-0.7217285150526862/node but npm is using /Users/paulrberg/.nvm/versions/node/v10.15.3/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.> [email protected] rebuild /Users/paulrberg/Documents/Pad/burner-wallet-2-2/basic-wallet/node_modules/eccrypto/node_modules/secp256k1> node-gyp rebuildmake: Entering directory '/Users/paulrberg/Documents/Pad/burner-wallet-2-2/basic-wallet/node_modules/eccrypto/node_modules/secp256k1/build' CXX(target) Release/obj.target/secp256k1/src/addon.o../src/addon.cc:14:1: error: unknown type name 'secp256k1_context'; did you mean 'secp256k1_context_t'?secp256k1_context* secp256k1ctx;^~~~~~~~~~~~~~~~~secp256k1_context_t/usr/local/include/secp256k1.h:50:41: note: 'secp256k1_context_t' declared heretypedef struct secp256k1_context_struct secp256k1_context_t; ^1 error generated.make: *** [secp256k1.target.mk:162: Release/obj.target/secp256k1/src/addon.o] Error 1make: Leaving directory '/Users/paulrberg/Documents/Pad/burner-wallet-2-2/basic-wallet/node_modules/eccrypto/node_modules/secp256k1/build'gyp ERR! build errorgyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/Users/paulrberg/.nvm/versions/node/v10.15.3/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23)gyp ERR! stack at ChildProcess.emit (events.js:189:13)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Darwin 18.7.0gyp ERR! command \"/Users/paulrberg/.nvm/versions/node/v10.15.3/bin/node\"\"/Users/paulrberg/.nvm/versions/node/v10.15.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\"\"rebuild\"gyp ERR! cwd /Users/paulrberg/Documents/Pad/burner-wallet-2-2/basic-wallet/node_modules/eccrypto/node_modules/secp256k1gyp ERR! node -v v10.15.3gyp ERR! node-gyp -v v5.0.3gyp ERR! not oknpm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! [email protected] rebuild: `node-gyp rebuild`npm ERR! Exit status 1npm ERR!npm ERR! Failed at the [email protected] rebuild script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Environment
macOS 10.14.6
node 10.15.3
yarn 1.17.3
basic-wallet 0.1.0
The text was updated successfully, but these errors were encountered:
Current Behavior
In basic-wallet 0.1.0, I cannot install dependencies with the
yarn.lock
file held in version control. I have to follow this solution from StackOverflow, deleteyarn.lock
and install dependencies again.Expected Behavior
I should be able to install dependencies without deleting
yarn.lock
.Description
Error output:
Environment
The text was updated successfully, but these errors were encountered: