node-argon2: Failed to install [windows 10]
At first npm installing just hanged on. I restarted it again and then it just failed with the error below.
Before creating an issue, please be sure to:
- Checkout to the latest version, including submodules
- Try to find an isolated way to reproduce the behavior (installed for the first time)
- Fill in all the blanks in the most specific way you can
Steps to reproduce
- run
npm i -S argon2 - … if hangs on => kill the process, run second command again
- get the error
Expected behaviour
It is expected to install properly.
Actual behaviour
Throwing error:
error MSB4019: The imported project "E:\Microsoft.Cpp.Default.props" was not found.
Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Long:
Project "E:\pr\realty\node_modules\argon2\build\binding.sln" on node 1 (default targets). ValidateSolutionConfiguration: Building solution configuration "Release|x64". Project "E:\pr\realty\node_modules\argon2\build\binding.sln" (1) is building "E:\pr\realty\node_modules\argon2\build\argon2.vcxproj.metap roj" (2) on node 1 (default targets). Project "E:\pr\realty\node_modules\argon2\build\argon2.vcxproj.metaproj" (2) is building "E:\pr\realty\node_modules\argon2\build\libargon 2.vcxproj" (3) on node 1 (default targets). E:\pr\realty\node_modules\argon2\build\libargon2.vcxproj(20,3): error MSB4019: The imported project "E:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. Done Building Project "E:\pr\realty\node_modules\argon2\build\libargon2.vcxproj" (default targets) -- FAILED.Done Building Project “E:\pr\realty\node_modules\argon2\build\argon2.vcxproj.metaproj” (default targets) – FAILED.
Done Building Project “E:\pr\realty\node_modules\argon2\build\binding.sln” (default targets) – FAILED.
Build FAILED.
“E:\pr\realty\node_modules\argon2\build\binding.sln” (default target) (1) -> “E:\pr\realty\node_modules\argon2\build\argon2.vcxproj.metaproj” (default target) (2) -> “E:\pr\realty\node_modules\argon2\build\libargon2.vcxproj” (default target) (3) -> E:\pr\realty\node_modules\argon2\build\libargon2.vcxproj(20,3): error MSB4019: The imported project “E:\Microsoft.Cpp.Default.props” wa s not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
0 Warning(s) 1 Error(s)
Time Elapsed 00:00:00.92
Environment
Operating system: Windows 10 Pro
Node version: v9.4.0
Compiler version: Microsoft (R) Build Engine version 14.0.23107.0
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16 (6 by maintainers)
I ran
npm install --global --production windows-build-toolsand install argon then. It worked fine for me.