c:\>npm install
npm WARN saveError ENOENT: no such file or directory, open 'c:\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'c:\package.json'
npm WARN !invalid#2 No description
npm WARN !invalid#2 No repository field.
npm WARN !invalid#2 No README data
npm WARN !invalid#2 No license field.
Can someone help me to solve this?
SOLVE
The problem solved after:
1. I start command on the wrong directory,
2. After I run a command on the right directory with npm install, I got this error
C:\Users\Zero\Downloads\VanityEth-master>npm install
> [email protected] install C:\Users\Zero\Downloads\VanityEth-master\node_modules\keccak
> npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used."
> [email protected] rebuild C:\Users\Zero\Downloads\VanityEth-master\node_modules\keccak
> node-gyp rebuild
C:\Users\Zero\Downloads\VanityEth-master\node_modules\keccak>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19)
gyp ERR! stack at PythonFinder.(C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:282:31
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:153:21)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Zero\Downloads\VanityEth-master\node_modules\keccak
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] rebuild: `node-gyp rebuild`
npm ERR! Exit status 1
npm 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.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Zero\AppData\Roaming\npm-cache\_logs\2019-06-25T11_45_00_632Z-debug.log
"Keccak bindings compilation fail. Pure JS implementation will be used."
> [email protected] install C:\Users\Zero\Downloads\VanityEth-master\node_modules\secp256k1
> npm run rebuild || echo "Secp256k1 bindings compilation fail. Pure JS implementation will be used."
> [email protected] rebuild C:\Users\Zero\Downloads\VanityEth-master\node_modules\secp256k1
> node-gyp rebuild
C:\Users\Zero\Downloads\VanityEth-master\node_modules\secp256k1>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19)
gyp ERR! stack at PythonFinder.(C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:282:31
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:153:21)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Zero\Downloads\VanityEth-master\node_modules\secp256k1
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] rebuild: `node-gyp rebuild`
npm ERR! Exit status 1
npm 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.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Zero\AppData\Roaming\npm-cache\_logs\2019-06-25T11_45_04_222Z-debug.log
"Secp256k1 bindings compilation fail. Pure JS implementation will be used."
added 93 packages from 60 contributors and audited 260 packages in 14.588s
found 0 vulnerabilities
3. Then I start to run a command npm rebuild and the results are like this
C:\Users\Zero\Downloads\VanityEth-master>npm rebuild
> [email protected] install C:\Users\Zero\Downloads\VanityEth-master\node_modules\keccak
> npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used."
> [email protected] rebuild C:\Users\Zero\Downloads\VanityEth-master\node_modules\keccak
> node-gyp rebuild
C:\Users\Zero\Downloads\VanityEth-master\node_modules\keccak>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19)
gyp ERR! stack at PythonFinder.(C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:282:31
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:153:21)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Zero\Downloads\VanityEth-master\node_modules\keccak
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] rebuild: `node-gyp rebuild`
npm ERR! Exit status 1
npm 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.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Zero\AppData\Roaming\npm-cache\_logs\2019-06-25T11_46_38_305Z-debug.log
"Keccak bindings compilation fail. Pure JS implementation will be used."
> [email protected] install C:\Users\Zero\Downloads\VanityEth-master\node_modules\secp256k1
> npm run rebuild || echo "Secp256k1 bindings compilation fail. Pure JS implementation will be used."
> [email protected] rebuild C:\Users\Zero\Downloads\VanityEth-master\node_modules\secp256k1
> node-gyp rebuild
C:\Users\Zero\Downloads\VanityEth-master\node_modules\secp256k1>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19)
gyp ERR! stack at PythonFinder.(C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:282:31
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:153:21)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Zero\Downloads\VanityEth-master\node_modules\secp256k1
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] rebuild: `node-gyp rebuild`
npm ERR! Exit status 1
npm 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.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Zero\AppData\Roaming\npm-cache\_logs\2019-06-25T11_46_41_855Z-debug.log
"Secp256k1 bindings compilation fail. Pure JS implementation will be used."
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\ethereumjs-util
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\bn.js
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\create-hash
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\cipher-base
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\inherits
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\safe-buffer
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\md5.js
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\hash-base
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\ripemd160
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\sha.js
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\ethjs-util
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\is-hex-prefixed
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\strip-hex-prefix
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\keccak
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\bindings
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\nan
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\rlp
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\secp256k1
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\bip66
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\drbg.js
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\browserify-aes
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\buffer-xor
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\evp_bytestokey
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\create-hmac
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\elliptic
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\brorand
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\hash.js
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\minimalistic-assert
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\hmac-drbg
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\minimalistic-crypto-utils
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\hh-mm-ss
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\zero-fill
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\ora
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\chalk
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\ansi-styles
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\color-convert
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\color-name
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\escape-string-regexp
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\supports-color
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\has-flag
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\cli-cursor
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\restore-cursor
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\onetime
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\mimic-fn
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\signal-exit
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\cli-spinners
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\log-symbols
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\yargs
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\camelcase
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\cliui
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\string-width
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\code-point-at
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\is-fullwidth-code-point
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\number-is-nan
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\strip-ansi
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\ansi-regex
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\wrap-ansi
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\decamelize
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\get-caller-file
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\os-locale
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\lcid
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\invert-kv
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\read-pkg-up
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\find-up
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\path-exists
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\pinkie-promise
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\pinkie
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\read-pkg
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\load-json-file
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\graceful-fs
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\parse-json
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\error-ex
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\is-arrayish
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\pify
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\strip-bom
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\is-utf8
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\normalize-package-data
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\hosted-git-info
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\is-builtin-module
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\builtin-modules
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\semver
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\validate-npm-package-license
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\spdx-correct
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\spdx-expression-parse
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\spdx-exceptions
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\spdx-license-ids
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\path-type
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\require-directory
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\require-main-filename
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\set-blocking
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\which-module
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\y18n
[email protected] C:\Users\Zero\Downloads\VanityEth-master\node_modules\yargs-parser
5. I got this results of ETH Address
{"account":{"address":"0xdead0c3b5d9064bd35fb342a4fa7a57fe9c3d318","privKey":"b0547c5d934a2ff68fba933996350c20faedeb6f9f5c99374b78c84f84a2fdab"}}