Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'.' is not recognised as an internal or external command #11

Closed
besiwims opened this issue Nov 9, 2020 · 2 comments
Closed

'.' is not recognised as an internal or external command #11

besiwims opened this issue Nov 9, 2020 · 2 comments

Comments

@besiwims
Copy link

besiwims commented Nov 9, 2020

I tried installing ethnode as an alternative to ganache on a 32bit windows OS but it did not finish installing. I have pasted details below:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Tobb>npm install -g ethereumjs-testrpc
npm WARN deprecated [email protected]: ethereumjs-testrpc has been rename
d to ganache-cli, please use this package from now on.
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade
to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and coul
d be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprec
ated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#dep
recated
C:\Users\Tobb\AppData\Roaming\npm\testrpc -> C:\Users\Tobb\AppData\Roaming\npm\n
ode_modules\ethereumjs-testrpc\build\cli.node.js

> [email protected] postinstall C:\Users\Tobb\AppData\Roaming\npm\no
de_modules\ethereumjs-testrpc\node_modules\uglifyjs-webpack-plugin
> node lib/post_install.js

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules\et
hereumjs-testrpc\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@
2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"
})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\et
hereumjs-testrpc\node_modules\watchpack-chokidar2\node_modules\chokidar\node_mod
ules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@
1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32
"})

+ [email protected]
added 369 packages from 292 contributors in 177.79s

C:\Users\Tobb>testrpc -m "small failure organs crooks zero delivery fired extrem
e lost twenty alpha terror"
EthereumJS TestRPC v6.0.3 (ganache-core: 2.0.2)

Available Accounts
==================
(0) 0x5386d64023dde8e391f8bce92b5cd5bff31413ef
(1) 0x10372ec71a29a5fe011ca0eb154f36ee27bbbc61
(2) 0xb3dab625941bb8be74a00540ec8f94aa064ea42c
(3) 0x78de65ea4abd9b0279389f46ea3cccb02040abc4
(4) 0xd01781777d483489437bd3181081be3b6e70094b
(5) 0xc639073c8f9500c53e4fb66f3103b654a68ec795
(6) 0x99a8bb5d8c5283bbce5ea08b2a2b77b6b4e30ce0
(7) 0xb14bab716b4f31f0fae4af3ddf0e1dbef18d3321
(8) 0x773dd52b3cb53d5422f570354ddef1bae2cca90e
(9) 0xc876c21cb85c0d2551f9e056a1a6475972fb6620

Private Keys
==================
(0) a83053ca6a972fd9b26848c7e0e08e17ade242d273b40c6267ffffb8fbf7d77b
(1) 8d9764791b2b94f0421d6e6d889b745a91f73b49922d90ab8432c359e4bbdd3e
(2) e692f72fb0c289db6b04b38669a784e3181f327f71cea652206b39de3855c629
(3) 9295308912887732ed6e29fe529f0e191aaeacb9434976b532bcb1bf82d8cf5b
(4) d054a284751de6629b2541bab44368314a19d3a86295bd35def91b953a1849d4
(5) 5c1954b882613240fba090ea4bee4b52e2a73ecb4f230475a294492a9479674f
(6) ee49fb7e19d57326f19e8aaaae9aee5b19b52dfded3e729552f41c4119d1c819
(7) cbb767bb3220ea0144e6c310b2759b9c2e8a034d134c3a540f976a7a43110d48
(8) 1e0310fa6f19e93f20815875ccda17b445db4ea361e7e8b4dd9c819696656764
(9) 10cefc7e0278dc75c353c2274d0a5ce35d2d798b2e73a00ca2a1f6ee9e38a92b

HD Wallet
==================
Mnemonic:      small failure organs crooks zero delivery fired extreme lost twen
ty alpha terror
Base HD Path:  m/44'/60'/0'/0/{account_index}

Listening on localhost:8545

C:\Users\Tobb>

C:\Users\Tobb>

C:\Users\Tobb>npm install -g ethnode
C:\Users\Tobb\AppData\Roaming\npm\ethnode -> C:\Users\Tobb\AppData\Roaming\npm\n
ode_modules\ethnode\cli.js

> [email protected] postinstall C:\Users\Tobb\AppData\Roaming\npm\node_modules\ethn
ode
> ./cli.js -d

'.' is not recognized as an internal or external command,
operable program or batch file.
npm WARN rollback Rolling back @ethersproject/[email protected] failed (this is probably
 harmless): EPERM: operation not permitted, lstat 'C:\Users\Tobb\AppData\Roaming
\npm\node_modules\ethnode\node_modules\@ethersproject'
npm WARN [email protected] requires a peer of bufferutil@^4.0.1 but none is installed. Yo
u must install peer dependencies yourself.
npm WARN [email protected] requires a peer of utf-8-validate@^5.0.2 but none is installed
. You must install peer dependencies yourself.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `./cli.js -d`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Tobb\AppData\Roaming\npm-cache\_logs\2020-11-09T04_25_45_4
81Z-debug.log

C:\Users\Tobb>

Ganache does not support 32bit OS and if ethnode will support it then that will be nice.

You help is greatly appreciated.

@vrde
Copy link
Owner

vrde commented Nov 11, 2020

Hi @besiwims, thanks for taking time creating this issue. I've tested ethnode on GNU/Linux and Mac and it works properly. Windows is not supported at the moment. I created #12 to track this issue. I don't have much time to work on this at the moment, so feel free to take it over if you wish.

If you run Windows 10, you can install a GNU/Linux subsystem, and run ethnode from there.

Ganache does not support 32bit OS and if ethnode will support it then that will be nice.

ethnode wraps geth, as far as I can see geth runs on windows, so ethnode should work as well.

@vrde
Copy link
Owner

vrde commented Aug 24, 2021

I'll close this for now, feel free to reopen it if you need to :)

@vrde vrde closed this as completed Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants