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
Can't resolve all parameters for ApplicationModule: (?). #27531
Comments
https://twitter.com/yurzui/status/1055491854488215552 Angular cli doesn't include reflect polyfill starting from Angular 7 and that's correct. But in order to make it work in stackblitz you have to add it manually for a while |
Hi @alexzuza , i have tried adding
But it wont work. is there any option |
https://stackblitz.com/edit/github-5xs2qx?file=src%2Fpolyfills.ts |
Hi @alexzuza , Thank you so much for this. i have tried wrongly |
is this answer for Why i have add this?:
|
This issue is duplicate for stackblitz/core#758. |
Hi @alexzuza , but still my sample is not wokring fine. My issue issue is: If i run sample like below steps:
My sample is not working fine which means image is not loading properly |
Hi All, |
@kumaresan-subramani |
Hi @alexzuza , my sample working fine in local but why it is not in stackblitz |
This issue is on the Stackblitz side. |
its working thanks |
@sireyogie
|
Add this in your polyfills.ts file |
Using // Internet Explorer 9 support
import 'ie-shim';
// IE9, IE10 and IE11 requires all of the following polyfills.
import 'core-js/es/symbol';
import 'core-js/es/object';
import 'core-js/es/function';
import 'core-js/es/parse-int';
import 'core-js/es/parse-float';
import 'core-js/es/number';
import 'core-js/es/math';
import 'core-js/es/string';
import 'core-js/es/date';
import 'core-js/es/array';
import 'core-js/es/regexp';
import 'core-js/es/map';
import 'core-js/es/weak-map';
import 'core-js/es/set';
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
// import 'classlist.js'; // Run `npm install --save classlist.js`.
// Evergreen browsers require these.
import 'core-js/es/reflect'; I still encounter the issue, it seems there might be some limit scenarios where just importing reflect won't work, not sure whether I'm the only one encountering the issue. |
@briosheje Nobody uses IE nowadays. |
@akopchinskiy is that related to the issue in any way? However, as a side note, some people still uses IE, in my case some customer does, but that's not the issue, the issue is that upgrading from angular 7 to angular 8 is being slightly harder than expected (to me), since I can't come up with a solution for that issue. It's probably rather related to webpack, it's just to mention that the proposed solution might not work in all the cases, since in my case reflect is required, but I still get the error. |
I am getting this in a lib, not an app. It doesn't even have a polyfills file to add the polyfill to. I wish the error message was more descriptive |
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
Description
This is my github sample repository [https://github.com/SridharSathaSivam/stackblitz-test] which has simple image as a template.
when i try to run this in a stacblitz sample it throws this error:
🔬 Minimal Reproduction
step1: open stackblitz link [ https://stackblitz.com/ ]
step2: add my repolink to that [https://stackblitz.com/github/SridharSathaSivam/stackblitz-test]
step3: Run sample the you will get that error
The text was updated successfully, but these errors were encountered: