Fomantic-UI icon indicating copy to clipboard operation
Fomantic-UI copied to clipboard

[install] compatibility npm7, pnpm, yarn, yarn2

Open jeffrson opened this issue 4 years ago • 7 comments

Bug Report

Well, I wonder if fomantic-ui will become uninstallable. Currently, only npm6 can install it. All of the other usual package managers fail.

Steps to reproduce

  1. Create an empty folder, intialize package.json (npm init, yarn init)
  2. npm i/pnpm i/yarn add fomantic-ui

Expected result

Should install...

Actual result

Failure to install.

Version

2.8.7

There are issues regarding pnpm and yarn - closed or unanswered - is there anything done about it?

jeffrson avatar Nov 13 '20 22:11 jeffrson

I have some problem with Fomantic-UI as CSS only with VUE $ npm install --save fomantic-ui-css import 'fomantic-ui-css/semantic.min.css'; add to App.vue After Run serve get error

image

devopg avatar Dec 01 '20 11:12 devopg

@devopg Is semantic-ui-css successfully installed in node_modules directory? Does Vue know to look fomantic-ui-css in node_modules directory when importing? I'm not Vue user, so I don't know how Vue handles the dependency when importing.

ko2in avatar Dec 01 '20 12:12 ko2in

@devopg Is semantic-ui-css successfully installed in node_modules directory? Does Vue know to look fomantic-ui-css in node_modules directory when importing? I'm not Vue user, so I don't know how Vue handles the dependency when importing.

yes image

devopg avatar Dec 01 '20 13:12 devopg

@devopg Then, you're posting irrelevant issue here. The original issue is about the failing of installing FUI with latest npm and yarn versions.

However, I've created a Vue sandbox with FUI css package and it seems working fine. Have you already installed post-css in your project? Is your app working with your own imported CSS files?

ko2in avatar Dec 01 '20 13:12 ko2in

i have clear vue project, i dont know why your sandbox work I fix my project add full url with node_modules path: @import '../node_modules/fomantic-ui-css/semantic.min.css';

but in app.vue i have other include librare from node_modules and they works example: @import 'swiper/dist/css/swiper.css';

devopg avatar Dec 01 '20 18:12 devopg

@devopg Please create a discussion for your issue here.

ko2in avatar Dec 01 '20 20:12 ko2in

Should be fixed by #2272 and #2280

lubber-de avatar Mar 25 '22 10:03 lubber-de