isaacplmann / ngx-tour

Product Tour Built in Angular

Home Page:https://isaacplmann.github.io/ngx-tour

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Import error for ngx-bootstrap 5.5.0+ (Cannot find module)

bartromgens opened this issue · comments

For ngx-bootstrap to 5.5.0 or higher, I get the following import error:

ERROR in node_modules/ngx-tour-ngx-bootstrap/lib/tour-anchor.directive.d.ts:2:34 - error TS2307: Cannot find module 'ngx-bootstrap'. 
import { PopoverDirective } from 'ngx-bootstrap';

The import should be changed to import { PopoverDirective } from 'ngx-bootstrap/popover';

ngx-bootstrap 5.6.0+ is required for Angular 9 because it fixes a build error (valor-software/ngx-bootstrap#5658)

Any update on this? Is there a work around in the meantime?

@hectorp55 I don't know of any workaround.

@isaacplmann I submitted #203 to fix this. It is a small change that is needed for Angular 9.

Any chance this could be merged and released soon ?

It's the only issue left that I have before migrating to Angular 9

Any news about this ?
There is already a PR but not merged :-s