grand-stack / grand-stack-starter

Simple starter project for GRANDstack full stack apps

Home Page:https://grandstack.io/docs/getting-started-grand-stack-starter.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

angular-devkit/build-angular produces error

ed42311 opened this issue · comments

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. 🙏