-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Issue with npm start #367
Comments
Did you read the error? It is quite clear. |
@Foxandxss I am new to angular I didn't understand what to do to to resolve this |
|
I have the same issue with npm start.....can you help me plz
Error occured when executing command: tsc -w |
Hey man -- I wasn't having the exact same error but something extremely similar. I bumped the version of typescript and npm start working fine now. IE: Went into package.json changed typescript from ~2.0.10 to ^2.0.10 Hope this helps you too. |
Both problems are unrelated. Stay in TS 2.0.10, 2.1 is not compatible with AOT. |
I haven't touched anything within the quickstart project yet, but was getting a similar npm error: error TS1005: '=' expected. I'm on a fresh clone and running latest versions of node and npm. The first thing that worked for me was bumping versions of typescript. Either something is wrong with the code in this project, or some package ( not necessarily typescript I guess? ) is out of date. Any suggestions? Thanks, |
Yes, I just answered that issue. You need to lock the @types/jasmine into a previous version. Latest one is broken for us. |
Awesome, it's working. Thanks! I hadn't seen you answer that. Was this discussed in a separate issue ( and if so would you mind pointing me to it )? |
Awesome, thanks again @Foxandxss ! |
@Foxandxss hello,I am facing the same error,
which version of jasmine should be locked? and the node/npm version affect the issue? And i download the latest code from git~ thanks~ ✅ |
Can any one Help on this Error ?? Error occured when executing command: npm run serve npm ERR! Windows_NT 6.3.9600 npm ERR! Please include the following file with any support request: F:\NodeApps\Angular2\DesignCourse\angular-quickstart\quickstart> |
I am by no means an expert. I'm learning Angular2 for the first time. And I am new to Node. I've seen this error screen twice on this project, so far. Both times there was something wrong in my code, not with Node. For instance misspelling a keyword or function name. Also using the wrong quotation marks. In some places, the quotation is not a normal single quote. It's the italicized quote located on the key before the 1 key on a standard keyboard. Hope this helps a bit. |
@Yourwebgirl thanks for the help ,let me check my code first |
@Sheetalshinde71 if you couldn't find the error! than try this because i was facing the same issue although i made no changes in angular-quick start.i simply cloned the project from GitHub and after installing packages(npm install) i hit npm start but a bunch of error's were displayed!. Try this! Step 2:Go to Directory Step 3:ng serve |
@KhizerRehan thanks ,I will try |
This issue is getting out of hand. The original issue was hopefully fix. |
@Foxandxss Now I got this issue |
You need to lock the @types/jasmine into a previous version. Latest one is broken for us. angular/quickstart#367
Hi guys, I also went into this issue today, and it finally got fixed by steps:
My versions are: hope this helps. :) |
thanks @Neron-Liu for your solution . I have already solved this issue |
There is no task called "lite" |
It's automatically generated.. |
uhm? |
it is trying to create a new instance of your terminal or something and doesn't find it. I have no idea :/ |
PS D:\Angular2Projs\practise\myapp> npm start
src/app/components/user.component.ts(95,14): error TS7006: Par npm ERR! A complete log of this run can be found in: npm ERR! A complete log of this run can be found in: |
I have just restarted Visual Studio code and it's showing this error. This codes were working fine earlier but now it's showing these errors, please help. |
I was having the same error. I realised that the problem was with npm install, |
I have checked all syntax and they are correct still Im getting below error ~/myAngularApp $ npm start
typescript/lib/lib.d.ts(1305,19): error TS1005: ',' expected. npm ERR! A complete log of this run can be found in: |
I am using angular2 quick start with Ubuntu 16.14 LTS
when I run
npm start
itnot work, display following error in terminalHere is attched 'npm-debug.log'
npm-debug.txt
The text was updated successfully, but these errors were encountered: