Wednesday, January 26, 2022

NPM - Node - Troubleshooting


 


Got an ugly error that didn't give me much info at all.

Cannot convert undefined or null to object.

After alot of head ache i started checking each npm package one by one with the tool

npm-check. So useful. In the interactive mode i could just install each missing package since i had tried removing npm-modules folder.

somehow the package install of gulp-modulizr was not getting a package back it seems it should be spelled modulizr-gulp. i tried removing it and now it works.


normal install of win node doesn't seem to work ok with nvm either so...