bier hier
bier hier

Reputation: 22570

Why do I get 'Can't resolve all parameters for ApplicationModule'?

I have a angular app that works but not in codesandbox. This is the error I am getting:

Can't resolve all parameters for ApplicationModule evaluate main.ts:11:25 8 | enableProdMode(); 9 | } 10 |

11 | platformBrowserDynamic().bootstrapModule(AppModule) | ^ 12 | .catch(err => console.error(err)); 13 |

Link to code

Upvotes: 0

Views: 605

Answers (1)

Hien Nguyen
Hien Nguyen

Reputation: 18973

May be codesandbox did not support angular 7.

I tried to forked your app and update package.json to angular 5 (default of codesandbox) and it worked.

You can recheck your issue in package.json file.

https://codesandbox.io/s/62pyvx8jjr

Upvotes: 1

Related Questions