attributes-kit icon indicating copy to clipboard operation
attributes-kit copied to clipboard

How to install for Windows7

Open YuK1Game opened this issue 7 years ago • 1 comments

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.

YuK1Game avatar Nov 27 '17 03:11 YuK1Game

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.

char0n avatar Nov 27 '17 14:11 char0n