Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error - Installing mariasql package using npm - node.js

I am trying to connect Node.js with MariaDB. Its throwing error while installing the mariasql package using npm.

 npm install mariasql

Error

TRACKER : error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. [C:\Users\xyz\Desktop\rtrt\am2\node_modules\mariasql\build\deps\libmariadbclient\zlib\zlib.vcxproj]

Note:

Windows 7

Node.js - 0.10.24

like image 728
HomeWork Avatar asked Jul 10 '26 18:07

HomeWork


1 Answers

You will need Visual C++ (not sure which version) to download and build this module. Infact, for most npm modules which aren't pure JS modules, it is recommended to use a linux machine for development and deployment, since most of those modules are written to be built on linux build tools, and work as expected in the linux environment.

like image 161
Munim Avatar answered Jul 13 '26 10:07

Munim