Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during npm start #5

Open
dpliakos opened this issue Sep 15, 2020 · 0 comments
Open

Error during npm start #5

dpliakos opened this issue Sep 15, 2020 · 0 comments

Comments

@dpliakos
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant