Code Monkey home page Code Monkey logo

Comments (7)

ronentidhar avatar ronentidhar commented on June 12, 2024

Same with es2015

ng serve
0% compiling
Compiling @angular/core : es2015 as esm2015

Compiling @angular/common : es2015 as esm2015

Compiling @angular/platform-browser : es2015 as esm2015

Compiling @angular/platform-browser-dynamic : es2015 as esm2015

Compiling angular-tree-component : module as esm5

chunk {main} main.js, main.js.map (main) 1.96 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 660 bytes [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 21.9 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 340 kB [initial] [rendered]
Date: 2020-02-12T20:59:29.537Z - Hash: bdb20b434969968c1c12 - Time: 9574ms

ERROR in Failed to compile entry-point angular-tree-component (module as esm5) due to compilation errors:
node_modules/mobx-angular/dist/mobx-angular.d.ts:8:22 - error NG6002: Appears in the NgModule.imports of TreeModule, but could not be resolved to an NgModule class

8 export declare class MobxAngularModule {

from mobx-angular.

kubk avatar kubk commented on June 12, 2024

Which version of mobx-angular are you using? Angular 9 support was added recently: #112
Could you create a repo with reproduction?

from mobx-angular.

Cpassimal avatar Cpassimal commented on June 12, 2024

Same here

ERROR in Failed to compile entry-point angular-tree-component (module as esm5) due to compilation errors:
node_modules/mobx-angular/dist/mobx-angular.d.ts:8:22 - error NG6002: Appears in the NgModule.imports of TreeModule, but could not be resolved to an NgModule class

8 export declare class MobxAngularModule {

I checked on the node_modules/mobx-angular, the version 3.1.1 is indeed here.

from mobx-angular.

kubk avatar kubk commented on June 12, 2024

@Cpassimal Please read my comment above. A repro (on stackblitz or codesandbox) would be helpful.
Here is an example with Angular 9 and Mobx working together: https://stackblitz.com/edit/angular-gd1ybt?file=package.json

from mobx-angular.

Cpassimal avatar Cpassimal commented on June 12, 2024

I was having this issue using angular-tree-component in the version 8.5.4, 8.5.5 solved the problem.

from mobx-angular.

Mattnmoore avatar Mattnmoore commented on June 12, 2024

I'm also running into this issue with Angular 9 with Ivy enabled. 3.0.3 works with Ivy disabled.

I was having this issue using angular-tree-component in the version 8.5.4, 8.5.5 solved the problem.

It looks like they manually pulled in mobx-angular and made changes to it to get it to work with their library.

from mobx-angular.

adamkleingit avatar adamkleingit commented on June 12, 2024

This was fixed in angular-tree-compoment version 8.5.6

from mobx-angular.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.