In my previous blog, I shared a comprehensive, step-by-step guide on installing Habitat. During my installation process, I encountered an Error Code 1 while installing npm for Habitat as you can see in above image. In this new blog post, I'll delve into the root cause of this issue and detail the steps I took to successfully resolve it.
Cause :
The culprit behind Error Code 1 was the version of gulp-sass specified in the package.json file.
Solution :
- To tackle this issue, I first visited https://www.npmjs.com/package/gulp-sass to confirm the latest available version.
- Afterward, I updated the gulp-sass value in the package.json file with this new version.
- Then, I opened Windows PowerShell as an administrator and re-executed the "npm install" command.
- The "node_modules" folder was successfully added to the directory.
Thanks for Reading !!
Comments
Post a Comment