Closed tezine closed 7 years ago
Are you saying the issue is that when you add strict:true
to your tsconfig.json
, then you get a compiler error that you fixed by modifying boot-client.ts
? If so, that's something we might change in the future, but having strict
mode on by default hasn't been a design goal so far. In that case, I'll mark this closed as not something we're planning to change in the short term.
If you're saying there is some other bug in the code in this repo, could you please reopen with more specific details of what the bug is. Thanks!
I had the same warnings from Webpack after trying to update Angular from 4.1.2 to 4.2.5. The application won't work. I'll try again to get the error messages.
This issue shouldn't be closed. It has nothing related to strict mode. It still doesn't work without strict set! :-(
@tezine Can you describe succinctly what the issue is? If it's a bug, can you give repro steps?
I'm confident that in general it will be fine with Angular 4.2.5 and 4.2.6 because the latest template in the repo is on 4.2.5, and I tested upgrading to 4.2.6 yesterday without problem.
Hi, I'm trying to port a regular Angular project from Angular CLI to Asp.net with SPA Template. Whenever I run the application, I get the following warnings:
If I attempt to open localhost:5000, the following errors are shown:
I'm using typescript 2.3.4 under Windows 10 64bits. I already tried to remove node_modules folder, and reinstall every package again.
All my components are set in app.module.shared.ts. All my services are set in app.module.client.ts. All imported modules are set in app.module.client.ts.
Follow my package.json below:
Follow my tsconfig.json below:
I had to patch the boot-client.ts in order to work with typescript strict:
The same project is working fine when using ng serve instead of asp.net.