cannot find module “lodash”

Be sure to install lodash in the required folder. This is probably your C:\gwsk directory. If that folder has a package.json file, it is also best to add –save behind the install command. $ npm install lodash –save The package.json file holds information about the project, but to keep it simple, it holds your project … Read more

How to compile or convert sass / scss to css with node-sass (no Ruby)?

I picked node-sass implementer for libsass because it is based on node.js. Installing node-sass (Prerequisite) If you don’t have npm, install Node.js first. $ npm install -g node-sass installs node-sass globally -g. This will hopefully install all you need, if not read libsass at the bottom. How to use node-sass from Command line and npm … Read more

How to fix “ReferenceError: primordials is not defined” in Node.js

I hit the same error. I suspect you’re using Node.js 12 and Gulp.js 3. That combination does not work: Gulp.js 3 is broken on Node.js 12 #2324 A previous workaround from Jan. does not work either: After update to Node.js 11.0.0 running Gulp.js exits with ‘ReferenceError: internalBinding is not defined’ #2246 Solution: Either upgrade to … Read more