我不知道这里发生了什么。希望有人可以帮助我。
这在我的Mac中效果很好。但是Windows和npm安装中的相同过程会崩溃。这就是我得到的。
编辑
到目前为止,我已经尝试了我所看到的所有内容以及Google搜索产生的每个链接。我试过的建议如下这里:
rm -rf node_modules
npm install
Run Code Online (Sandbox Code Playgroud)
没工作
以管理员身份运行它,
尝试过npm install -g
重新启动xampp服务器
关闭Windows Defender
检查了C:\ Program Files \ nodejs的PATH
除了抛出此POS Windows窗口外,我还没有做任何事情。冰雹苹果!
warn optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.17: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin
verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any
verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: win32
verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64
warn fuse@1.4.4 …Run Code Online (Sandbox Code Playgroud)