Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

angular-devkit/build-angular produces error #113

Open
ed42311 opened this issue Aug 14, 2020 · 0 comments
Open

angular-devkit/build-angular produces error #113

ed42311 opened this issue Aug 14, 2020 · 0 comments
Labels
angular Issues dealing with the angular template help wanted

Comments

@ed42311
Copy link
Contributor

ed42311 commented Aug 14, 2020

Current solution - downgrading to
"@angular-devkit/build-angular": "^0.803.25",

Seems like a problem with newest version of dev kit
https://stackoverflow.com/questions/59447679/an-unhandled-exception-occurred-job-name-getprojectmetadata-does-not-exist

Steps to repro

  1. Install angular template with create-grandstack-app
  2. cd into new project and run start

Expected output

ℹ 「wds」: webpack output is served from /
ℹ 「wds」: 404s will fallback to //index.html

chunk {main} main.js, main.js.map (main) 42.5 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 268 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
chunk {scripts} scripts.js, scripts.js.map (scripts) 662 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 1.77 MB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 6.78 MB [initial] [rendered]
Date: 2020-08-14T17:12:07.565Z - Hash: ecb1e50f3076b7d1d4fb - Time: 11517ms
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **

Current

$ npm run start
> grandstack-starter-web-angular@0.0.1 start /home/edwardweymouth/code/work/neo4j/grand-stack-starter/web-angular
> ng serve --proxy-config proxy.conf.json

An unhandled exception occurred: Job name "..getProjectMetadata" does not exist.
See "/tmp/ng-MQtbK8/angular-errors.log" for further details.
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! grandstack-starter-web-angular@0.0.1 start: `ng serve --proxy-config proxy.conf.json`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the grandstack-starter-web-angular@0.0.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/edwardweymouth/.npm/_logs/2020-08-14T17_16_34_629Z-debug.log

If anybody with more angular experience is interested in looking at this that would be cool. 🙏

@ed42311 ed42311 added angular Issues dealing with the angular template help wanted labels Aug 14, 2020
@ed42311 ed42311 changed the title [Angular] - angular-devkit/build-angular produces error angular-devkit/build-angular produces error Aug 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
angular Issues dealing with the angular template help wanted
Projects
None yet
Development

No branches or pull requests

1 participant