Unable to install waterline_sqlite3 using npm - node.js

i want to install waterlin_sqlite3 on sailsjs but im unable to install it on windows can anyone suggest me to install
npm -v:5.3.0
node -v: 6.11.0
attached screen shot of error which im getting in installation

I suggest you to do:
npm install gulp -g
Then try again.
Whenever npm gives you trouble (it's gonna be often) you need to pay close attention to the output. In the screenshot you can see the error comes after "gulp" not being recognized.

Related

unable to install firebase using npm

Hi I am following a tutorial using firebase (its quite an old version) when I try to install firebase it will not install as all.
I am using npm install firebase#4.13 --save, i have also used npm install firebase#4.13 --save --force -g but get the same issue.
I have tried to clean the cache using npm cache clean --force.
below is my full error report, could someone please help with this as I really have no idea why this is happening.
Thanks
I have tried:
uninstalling node and reinstalling
cleaning the cache
different npm install statements
restarting the project again
I can provide the error report but it is 1644 lines long so it wont allow me to post it with this.

Keep encountering these errors when trying to install discordjs/opus

I am trying to create a discord music bot using Node js, in which I need to install #discordjs/opus.
Upon trying the command
npm install #discordjs/opus
I get the following error:
https://pastebin.com/HDm5FZST
I think you having trouble with build tools try
Note: first you need to install python,after that run this(admin powershell)
npm install -g windows-build-tools && npm install -g node-gyp
If it not solve your problem I would like suggest you to using opusscript or node-opus instead

node js npm package installation not completed

I try to install node js npm packages, but It start to install and unfortunately freezes. I also try to install angular packages and it doesn't any problem. please help to fix this issue.
node version is 12.13.1;
npm version is 6.12.1;
I tried to install packages this way
npm i html-to-xlsx
here is a result:
another installation result:
Try the following commands then re-run the command:
npm cache clean --force
npm cache verify
And make sure you are in a place with good internet connection. Sometimes this is the issue.
I found way to fix this issue. I add -g before package name
npm install -g html-to-xlsx
Everything looks good
After that I enter this path C:\Users{USERNAME}\AppData\Roaming\npm\node_modules and copy needful module into my working folder

NPM get prefix issues

I am having issues with the npm. (on MAC)
I installed node and npm normally, but couldn't run:
$npm install -g angular-cli
it says unhandled rejection error, EACCESS: ...
and none of the solutions I found on the web couldn't help me.
I tried to reinstall node and npm multiple times, didn't help.
Then I tried to make an ionic project through the terminal, unsuccessfully. Similar issue EACCESS: permission denied...
And now I kind of messed up something with:
$npm config get prefix and $npm config set prefix
whenever I try to run some npm command I get a bunch of lines:
Eaccess, cannot read property, etc...
Does anybody know how can I solve this?
Is there a way to completely remove nodejs and npm and then to install it from scratch.
The traditional way and using homebrew didn't help me.
Try: nvm uninstall {version of node you are using}
To get the version do: npm -version

Terminal command '--version' is showing an earlier version than what I just installed

I've been having serious issues with npm updating packages. I've changed the dependencies in my package.json's and ran npm install, I've tried deleting the global package but afterwards, when I type --version, my Command Line prints the version I just "deleted"), and I've tried installing over my current version. My command line looks like this:
I'd really love to avoid throwing my laptop through a window, but I'm getting close. Any ideas of why npm hates me?
The Firebase CLI comes from the npm package firebase-tools, not firebase. You should npm install -g firebase-tools#latest to get the latest CLI.

Resources