-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[BUG] New project instructions don't work #1190
Comments
This appears to be a problem for VSCode. However since it is the most used IDE in the node/angular world, this is a serious problem. Has anyone figured out how to solve this? Can anyone share a boilerplate project which actually works? |
After following the workaround in that issue, the error is now
and
This is for a vanilla new project, using nx's generators. I've added nothing. I also tried some tips on the angular site for this specific error, but they didn't help. I've tried loads of workarounds and versions, without any progress. And there are many breaking changes with new versions of the dependencies. |
This extension has a configuration option for This PR makes integration much better: After that, you can set your path to the |
Thanks for looking into this! That PR looks cool, hope you guys manage to merge it soon! |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
I followed the official docs to create a new app.
Environment (latest of everything):
nx 7.7.2
angular-cli 7.3.1
node 10.15.3
npm 6.9.0
ubuntu 18
vscode 1.32.3
Repro:
Problem: running tests in IDE, or using jest in terminal, fails:
/apps/myapp/src/app/app.component.spec.ts
node_modules/.bin/jest apps/myapp/src/app/app.component.spec.ts --testNamePattern="AppComponent"
In both cases error is
This is significant because the IDE tooling and various test extensions use the jest approach to find and run tests (rather than
npm run test
/ng test
).The text was updated successfully, but these errors were encountered: