I am trying to install monaca with this command.
npm install -g monaca
But right after getting these errors:
Well, I used --save-dev and installed it not globally or using -g, the main problem occurs while you want it to write on default node_modules folder.
It solved my problem after 4 hours of checking multiple issues.
I even suggest you to use the npm init and make a package.json for a better dependency checking and then run npm install afterward. this video helps you for this https://www.youtube.com/watch?v=rTsz09zRuTU