-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Description
Command
serve, build
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
16
Description
when try start my angular 17 project in my desktop pc, I got stock on "/ Generating browser application bundles (phase: building)...", but it is fine in my laptop
when i running ng serve --verbose show
Generating browser application bundles (phase: building)... [webpack.cache.PackFileCacheStrategy] No pack exists at C:\Trabajos\migracion17\ayni.cache\17.3.11\angular-webpack\087d54a6f639b45df4023d7b9110c2ef9f1a79f9.pack: Error: ENOENT: no such file or directory, stat 'C:\Trabajos\migracion17\ayni.cache\17.3.11\angular-webpack\087d54a6f639b45df4023d7b9110c2ef9f1a79f9\index.pack'
Minimal Reproduction
package.json
{
"name": "ayni",
"version": "0.0.3",
"scripts": {
"ng": "ng",
"start": "ng serve",
"start:dev": "node --max_old_space_size=8196 ./node_modules/@angular/cli/bin/ng serve -c=dev --port=4202",
"start:qa": "node --max_old_space_size=8196 ./node_modules/@angular/cli/bin/ng serve -c=qa --port=4201",
"ng-hm": "node --max_old_space_size=8196 ./node_modules/@angular/cli/bin/ng",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"publicar-desa": "ng build -c=dev --output-path dist/desa",
"publicar-qa": "node --max_old_space_size=8196 ./node_modules/@angular/cli/bin/ng build -c=qa",
"publicar-erp": "node --max_old_space_size=8196 ./node_modules/@angular/cli/bin/ng build -c=erp --output-path dist/erp",
"publicar-cap": "node --max_old_space_size=8196 ./node_modules/@angular/cli/bin/ng build -c=cap --output-path dist/cap",
"serve-desa": "node --max_old_space_size=8196 ./node_modules/@angular/cli/bin/ng serve -c=dev",
"serve-cap": "node --max_old_space_size=8196 ./node_modules/@angular/cli/bin/ng serve -c=cap",
"serve-erp": "node --max_old_space_size=8196 ./node_modules/@angular/cli/bin/ng serve -c=erp",
"publicar-desaycap": "npm run publicar-desa && rm -rf dist/cap && cp -av dist/desa dist/cap && sed -i 's/vainangularapp/cap/g' dist/cap/main*",
"publicar-todo": "npm run publicar-erp && rm -rf dist/cap && rm -rf dist/desa && cp -av dist/erp dist/cap && cp -av dist/erp dist/desa && sed -i 's/erpangular/cap/g' dist/cap/main* && sed -i 's/erpangular/vainangularapp/g' dist/desa/main*",
"reinstall-core": "cd node_modules && rmdir vain-core /Q/S && cd ../ && npm install",
"reinstall-shared": "cd node_modules && rmdir vain-shared /Q/S && cd ../ && npm install",
"mapear-desa": "npm i typescript@4.7.4 && node scripts/mapear-desa.js && npm i typescript@4.8.4",
"mapear-cap": "node scripts/mapear-cap.js",
"mapear-prod": "node scripts/mapear-erp.js",
"mapear-local": "node scripts/mapear-local.js"
},
"private": true,
"dependencies": {
"@angular/animations": "^17.3.5",
"@angular/cdk": "^16.2.1",
"@angular/common": "^17.3.5",
"@angular/compiler": "^17.3.5",
"@angular/core": "^17.3.5",
"@angular/flex-layout": "^14.0.0-beta.40",
"@angular/forms": "^17.3.5",
"@angular/localize": "^17.3.5",
"@angular/material": "^14.0.4",
"@angular/platform-browser": "^17.3.5",
"@angular/platform-browser-dynamic": "^17.3.5",
"@angular/router": "^17.3.5",
"@auth0/angular-jwt": "^5.0.2",
"@fullcalendar/angular": "^6.0.0",
"@fullcalendar/core": "^6.0.0",
"@fullcalendar/daygrid": "^6.0.0",
"@fullcalendar/interaction": "^6.0.0",
"@fullcalendar/list": "^6.0.0",
"@fullcalendar/timegrid": "^6.0.0",
"@iplab/ngx-file-upload": "^3.3.3",
"@kolkov/angular-editor": "^3.0.0-beta.0",
"@microsoft/signalr": "^6.0.0",
"@ng-idle/core": "^13.0.0",
"@ng-idle/keepalive": "^13.0.0",
"@ng-select/ng-select": "^10.0.3",
"@ngrx/store": "^16.2.0",
"@ngrx/store-devtools": "^11.0.1",
"@swimlane/ngx-charts": "^21.1.2",
"@swimlane/ngx-datatable": "^20.1.0",
"@types/google.visualization": "0.0.60",
"@videogular/ngx-videogular": "^8.0.0",
"angular-google-charts": "^2.1.0",
"bootstrap": "^5.0.1",
"chart.js": "^3.6.2",
"core-js": "3.9.1",
"file-saver": "^2.0.5",
"flag-icon-css": "^4.1.6",
"moment": "^2.29.1",
"ng2-charts": "^3.0.1",
"ng2-pdf-viewer": "^10.4.0",
"ng2-pdfjs-viewer": "^6.0.1",
"ngx-auto-unsubscribe": "^3.0.1",
"ngx-capture": "^0.12.2",
"ngx-color-picker": "^15.0.0",
"ngx-easy-table": "^15.4.1",
"ngx-extended-pdf-viewer": "^15.2.2",
"ngx-json-viewer": "^3.0.2",
"ngx-mask": "^14.0.0",
"ngx-spinner": "^13.0.0",
"ngx-toastr": "^16.0.2",
"node": "^18.13.0",
"npm": "^9.5.1",
"npm-install-peers": "^1.2.1",
"primeflex": "^3.1.0",
"primeicons": "^4.1.0",
"primeng": "^14.2.3",
"quill": "^2.0.3",
"rxjs": "~6.6.6",
"ts-md5": "^1.2.9",
"tslib": "^2.1.0",
"webpack-dev-server": "^4.15.1",
"zone.js": "^0.14"
},
"devDependencies": {
"@angular-builders/custom-webpack": "^19.0.0",
"@angular-devkit/build-angular": "^17.3.11",
"@angular/cli": "^17.3.5",
"@angular/language-service": "^17.3.5",
"@types/jasmine": "~3.6.6",
"@types/jasminewd2": "~2.0.8",
"@types/node": "^14.14.34",
"codelyzer": "^6.0.1",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~6.0.0",
"karma": "~6.3.4",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.3",
"karma-jasmine": "~4.0.1",
"karma-jasmine-html-reporter": "^1.5.4",
"ng-packagr": "^17.3.0",
"protractor": "^3.3.0",
"shelljs": "^0.8.4",
"swagger-typescript-api": "^9.2.0",
"ts-node": "~9.1.1",
"tslint": "~6.1.0",
"typescript": "^5.2",
"webpack": "^5.97.1"
}
}
angular.json
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"cli": {
"cache": {
"enabled": true,
"path": ".cache",
"environment": "all"
},
"analytics": false
},
"version": 1,
"newProjectRoot": "projects",
"projects": {
"ayni": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"prefix": "app",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"allowedCommonJsDependencies": [
"moment/min/locales",
"moment/locale/es"
],
"preserveSymlinks": true,
"outputPath": "dist/ayni",
"resourcesOutputPath": "images",
"index": "src/index.html",
"main": "src/main.ts",
"aot": true,
"polyfills": ["zone.js"],
"tsConfig": "src/tsconfig.app.json",
"assets": [
"src/erp.ico",
"src/assets",
"src/web.config",
{
"glob": "/*",
"input": "node_modules/ngx-extended-pdf-viewer/assets/",
"output": "/assets/"
},
{
"glob": "/*",
"input": "./node_modules/@kolkov/angular-editor/assets/",
"output": "./assets/fonts/"
}
],
"stylePreprocessorOptions": {
"includePaths": ["node_modules"]
},
"styles": [
"src/styles.scss",
"src/theme.scss",
"node_modules/primeicons/primeicons.css",
"node_modules/primeflex/primeflex.css",
"node_modules/primeng/resources/primeng.min.css",
"node_modules/quill/dist/quill.core.css",
"node_modules/quill/dist/quill.snow.css"
],
"scripts": [
],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": true,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
},
"erp": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
]
},
"qa": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.qa.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
]
},
"cap": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.cap.ts"
}
],
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
]
},
"dev": {
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": true,
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
]
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"defaultConfiguration": "development",
"options": {
"buildTarget": "ayni:build"
},
"configurations": {
"development": {
"browserTarget": "ayni:build:development"
},
"production": {
"buildTarget": "ayni:build:production"
},
"dev": {
"buildTarget": "ayni:build:dev"
},
"qa": {
"buildTarget": "ayni:build:qa"
},
"cap": {
"buildTarget": "ayni:build:cap"
},
"erp": {
"buildTarget": "ayni:build:erp"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"buildTarget": "ayni:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": ["zone.js"],
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"styles": [
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
"src/styles.scss",
"node_modules/flag-icon-css/css/flag-icon.min.css"
],
"scripts": [],
"assets": [
"src/erp.ico",
"src/assets"
]
}
}
}
},
"ayni-e2e": {
"root": "e2e/",
"projectType": "application",
"prefix": "",
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "ayni:serve"
},
"configurations": {
"production": {
"devServerTarget": "ayni:serve:production"
}
}
}
}
}
}
}
Exception or Error
Your Environment
\ Generating browser application bundles (phase: building)... [webpack.cache.PackFileCacheStrategy] No pack exists at C:\Trabajos\migracion17\ayni\.cache\17.3.11\angular-webpack\087d54a6f639b45df4023d7b9110c2ef9f1a79f9.pack: Error: ENOENT: no such file or directory, stat 'C:\Trabajos\migracion17\ayni\.cache\17.3.11\angular-webpack\087d54a6f639b45df4023d7b9110c2ef9f1a79f9\index.pack'
Anything else relevant?
No response