-
Notifications
You must be signed in to change notification settings - Fork 137
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
Cannot find module '@angular/core/testing' #174
Comments
Are you able to install and test this repo without any issues? On 15 Nov 2016 20:57, "samoncode" notifications@github.com wrote:
|
Point of data: I have cloned this repo yesterday, npm test worked for me, but I still got warnings about "Cannot find module '@angular/core/testing'" in Visual Studio Code. I am using latest Node.js (6.9.1). |
@samoncode can you paste the actual output of npm test please? I'm not interested in Visual Studio errors (if that is what those first ones are). |
Also please confirm whether or not you are able to clone and test this repo. We have no references to |
@lathonez the first mentioned errors come from Visual Studio Code.
"ionic serve" does not work for me here. Is this the expected behaviour? `
|
Are you able to follow the Ionic tutorial? http://ionicframework.com/docs/v2/getting-started/tutorial/
If not please raise with Ionic. |
I indeed had a problem in general. Had to update node. And now the project here works for me! Great! |
Ok, for me it is the same now as for aeremin. The test are working! Only VS-Code does not find the testing module. |
Removing this line solves it: https://github.com/lathonez/clicker/blob/master/tsconfig.json#L22 Not a complete solution however: |
Annoyingly enough I can't replicate 159 as I don't have windows. |
getting the same error , using node - 6.11.11 and npm 3.10 |
I wanted to get started with unittesting my Ionic2 application and followed the instructions provided, but when I create my first unit test I get the following Errors:
And when I start „npm test“ I get the following error:
I would appreciate any help on what is going wrong here
The text was updated successfully, but these errors were encountered: