S
S
Sergey2019-08-30 11:31:05
JSON Web Token
Sergey, 2019-08-30 11:31:05

What is the cause of the npm error?

Good afternoon. When installing jwt on a node via npm, this error pops up. The rest of the modules are working fine. Do not tell me what is the problem?

> [email protected] install C:\Users\hotme\Documents\HTML\JS\auth\node_modules\node-base64
> ./install.sh

"." не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `./install.sh`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\hotme\AppData\Roaming\npm-cache\_logs\2019-08-30T08_28_19_027Z-debug.log

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Danila, 2019-08-30
@Banjamin

the problem is in the jwt-node package itself that you are using, it will not install on Windows and has been abandoned by the author for 8 years
https://github.com/mattrobenolt/jwt-node/issues/2
exit - look for a more up-to-date package

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question