내 nodej가 최근에 손상되어 다시 설치되었습니다. 자, npm 의존성을 설치하는 동안이 오류에 직면하고 있습니다. 나는 무엇을 놓치고 있습니까?Windows에서 NPM 설치 오류가 발생했습니다.
C:\Projects\xyz>npm i
/
> [email protected] install C:\Projects\basic-vplex-sizer-ui\node_modules\bufferutil
> node-gyp rebuild
C:\Projects\basic-vplex-sizer-ui\node_modules\bufferutil>if not defined npm_config_node_gyp (node "C:\Users\ham13\AppData\Roaming\nvm\v4.4.3\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild) else (node "" rebuild)
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(57,5): error MSB8020: The build tools for v120 (Platform Toolset = 'v120') cannot be found. To build using the v120 build tools, please install v120 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [C:\Projects\basic-vplex-sizer-ui\node_modules\bufferutil\build\bufferutil.vcxproj]
나중에 참조 할 수 있도록. 오류 메시지를 복사하여 텍스트에 넣으면 같은 오류를 검색 할 때 다른 peaple이 질문을 쉽게 찾을 수 있습니다. – Squazz