Skip to content
Advertisement

Npm module “” not found. Is it installed?

This is strange. Using this tutorial: https://ntdln.com/2017/07/25/using-javascript-modules/ I tried to do get the modules thing in JS. I run npm istall grunt-browserify --save-dev along with the other packages. My package.json file is

JavaScript

So the packages are there. I tried removing my nodemodules folder and installing it with npm insatll, but it didn’t help.

My grunt.js file is this

JavaScript

Still all I’m getting after running grunt is:

JavaScript

Advertisement

Answer

Use grunt browserify like below :

JavaScript

And after installing :

JavaScript

And same thing for other modules

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement