-
Notifications
You must be signed in to change notification settings - Fork 12k
ngtools npm link #5723
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
Comments
same issue! |
ERROR in Error encountered resolving symbol values statically. Calling function 'ɵmakeDecorator', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol Injectable in /Users/toan/Sites/loopcms/backend/node_modules/@angular/core/core.d.ts, resolving symbol ɵf in /Users/toan/Sites/loopcms/backend/node_modules/@angular/core/core.d.ts, resolving symbol ɵf in /Users/toan/Sites/loopcms/backend/node_modules/@angular/core/core.d.ts |
The issue is that the This is perhaps mainly an issue with the typescript compiler itself, and not so much @angular/cli or @angular/compiler. See also: microsoft/TypeScript#6496 A workaround is, to put this in the
This will tell the compiler to use the main projects copy of these packages and not the nested ones. It would be best, if the ngc / tsc would ignore nested node_modules when there is an explicit installed module on the top level for that. |
@gingters and others - I have had good results working around all this. Lots of details in this repo: https://github.com/OasisDigital/many-to-many-angular Example of applying the technique you mentioned: |
@kylecordes thanks for sharing this, looks great! |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Versions.
Repro steps.
Any npm link failures.
The log given by the failure.
Given already.
Desired functionality.
Works.
Mention any other details that might be useful.
Simple, just broken.
The text was updated successfully, but these errors were encountered: