Skip to content
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

ERROR in node_modules/@angular/platform-browser-dynamic/src/compiler_factory.d.ts #11618

Closed
vishalbedre opened this issue Jul 20, 2018 · 4 comments
Labels
needs: repro steps We cannot reproduce the issue with the information given

Comments

@vishalbedre
Copy link

Hi all

Used typescript 2.7.2 but giving me following error

ERROR in node_modules/@angular/platform-browser-dynamic/src/compiler_factory.d.ts(18,22): error TS2720: Class 'CompilerImpl' incorrectly implements class 'Compiler'. Did you mean to extend 'Compiler' and inherit its members as a subclass?
Property 'getModuleId' is missing in type 'CompilerImpl'.
node_modules/@angular/platform-browser-dynamic/testing/src/compiler_factory.d.ts(12,22): error TS2720: Class 'TestingCompilerImpl' incorrectly implements class 'TestingCompiler'. Did you mean to extend 'TestingCompiler' and inherit its members as a subclass?
Property 'getModuleId' is missing in type 'TestingCompilerImpl'

@alan-agius4
Copy link
Collaborator

I'm sorry, but we don't understand the problem you are reporting.

If the problem persists, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior. You can use ng new repro-app to create a new project where you reproduce the problem.

@filipesilva filipesilva added the needs: repro steps We cannot reproduce the issue with the information given label Jul 23, 2018
@adi290491
Copy link

adi290491 commented Jul 27, 2018

I managed to solve this by checking the libraries.

  1. Type npm outdated to check the version of each library.
  2. The angular-platform-dynamic library could be outdated so install it with npm i @angular/platform-browser-dynamic.
  3. You will also require tslib. So also install that with npm i tslib.
    4 Then try ng serve.

@alan-agius4
Copy link
Collaborator

Closing as it looks like a solution was provided above.

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs: repro steps We cannot reproduce the issue with the information given
Projects
None yet
Development

No branches or pull requests

4 participants