Reputation: 15
Trying to install loopback & apiconnect lead me to this error..can anyone help to clear out this
LINK : fatal error LNK1181: cannot open input file 'C:\OpenSSL-Win64\lib\libeay32.lib' [C:\Users\admin\AppData\Roaming\
npm\node_modules\apiconnect\node_modules\ursa\build\ursaNative.vcxproj]
i am installing from this path:https://loopback.io/doc/en/lb3/Installation.html
Upvotes: 0
Views: 843
Reputation: 977
OpenSSL lib names changes, I wrote up a workaround here: Can't install loopback cli
Basically you install Win64 OpenSSL and create a symlink to the new file where expected.
C:\OpenSSL-Win64\lib>mklink .\libeay32.lib "C:\Program Files\OpenSSL-Win64\lib\libcrypto.lib"
symbolic link created for .\libeay32.lib <<===>> C:\Program 'Files\OpenSSL-Win64\lib\libcrypto.lib'
After that, the package should install without error.
Upvotes: 1
Reputation: 645
Did you install compiler tools ? Please follow the instructions here
Or just skip reading and try these :
npm install --global --production windows-build-tools
Then install loopback & apiconnect
Also you can refer to this issue.
Upvotes: 0