Hi, I am trying to create my ETH address with these steps, but I got an error
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?
SOLVEThe 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
> keccak@1.4.0 install C:\Users\Zero\Downloads\VanityEth-master\node_modules\keccak
> npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used."
> keccak@1.4.0 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.<anonymous> (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! keccak@1.4.0 rebuild: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the keccak@1.4.0 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."
> secp256k1@3.5.2 install C:\Users\Zero\Downloads\VanityEth-master\node_modules\secp256k1
> npm run rebuild || echo "Secp256k1 bindings compilation fail. Pure JS implementation will be used."
> secp256k1@3.5.2 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.<anonymous> (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! secp256k1@3.5.2 rebuild: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the secp256k1@3.5.2 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
> keccak@1.4.0 install C:\Users\Zero\Downloads\VanityEth-master\node_modules\keccak
> npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used."
> keccak@1.4.0 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.<anonymous> (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! keccak@1.4.0 rebuild: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the keccak@1.4.0 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."
> secp256k1@3.5.2 install C:\Users\Zero\Downloads\VanityEth-master\node_modules\secp256k1
> npm run rebuild || echo "Secp256k1 bindings compilation fail. Pure JS implementation will be used."
> secp256k1@3.5.2 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.<anonymous> (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! secp256k1@3.5.2 rebuild: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the secp256k1@3.5.2 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."
ethereumjs-util@5.2.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\ethereumjs-util
bn.js@4.11.8 C:\Users\Zero\Downloads\VanityEth-master\node_modules\bn.js
create-hash@1.2.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\create-hash
cipher-base@1.0.4 C:\Users\Zero\Downloads\VanityEth-master\node_modules\cipher-base
inherits@2.0.3 C:\Users\Zero\Downloads\VanityEth-master\node_modules\inherits
safe-buffer@5.1.2 C:\Users\Zero\Downloads\VanityEth-master\node_modules\safe-buffer
md5.js@1.3.5 C:\Users\Zero\Downloads\VanityEth-master\node_modules\md5.js
hash-base@3.0.4 C:\Users\Zero\Downloads\VanityEth-master\node_modules\hash-base
ripemd160@2.0.2 C:\Users\Zero\Downloads\VanityEth-master\node_modules\ripemd160
sha.js@2.4.11 C:\Users\Zero\Downloads\VanityEth-master\node_modules\sha.js
ethjs-util@0.1.6 C:\Users\Zero\Downloads\VanityEth-master\node_modules\ethjs-util
is-hex-prefixed@1.0.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\is-hex-prefixed
strip-hex-prefix@1.0.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\strip-hex-prefix
keccak@1.4.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\keccak
bindings@1.3.1 C:\Users\Zero\Downloads\VanityEth-master\node_modules\bindings
nan@2.12.1 C:\Users\Zero\Downloads\VanityEth-master\node_modules\nan
rlp@2.2.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\rlp
secp256k1@3.5.2 C:\Users\Zero\Downloads\VanityEth-master\node_modules\secp256k1
bip66@1.1.5 C:\Users\Zero\Downloads\VanityEth-master\node_modules\bip66
drbg.js@1.0.1 C:\Users\Zero\Downloads\VanityEth-master\node_modules\drbg.js
browserify-aes@1.2.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\browserify-aes
buffer-xor@1.0.3 C:\Users\Zero\Downloads\VanityEth-master\node_modules\buffer-xor
evp_bytestokey@1.0.3 C:\Users\Zero\Downloads\VanityEth-master\node_modules\evp_bytestokey
create-hmac@1.1.7 C:\Users\Zero\Downloads\VanityEth-master\node_modules\create-hmac
elliptic@6.4.1 C:\Users\Zero\Downloads\VanityEth-master\node_modules\elliptic
brorand@1.1.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\brorand
hash.js@1.1.7 C:\Users\Zero\Downloads\VanityEth-master\node_modules\hash.js
minimalistic-assert@1.0.1 C:\Users\Zero\Downloads\VanityEth-master\node_modules\minimalistic-assert
hmac-drbg@1.0.1 C:\Users\Zero\Downloads\VanityEth-master\node_modules\hmac-drbg
minimalistic-crypto-utils@1.0.1 C:\Users\Zero\Downloads\VanityEth-master\node_modules\minimalistic-crypto-utils
hh-mm-ss@1.2.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\hh-mm-ss
zero-fill@2.2.3 C:\Users\Zero\Downloads\VanityEth-master\node_modules\zero-fill
ora@1.4.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\ora
chalk@2.4.1 C:\Users\Zero\Downloads\VanityEth-master\node_modules\chalk
ansi-styles@3.2.1 C:\Users\Zero\Downloads\VanityEth-master\node_modules\ansi-styles
color-convert@1.9.3 C:\Users\Zero\Downloads\VanityEth-master\node_modules\color-convert
color-name@1.1.3 C:\Users\Zero\Downloads\VanityEth-master\node_modules\color-name
escape-string-regexp@1.0.5 C:\Users\Zero\Downloads\VanityEth-master\node_modules\escape-string-regexp
supports-color@5.5.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\supports-color
has-flag@3.0.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\has-flag
cli-cursor@2.1.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\cli-cursor
restore-cursor@2.0.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\restore-cursor
onetime@2.0.1 C:\Users\Zero\Downloads\VanityEth-master\node_modules\onetime
mimic-fn@1.2.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\mimic-fn
signal-exit@3.0.2 C:\Users\Zero\Downloads\VanityEth-master\node_modules\signal-exit
cli-spinners@1.3.1 C:\Users\Zero\Downloads\VanityEth-master\node_modules\cli-spinners
log-symbols@2.2.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\log-symbols
yargs@7.1.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\yargs
camelcase@3.0.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\camelcase
cliui@3.2.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\cliui
string-width@1.0.2 C:\Users\Zero\Downloads\VanityEth-master\node_modules\string-width
code-point-at@1.1.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\code-point-at
is-fullwidth-code-point@1.0.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\is-fullwidth-code-point
number-is-nan@1.0.1 C:\Users\Zero\Downloads\VanityEth-master\node_modules\number-is-nan
strip-ansi@3.0.1 C:\Users\Zero\Downloads\VanityEth-master\node_modules\strip-ansi
ansi-regex@2.1.1 C:\Users\Zero\Downloads\VanityEth-master\node_modules\ansi-regex
wrap-ansi@2.1.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\wrap-ansi
decamelize@1.2.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\decamelize
get-caller-file@1.0.3 C:\Users\Zero\Downloads\VanityEth-master\node_modules\get-caller-file
os-locale@1.4.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\os-locale
lcid@1.0.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\lcid
invert-kv@1.0.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\invert-kv
read-pkg-up@1.0.1 C:\Users\Zero\Downloads\VanityEth-master\node_modules\read-pkg-up
find-up@1.1.2 C:\Users\Zero\Downloads\VanityEth-master\node_modules\find-up
path-exists@2.1.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\path-exists
pinkie-promise@2.0.1 C:\Users\Zero\Downloads\VanityEth-master\node_modules\pinkie-promise
pinkie@2.0.4 C:\Users\Zero\Downloads\VanityEth-master\node_modules\pinkie
read-pkg@1.1.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\read-pkg
load-json-file@1.1.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\load-json-file
graceful-fs@4.1.15 C:\Users\Zero\Downloads\VanityEth-master\node_modules\graceful-fs
parse-json@2.2.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\parse-json
error-ex@1.3.2 C:\Users\Zero\Downloads\VanityEth-master\node_modules\error-ex
is-arrayish@0.2.1 C:\Users\Zero\Downloads\VanityEth-master\node_modules\is-arrayish
pify@2.3.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\pify
strip-bom@2.0.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\strip-bom
is-utf8@0.2.1 C:\Users\Zero\Downloads\VanityEth-master\node_modules\is-utf8
normalize-package-data@2.4.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\normalize-package-data
hosted-git-info@2.7.1 C:\Users\Zero\Downloads\VanityEth-master\node_modules\hosted-git-info
is-builtin-module@1.0.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\is-builtin-module
builtin-modules@1.1.1 C:\Users\Zero\Downloads\VanityEth-master\node_modules\builtin-modules
semver@5.6.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\semver
validate-npm-package-license@3.0.4 C:\Users\Zero\Downloads\VanityEth-master\node_modules\validate-npm-package-license
spdx-correct@3.1.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\spdx-correct
spdx-expression-parse@3.0.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\spdx-expression-parse
spdx-exceptions@2.2.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\spdx-exceptions
spdx-license-ids@3.0.2 C:\Users\Zero\Downloads\VanityEth-master\node_modules\spdx-license-ids
path-type@1.1.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\path-type
require-directory@2.1.1 C:\Users\Zero\Downloads\VanityEth-master\node_modules\require-directory
require-main-filename@1.0.1 C:\Users\Zero\Downloads\VanityEth-master\node_modules\require-main-filename
set-blocking@2.0.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\set-blocking
which-module@1.0.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\which-module
y18n@3.2.1 C:\Users\Zero\Downloads\VanityEth-master\node_modules\y18n
yargs-parser@5.0.0 C:\Users\Zero\Downloads\VanityEth-master\node_modules\yargs-parser
4. Then try with command
npm install again, and it solve
5. I got this results of ETH Address
{"account":{"address":"0xdead0c3b5d9064bd35fb342a4fa7a57fe9c3d318","privKey":"b0547c5d934a2ff68fba933996350c20faedeb6f9f5c99374b78c84f84a2fdab"}}