Y
Y
Yevhen Kravets2014-11-16 18:49:18
MySQL
Yevhen Kravets, 2014-11-16 18:49:18

How to install db-mysql package with npm?

I install, it throws an error. Tell me what to do?
C:\Users\Kravets\Documents\kurs>npm install db-mysql
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
/
> [email protected] install C:\Users\Kravets\Documents\kurs\node_modules\db-mysql
> node-waf configure build
"node-waf" is not an internal or external
command, operable program, or batch file.
> [email protected] preuninstall C:\Users\Kravets\Documents\kurs\node_modules\db-my
sql
> rm -rf build/*
npm ERR! [email protected] install: `node-waf configure build`
npm ERR! exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the db-mysql package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls db-mysql
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "db-mysql"
npm ERR! cwd C:\Users\Kravets\Documents\kurs
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\Kravets\Documents\kurs\npm-debug.log
npm ERR! not ok code 0
C:\Users\Kravets\Documents\kurs>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Timur Shemsedinov, 2014-11-16
@MarcusAurelius

This is some kind of unsupported package, the last version is 3 years ago, it seems that it is no longer compatible with the current version of npm, there is no activity in the repository. Better put this one https://www.npmjs.org/package/mysql
And I will advise my additions to it: https://www.npmjs.org/package/mysql-utilities
npm install mysql-utilities

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question