I'm following this tutorial to install NODE + EXPRESS and MongoDB http://cwbuecheler.com/web/tutorials/2013/node-express-mongo/
I did all the stuff asked and after CMD npm install I recive the following error:
The content of bulderror.log is here http://pastebin.com/8j9YCYZG
Node-gyp require the installation of additional dependencies.
Please note the installation instructions on the pages TooTallNate/node-gyp and Error compiling bcrypt - node.js.
Related
i'm trying to learn Node.js and am wanting to add express to it's library.
i'm on a 2020 macbook pro with i& core (i think some said 1M is a little different)
i'm able to use node.js. but other then downloading node.js i can't update anything else. i've tried:
adding express: $ npm install express --save
NPM error code EACCES permission denied.
adding 'nvm' : curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
NPM error code EACCES permission denied.
then found online that some need to download the express generator, tried this:
sudo npm install -g express-generator.
which indicated 10 packages were added, 11 were oddited. with 4 vulnerabilities.
then trying its reccomendation of npm audit fix --force gave an error of ENOLOCK.
I've updated to the newest Node.js. and have been dealing with this issue over an hour.
thank you
Adonis command neither give error nor works
I just clone the Node project from one PC to another. Installed npm and adonis. Now my Node project is working when I open the URL at which it is serving it shows me the login page.
When in try to execute the Migration command, cli is neither executing the command nor giving any error.
Try to reinstall #adonisjs/cli :
Uninstall (Globally):
> npm uninstall -g #adonisjs/cli
Install (Globally):
> npm i -g #adonisjs/cli
#adonisjs/cli must be installed globally (it's not a project dependency)
Installation - AdonisJS documentation
I am new to node js and facing issue in installing express js. Please help in fixing the issue and install express js.
Now when i tried to install cryptiles module using the command "npm install cryptiles" i am getting the same error.
Just run npm install cryptiles then re-run your previous command
or if you don't want then go to your packages.json file and remove the dependency...
UPDATE :
Seems this package isn't supported anymore ..
To see yourself install globally:
npm install -g cryptiles
then install try to install in source destination
npm install cryptiles
You should get the following message:
npm WARN install Couldn't install optional dependency: Unsupported
I am trying to install MongoDB on my personal machine for a Node project through the command line using npm install --save mongodb. MongoDB shows up in the dependencies in my package.json file with a current version, but when I run mongodb -v, mongod, or just try to open up the mongo shell by running "mongo" I get these errors:
"command not found: mongodb"
"command not found: mongod"
"command not found: mongo"
I have also tried running sudo mongod to no avail. Does anyone have any suggestions? I have looked at a lot of documentation at this point and am not sure where to turn.
Looks like you're just installing the node.js driver for Mongodb. npm is generally used as a package manager solely for node.js packages and dependencies. You need to install the actual database system using the binaries or a binary package installer e.g. Homebrew.
https://docs.mongodb.org/manual/tutorial/install-mongodb-on-os-x/
https://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/
Related, and looks like your same issue.
I have NodeJS installed and am trying to do this tutorial for making a NodeJS chat app: http://socket.io/get-started/chat/
I created the package.json file in it's own dedicated folder, and executed in the windows command prompt this npm command from the tutorial I linked.
npm install --save express#4.10.2
The error I receive is as follows:
Error: ENOENT, stat 'C:\Users\david\AppData\Roaming\npm'
So I wemt to the ExpressJS page, tried the command they list on their site, which is.
npm install express --save
And I receive the same error. Anyone know how to fix this, please?