-
-
Notifications
You must be signed in to change notification settings - Fork 952
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
ng test fails on angular CLI project #863
Comments
I'll check tonight but I have a feeling that this is caused by the same issue as #857. I contributed a fix to resolve which was published yesterday. It is turned off by default for now (see browserify/resolve#131) but will be turned on in next major version. That should solve a lot of issues that pnpm has in the ecosystem |
this issue is happening because It works with npm because it flattens dependencies and source-map-support is hoisted from We'll have to make a small PR to |
Angular CLI relies on a flat dependency tree to require source-map-support which is a problem when using a nested tree like pnpm is doing. Also it could be a problem if karma-source-map-support remove/change its source-map-support dependency. pnpm/pnpm#863
Angular CLI relies on a flat dependency tree to require source-map-support which is a problem when using a nested tree like pnpm is doing. Also it could be a problem if karma-source-map-support remove/change its source-map-support dependency. pnpm/pnpm#863
karma plugin relies on source-map-support being a dependency of karma-source-map-support and npm 3+ flat dependency tree. pnpm/pnpm#863
PR done. angular/angular-cli#7191 |
Thanks for making the PR! There is no such option in pnpm currently but I've been working on a tool that should do that: node-modules-check. I'll have to check if it works and publish it |
karma plugin relies on source-map-support being a dependency of karma-source-map-support and npm 3+ flat dependency tree. pnpm/pnpm#863
karma plugin relies on source-map-support being a dependency of karma-source-map-support and npm 3+ flat dependency tree. pnpm/pnpm#863
karma plugin relies on source-map-support being a dependency of karma-source-map-support and npm 3+ flat dependency tree. pnpm/pnpm#863
Solved but now i get another error:
Should i close this issue and open a new one? |
As you wish. I created a separate label for grouping these issues. |
PR created. angular/angular-cli#7385 |
I just tried out |
@aecz do you have twitter? I want to mention you in an article (to say thank you). Otherwise I'll just drop a link to your github page |
@zkochan i do not use my Twitter account. Github profile is fine. Thanks for the mention. |
|
…r#7191) karma plugin relies on source-map-support being a dependency of karma-source-map-support and npm 3+ flat dependency tree. pnpm/pnpm#863
pnpm version: 1.8.1
Code to reproduce the issue:
Expected behavior:
Tests are run successfully and start watching files.
Actual behavior:
Additional information:
node -v
prints: 6.11.0The text was updated successfully, but these errors were encountered: