angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Upgrade from angular-cli beta 10 to beta 14 doesn't work.

Open Xamlware opened this issue 10 years ago • 2 comments

Please provide us with the following information:

  1. OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Windows 10
  2. Versions. Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here: ng angular-cli 1.0.0-Beta.14
  3. Repro steps. Was this an app that wasn't created using the CLI? What change did you do on your code? etc.

I installed the "ng new migration-project" and then did ng serve. It worked perfectly on VS Code/Windows 10/ Angular final. However, when I add in my src code (angular final -- all works fine with angular cli beta10) after I installed beta14 cli and build, I get these errors:

My source code uses rxjs, moment, font-awesome and priming components

  1. The log given by the failure. Normally this include a stack trace and some more information.

ERROR in [default] E:\development\ketogeniqweb\node_modules@angular\platform-browser\src\facade\collection.d.ts:102:21 Cannot find name 'Set'.

ERROR in [default] E:\development\ketogeniqweb\node_modules@angular\platform-browser\src\facade\collection.d.ts:103:24 Cannot find name 'Set'.

ERROR in [default] E:\development\ketogeniqweb\node_modules@angular\router\src\config.d.ts:279:61 Cannot find name 'Promise'.

ERROR in [default] E:\development\ketogeniqweb\src\app\app.component.ts:16:13 Cannot find name 'require'.

ERROR in [default] E:\development\ketogeniqweb\src\app\classes\calculator.ts:50:61 Property 'log10' does not exist on type 'Math'.

  1. Mention any other details that might be useful.

I'm thinking it has to do with typings, but I installed the @typings for all the packages I could. Any ideas on how to make this build?


Thanks! We'll be in touch soon.

Xamlware avatar Sep 20 '16 12:09 Xamlware

I have gotten by these errors, but have hit another stopper. Filed a new issue.

Xamlware avatar Sep 24 '16 22:09 Xamlware

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.