CirclonGroup / angular-tree-component

A simple yet powerful tree component for Angular (>=2)
https://angular2-tree.readme.io/docs
MIT License
1.09k stars 488 forks source link

Angular 12 not supported #915

Open tarangrathod opened 3 years ago

tarangrathod commented 3 years ago

getting this error while upgrading to angular V12
image

Minimal reproduction of the bug/regression with instructions:

on angular 11.xx version run command ng update @angular/core@12 @angular/cli@12

kwbonte commented 3 years ago

+1

bobbyg603 commented 2 years ago

hi @tarangrathod @kwbonte @salzy @lordantonelli @tanMARIS @alex-oko @amelnikoff @Melmoth-the-Wanderer @miaucl BugSplat has forked this project updated it to Angular 13 and has published a version of the fork to npm.

tarangrathod commented 2 years ago

@bobbyg603 it seems the merge has been blocked https://github.com/CirclonGroup/angular-tree-component/pull/942 please update me if i am wrong.

bobbyg603 commented 2 years ago

@tarangrathod i have not been able to get in touch with the maintainer. There’s a link to the forked package on npm in my previous post.

KeithGillette commented 1 year ago

Is the BugSplat fork compatible with Angular 16? I am getting a Error: Package path ./css/angular-tree-component.css is not exported from package when trying to test the fork.

bobbyg603 commented 1 year ago

Is the BugSplat fork compatible with Angular 16? I am getting a Error: Package path ./css/angular-tree-component.css is not exported from package when trying to test the fork.

I couldn't figure out how to fix this issue directly, but you can easily workaround it by just pointing to the path in node_modules. It's something like @import '../node_modules/@bugsplat/angular-tree-component/css/angular-tree-component.css'; where the actual path will be different based on your project's file system layout.

vadim-lisovyi commented 1 year ago

Is the BugSplat fork compatible with Angular 16? I am getting a Error: Package path ./css/angular-tree-component.css is not exported from package when trying to test the fork.

I couldn't figure out how to fix this issue directly, but you can easily workaround it by just pointing to the path in node_modules. It's something like @import '../node_modules/@bugsplat/angular-tree-component/css/angular-tree-component.css'; where the actual path will be different based on your project's file system layout.

Don't work for me. But it might help if you add "./css/angular-tree-component.css": { "style": "./css/angular-tree-component.css" }, to package.json - section "exports"