FuelInteractive / fuel-ui

UI Components for use with Angular2 and Bootstrap4
http://fuelinteractive.github.io/fuel-ui
301 stars 56 forks source link

Error when add packege #94

Open AndersonDev opened 8 years ago

AndersonDev commented 8 years ago

I have an error in npm install:

image

coryshaw1 commented 8 years ago

Please make sure that you have bower and typings installed globally

npm i bower typings -g

AndersonDev commented 8 years ago

@coryshaw1 good. Added. Thanks! Little question: are you planing to add SelectComponent?

coryshaw1 commented 8 years ago

Glad to hear it's working!

As for adding a SelectComponent, this is currently under discussion, but as of now is not planned on being added.

AndersonDev commented 8 years ago

@coryshaw1 Pity( I need to use 2 frameworks. Hope you will add select because it will be helpful for menu people. Thanks!

AndersonDev commented 8 years ago

@coryshaw1 sory, one more question. May I center modal tittle? And some errors:

image

coryshaw1 commented 8 years ago

Centering the modal title is currently not supported through the component settings. You should be able to achieve the same effect through CSS and text-align: center.

As for the errors, how are you referencing fuel-ui in your project? And are you using webpack, angular-cli, System.js, etc? Please take a look at our quickstarts in our readme if you continue to have issues

AndersonDev commented 8 years ago

@coryshaw1 I am using webpack. import 'fuel-ui/fuel-ui'; in my vendors file.

AndersonDev commented 8 years ago

@coryshaw1 can't find any reason wich make this error. I have included ng2-bootstrap, jwt and ect. All works good. May you help?

omargon commented 8 years ago

I also get some errors from another component not in use when importing fuel-ui:

/node_modules/fuel-ui/src/components/Carousel/Carousel.ts(150,47): error TS2304: Cannot find name 'Hammer'.
/node_modules/fuel-ui/src/components/Carousel/Carousel.ts(151,30): error TS2304: Cannot find name 'Hammer'.
/node_modules/fuel-ui/src/components/Carousel/Carousel.ts(152,38): error TS7006: Parameter 'ev' implicitly has an 'any' type.
/node_modules/fuel-ui/src/components/Carousel/Carousel.ts(155,37): error TS7006: Parameter 'ev' implicitly has an 'any' type.
fdu-axiometrics commented 8 years ago

same here.. not working properly for webpack..

RusEu commented 8 years ago

same here :(

vargalas commented 8 years ago

Same here

vargalas commented 8 years ago

Actually in Carusel, Hammer seems not to be imported, but it's used.

error TS2304: Cannot find name 'Hammer'.

jhgil commented 7 years ago

Same here :-1:

snibbo commented 7 years ago

agree to vargalas and added the hammerjs file to my project from http://hammerjs.github.io/getting-started/