Consensys / eth-lightwallet

Lightweight JS Wallet for Node and the browser
MIT License
1.46k stars 501 forks source link

Install Fail #188

Open kazaff opened 6 years ago

kazaff commented 6 years ago
> eth-lightwallet@3.0.1 build-dev D:\projects\test\eth\eth-lightwallet-master
> browserify index.js -o dist/lightwallet.js --s lightwallet -g [ babelify --presets [ es2015 react ] ]

[BABEL] Note: The code generator has deoptimised the styling of "D:/projects/test/eth/eth-lightwallet-master/node_modules/_bitcore-lib@0.15.0@bitcore-lib/node_modules/lodash/lodash.js" as it exceeds the max of "500KB".
Error: Cannot find module '../../../../_is-buffer@1.1.6@is-buffer/index.js' from 'D:\projects\test\eth\eth-lightwallet-master\node_modules\_core-util-is@1.0.2@core-util-is\lib'
    at D:\projects\test\eth\eth-lightwallet-master\node_modules\_resolve@1.1.7@resolve\lib\async.js:55:21
    at load (D:\projects\test\eth\eth-lightwallet-master\node_modules\_resolve@1.1.7@resolve\lib\async.js:69:43)
    at onex (D:\projects\test\eth\eth-lightwallet-master\node_modules\_resolve@1.1.7@resolve\lib\async.js:92:31)
    at D:\projects\test\eth\eth-lightwallet-master\node_modules\_resolve@1.1.7@resolve\lib\async.js:22:47
    at FSReqWrap.oncomplete (fs.js:152:21)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! eth-lightwallet@3.0.1 build-dev: `browserify index.js -o dist/lightwallet.js --s lightwallet -g [ babelify --presets [ es2015 react ] ]`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the eth-lightwallet@3.0.1 build-dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\youyou\.npminstall_tarball\_logs\2018-02-28T08_29_42_195Z-debug.log
× Install fail! Error: Run "C:\WINDOWS\system32\cmd.exe /d /s /c mkdir -p dist && npm run build-dev && npm run build-js" error, exit code 1
Error: Run "C:\WINDOWS\system32\cmd.exe /d /s /c mkdir -p dist && npm run build-dev && npm run build-js" error, exit code 1
    at ChildProcess.proc.on.code (C:\Users\youyou\AppData\Roaming\npm\node_modules\cnpm\node_modules\runscript\index.js:74:21)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:925:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
npminstall version: 3.3.0
npminstall args: C:\Program Files\nodejs\node.exe C:\Users\youyou\AppData\Roaming\npm\node_modules\cnpm\node_modules\npminstall\bin\install.js --china --userconfig=C:\Users\youyou\.cnpmrc --disturl=https://npm.taobao.org/mirrors/node --registry=http://registry.npm.taobao.org

can this project build on windows 10?