create-react-app app
Creating a new React app in E:\学习\新建文件夹\app.
Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts with cra-template...
npm ERR! code 1
npm ERR! path E:\学习\新建文件夹\app\node_modules\fibers
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! 在此解决方案中一次生成一个项目。若要启用并行生成,请添加“/m”开关。
npm ERR! fibers.cc
npm ERR! e:\学习\新建文件夹\app\node_modules\fibers\src\coroutine.h(1): fatal error C1083: 无法打开包括文件: “node.h”: No such file or directory [E:\学习\新建文件夹\app\node_modules\fibers\build\fibers.vcxproj]
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe
failed with exit code: 1
npm ERR! gyp ERR! stack at ChildProcess.onExit (E:\学习\新建文件夹\app\node_modules\node-gyp\lib\build.js:194:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (events.js:315:20)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
npm ERR! gyp ERR! System Windows_NT 10.0.18363
npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "E:\学习\新建文件夹\app\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd E:\学习\新建文件夹\app\node_modules\fibers
npm ERR! gyp ERR! node -v v14.16.1
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! not ok