- Install JSS:
npm install -g @sitecore-jss/sitecore-jss-cli
- create default react app - runs in Chrome:
jss create jss-react-app react
cd jss-react-app
jss start
- create default angular app and attempt to run:
jss create jss-angular-app angular
cd jss-angular-app
jss start
Expected: build and run, just like react app
Observed: cannot build due to build error.
chunk {main} main.js, main.js.map (main) 3.26 kB [entry] [rendered]
ERROR in node_modules/apollo-angular/types.d.ts(9,58): error TS2304: Cannot find name 'Exclude'. src/app/jss-graphql.service.ts(3,10): error TS2305: Module '"C:/Test/jss-angular-app/node_modules/apollo-angular/types"' has no exported member 'TypedVariables'.
Gotta be something stupid on my part, since I can't find anything on the web about this error. Thanks!
Windows 7, Chrome 70.0.3538.102 JSS: 9.0.6 Angular: 6.1.10 AngularCLI: 6.2.7 Node: 10.13.0