weexteam / A-pack-tool-for-Apache-Weex

A pack tool for Android、iOS and H5 plartform of Weex. This tool is a third party work, and is not developed nor maintained by Apache Weex.
Apache License 2.0
611 stars 76 forks source link

install error #196

Closed HirahKong closed 6 years ago

HirahKong commented 7 years ago

4769 verbose stack Error: Error extracting /Users/haorui/.npm/weexpack-create/0.1.9/package.tgz archive: ENOENT: no such file or directory, open '/Users/haorui/.npm/weexpack-create/0.1.9/package.tgz' 4769 verbose stack at ReadStream. (/usr/local/lib/node_modules/npm/lib/fetch-package-metadata.js:309:10) 4769 verbose stack at emitOne (events.js:96:13) 4769 verbose stack at ReadStream.emit (events.js:188:7) 4769 verbose stack at /usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:190:14 4769 verbose stack at /usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:241:16 4769 verbose stack at FSReqWrap.oncomplete (fs.js:123:15) 4770 verbose cwd /Users/haorui/projects/weex-pack 4771 error Darwin 16.3.0 4772 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" 4773 error node v6.11.3 4774 error npm v3.10.10 4775 error code EREADFILE 4776 error Error extracting /Users/haorui/.npm/weexpack-create/0.1.9/package.tgz archive: ENOENT: no such file or directory, open '/Users/haorui/.npm/weexpack-create/0.1.9/package.tgz' 4777 error If you need help, you may report this error at: 4777 error https://github.com/npm/npm/issues 4778 verbose exit [ 1, true ]

n-sikka commented 7 years ago

+1 on this.. along side this error im also getting an unexpected end of file error.

fetchMetadata: sill fetchPackageMetaData error for weexpack-create@^0.1.10-beta2 unexpected end of file

plusice commented 7 years ago

try upgrading npm version to >=5.0.0?