Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

How to install for Windows7 #459

Open
YuK1Game opened this issue Nov 27, 2017 · 1 comment
Open

How to install for Windows7 #459

YuK1Game opened this issue Nov 27, 2017 · 1 comment

Comments

@YuK1Game
Copy link

git clione https://github.com/apiaryio/attributes-kit.git .
npm install

result

[email protected] prepublish \path\to\attributes
not-in-install && npm run build || :

':' は、内部コマンドまたは外部コマンド、
操作可能なプログラムまたはバッチ ファイルとして認識されていません。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prepublish: not-in-install && npm run build || :
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prepublish script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.`

How do you use colon in windows?

Thanks.

@char0n
Copy link

char0n commented Nov 27, 2017

What version of npm are you using ? It seems that prepublish script is running when you try to locally install it. As a quick workaround, temporarily remove "prepublish" from the scripts entry in package.json.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants