Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

2.6K
Views
npm start some compilation error. Browser says Cannot GET /
./src/main.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):
Error: Emit

./src/polyfills.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):
Error: Emit

./node_modules/css-loader/dist/runtime/api.js - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):       
Error: EPERM: operation not permitted, mkdir 'E:\Capstone\shopForHome\Home-Products\.angular'

./node_modules/css-loader/dist/runtime/sourceMaps.js - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
Error: EPERM: operation not permitted, mkdir 'E:\Capstone\shopForHome\Home-Products\.angular'

./node_modules/webpack-dev-server/client/index.js?protocol=auto%3A&username=&password=&hostname=0.0.0.0&port=0&pathname=%2Fng-cli-ws&logging=info&reconnect=10 - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
Error: EPERM: operation not permitted, mkdir 'E:\Capstone\shopForHome\Home-Products\.angular'

./src/styles.css - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
Error: EPERM: operation not permitted, mkdir 'E:\Capstone\shopForHome\Home-Products\.angular'

Error: Failed to initialize Angular compilation - NGCC failed.



** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **


× Failed to compile.
about 4 years ago · Santiago Gelvez
2 answers
Answer question

0

You have tried this in VS Code, when making a new project like npm and flutter, VS Code will ask for your authorization/permission if you trust them to author the files within that directory

about 4 years ago · Santiago Gelvez Report

0

do you have the right permissions? It says the compiler was unable to create a folder in the mentioned directory. Check this line Error: EPERM: operation not permitted, mkdir 'E:\Capstone\shopForHome\Home-Products.angular'

Please run it as admin and try. If not, changing the folder permission would work fine as well.


Posting it as an answer because the above answer doesn't actually solve the problem.

about 4 years ago · Santiago Gelvez Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!