Closed rafaelvalerini closed 6 years ago
Reproducable with Popper.js v1.14.x. in 1.11.1 it worked.
As a temporary solution I've solved this with npm-shrinkwrap
forcing ng2-semantic-ui using popper.js version 1.12.6.
"popper.js": {
"version": "1.12.6",
"from": "popper.js@>=1.11.1 <2.0.0",
"resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.12.6.tgz"
}
Could you try again with Popper v1.14.1? The breaking change in their library has been reverted.
@edcarroll: I'm experiencing the same thing, even using popper@1.14.1. :( Reverting back to popper@1.12.9 (what I had before) works fine.
I tried this: changed sidebar.service.d.ts this way
...
import {Position} from "popper.js";
...
export declare const SidebarDirection: {
Left: Position;
Right: Position;
Top: Position;
Bottom: Position;
};
...
seems popper.js @ 1.14.1 has an exported type member Position
Aiming to get a release out with a fix for this in it tomorrow evening. Apologies for the delay.
Appreciate all the work you've done so far! Thank you!
On Thu, Mar 15, 2018, 1:33 PM Edward Carroll notifications@github.com wrote:
Aiming to get a release out with this in it tomorrow evening. Apologies for the delay.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/edcarroll/ng2-semantic-ui/issues/355#issuecomment-373513862, or mute the thread https://github.com/notifications/unsubscribe-auth/AHxHn-3VXlyUknGqFq8JAUkbCZHWaWGiks5tetAsgaJpZM4SnBzB .
This worked for me:
npm install ng2-semantic-ui@0.9.6 popper.js@1.12.9 --save
Bug description:
When I run
ng serve
, show this error:Version of Angular, ng2-semantic-ui, and Semantic UI:
NodeJS: 7.10.1
What am I doing wrong?