0
でエラーをインストールし、それは言う:がNPM VUE-CLIのWebPACK
platform unsupported [email protected] › [email protected] › [email protected]
› [email protected] › [email protected]^1.0.0 Package require os(darwin) not
compatible with yourplatform(win32)
[[email protected]^1.0.0] optional install error: Package require os(darwin) not
compatible with your platform(win32)
インストールは単に失敗します。どうすればこの問題を解決できますか?
"devDependencies": {
"autoprefixer": "^6.7.2",
"babel-core": "^6.22.1",
"babel-eslint": "^7.1.1",
"babel-loader": "^6.2.10",
"babel-plugin-transform-runtime": "^6.22.0",
"babel-preset-env": "^1.3.2",
"babel-preset-stage-2": "^6.22.0",
"babel-register": "^6.22.0",
"chalk": "^1.1.3",
}
これは私のpackage.jsonファイルの一部です。最も奇妙なことは、npmのインストールをやり直した後で成功したことです。
√ Installed 43 packages
√ Linked 0 latest versions
√ Run 0 scripts
√ All packages installed (used 30ms, speed 0B/s, json 0(0B), tarball 0B)
その理由は何ですか?
FSEventは唯一のApple OS用です。それについて気にしないでください。 –
node_modulesを削除して再試行しましたか?私はこれまで、他のパッケージと一緒に見たことがあります。古い依存関係が長い間存在していて、新しい依存関係を追加しようとして失敗したときです。 – tptcat