javascript-todo-list-tutorial icon indicating copy to clipboard operation
javascript-todo-list-tutorial copied to clipboard

NPM Install Error

Open miguelmartins17 opened this issue 5 years ago • 7 comments

Yesterday when I tried to run this command nothing happened but today running the command showed me a series of errors. I've been researching what these mistakes would be.

Screen Shot 2020-01-24 at 19 08 04

miguelmartins17 avatar Jan 24 '20 19:01 miguelmartins17

I've been reading the errors one by one and one of them asks me to install the node-gyp-build.

https://www.npmjs.com/package/node-gyp-build

miguelmartins17 avatar Jan 24 '20 19:01 miguelmartins17

Even after installing node-gyp-build the same error still appears. What about the bufferutil package?

Screen Shot 2020-01-24 at 19 21 50

miguelmartins17 avatar Jan 24 '20 19:01 miguelmartins17

Here's what I researched about the bufferutil package.

Screen Shot 2020-01-24 at 19 28 58

miguelmartins17 avatar Jan 24 '20 19:01 miguelmartins17

@miguelmartins17 what was the exact npm command you attempted to run that resulted in the error above? And why did it take you so long to open this issue? The moment you get stuck you should open an issue. Otherwise we are blind to your struggles ... 😞

nelsonic avatar Jan 24 '20 23:01 nelsonic

That's what I explained above. Yesterday when I ran the command nothing happened but today when I ran it those errors appeared. 😕 It was this command that generated all those errors.

Screen Shot 2020-01-25 at 09 09 51

miguelmartins17 avatar Jan 25 '20 09:01 miguelmartins17

Ok, so you are attempting to npm install the dependencies for this project. 🤔 Did the git clone work in the previous step? i.e. do you have a directory called javascript-todo-list-tutorial ?

nelsonic avatar Jan 25 '20 09:01 nelsonic

Yes, the git clone worked. The terminal's path changed to the board of directors right when I ran the git clone command. Only in the next step and yesterday this error occurred because the day before I had run the npm install command and had not given error.

miguelmartins17 avatar Jan 25 '20 09:01 miguelmartins17