obsolete-dontuse-example-webwallet icon indicating copy to clipboard operation
obsolete-dontuse-example-webwallet copied to clipboard

npm install failing

Open pkrasam opened this issue 6 years ago • 5 comments

Getting this error, when going through installation steps

Example app: Web Wallet

00:19:17 ✔ pk: ((HEAD detached at v1.0.0)) example-webwallet $ npm install
npm ERR! code MODULE_NOT_FOUND
npm ERR! Cannot find module 'node-gyp/bin/node-gyp'

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/pk/.npm/_logs/2019-07-12T14_19_32_966Z-debug.log

pkrasam avatar Jul 12 '19 14:07 pkrasam

What node/npm are you using?

node --version
npm --version

mvines avatar Jul 12 '19 14:07 mvines

@mvines thank you for jumping on this

node version: v10.15.1 npm version: 6.4.1

pkrasam avatar Jul 12 '19 21:07 pkrasam

Oh! You're on this tag? https://github.com/solana-labs/example-webwallet/releases/tag/v1.0.0 That's super out of date, can you please try the tip of the master branch instead?

mvines avatar Jul 12 '19 21:07 mvines

@mvines thanks for looking into this -- I tried few things and still getting the same error -- Not sure what I doing incorrect here ...are you able to help?

pkrasam avatar Jul 14 '19 05:07 pkrasam

Sure can you please share the full output (perhaps as a gist) from the following commands:

$ npm --version
$ node --version
$ git clone [email protected]:solana-labs/example-webwallet.git
$ cd example-webwallet/
$ npm install

mvines avatar Jul 14 '19 05:07 mvines