Here-is-what-you-need-to-know-about-dynamic-components-in-Angular
Here-is-what-you-need-to-know-about-dynamic-components-in-Angular copied to clipboard
Error during npm start
Expected behavior
By running npm i and npm start the application should start
Actual behavior
By running npm i and npm start An error is produced
Node version: node -v v12.16.1
Error output
npm start
> [email protected] start /secondary/tmp/angular-test/Here-is-what-you-need-to-know-about-dynamic-components-in-Angular
> tsc && concurrently "tsc -w" "http-server . -c-1 "
node_modules/@types/node/index.d.ts:20:1 - error TS1084: Invalid 'reference' directive syntax.
20 /// <reference lib="es2016" />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] start: `tsc && concurrently "tsc -w" "http-server . -c-1 " `
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.