Semantic-Org / Semantic-UI

Semantic is a UI component framework based around useful principles from natural language.
http://www.semantic-ui.com
MIT License
51.09k stars 4.95k forks source link

Installation stuck on Creating src/theme.config #6641

Open miladild opened 5 years ago

miladild commented 5 years ago

Hello guys, I have tried to install semantic UI several times but It stucks at the following stage: Creating src/theme.config (LESS config) C:\Users\miladild\semantic\src\theme.config

I have Unistalled Node and Installed it again but it did not worked

Is anyone can who can help me?

Testcase

[Fork, update, and replace to show the bug]: https://jsfiddle.net/ca0rovs3/

s
nighthacker commented 5 years ago

The same problem here. Windows 10. It is not possible to install this package for weeks. This is ridiculous.

etshy commented 5 years ago

I have Win 10 and had no problem here to install/update (my last update was few days ago).

For @miladild problem, it seems to be the first file to be created, right ? Maybe your npm/yarn doesn't have access to this directory, did you try to create your project outside your "user's folder" ?

nighthacker commented 5 years ago

@etshy I checked it. This is not a problem with user's folder. :( I dont think its a problem with access rights because files in /semantic are created successfully (even theme.config) npm version : 6.1.0

UPDATE: npm updated to 6.4.1. - bug still exists.

fpstidston commented 5 years ago

I have the same problem as @nighthacker

Also 6.4.1

AndrewBoklashko commented 5 years ago

Hi everyone I had the same problem and I was able to resolve it by installing earlier NodeJS version. I was on 10.13.0 and downgraded to 10.11.0.

nighthacker commented 5 years ago

Hello @SSkovboiSS unfortunately, downgrade to 10.11 does not help in my case.

enginhu commented 5 years ago

I have the same problem. Will try now downgrade the nodejs version.

enginhu commented 5 years ago

I have the same problem. Will try now downgrade the nodejs version.

Downgrading 10.11.0 worked for me.

mjauernig commented 5 years ago

Hi everyone I had the same problem and I was able to resolve it by installing earlier NodeJS version. I was on 10.13.0 and downgraded to 10.11.0.

Exactly the same here.

fpstidston commented 5 years ago

Downgrading 10.11.0 worked for me.

nighthacker commented 5 years ago

Hi everyone I had the same problem and I was able to resolve it by installing earlier NodeJS version. I was on 10.13.0 and downgraded to 10.11.0.

Exactly the same here. @fpstidston @mjauernig

Windows 10 ?

fpstidston commented 5 years ago

Yes

Sent from my iPhone

On 15 Nov 2018, at 18:20, nighthacker notifications@github.com wrote:

Hi everyone I had the same problem and I was able to resolve it by installing earlier NodeJS version. I was on 10.13.0 and downgraded to 10.11.0.

Exactly the same here. @fpstidston @mjauernig

Windows 10 ?

โ€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

mjauernig commented 5 years ago

Yes, Windows 10.

sink66 commented 5 years ago

I had the same problem, but it was solved by downgrade of Node.js.

npm v6.4.1 + node.js

v11.2.0 v10.13.0 v10.11.0 v10.10.0 v10.5.0 v10.3.0 v10.2.0 Doesnโ€™t work for me.

v10.1.0 v10.0.0 v9.11.2 Worked for me.

@nighthacker Please try node.js v10.1.0 or lower. Just in case, revert "package.json" and delete "package-lock.json", "node_modules", "semantic.json".

KayJay89 commented 5 years ago

I can affirm same problem exists here. Also Windows 10.

Node v10.14.0 NPM v6.4.1

Dark-Yox commented 5 years ago

v10.14.1 v11.2.0 v11.3.0 Doesnโ€™t work for me.

v10.1.0 Worked for me.

subramn commented 5 years ago

I had the same problem and downgrading to v10.1.0 fixed it. thanks

huangenyang commented 5 years ago

Program still exists, this is ridiculous

nighthacker commented 5 years ago

@huangenyang This is why i switched to Bulma/Buefy. There is no even a person assigned to this task. Waste of time.

Miilu commented 5 years ago

I had the same problem and downgrading to v10.1.0 did not work ,then i create a new folder on the desktop ,it worked.

Fusseldieb commented 5 years ago

Same here. Windows 10.

From what I see, that problem is going for months and nobody even glimpses an eye at this.

This has been attributed "High Prority" and it's taking months, imagine something not "High priority"....

I know that nobody is being paid for this, nor is it a job, but if the semantic team wants their package to be popular and well received, at least fix bugs that prevent people from even normally installing (and using) the thing.

@hammy2899 News?

y0hami commented 5 years ago

@Fusseldieb I have no idea what is happening with this issue. If you are still having this issue I suggest trying to install using node 8 and make sure you aren't running the build script with gulp4.

I would also recommend trying Fomantic-UI because you can install that ๐Ÿ˜‰

Fusseldieb commented 5 years ago

I would also recommend trying Fomantic-UI because you can install that ๐Ÿ˜‰

Thank you for that. Worked just fine... Using latest npm and node (at the time of writing)

image

For those who don't know: Fomantic-UI is the same as Semantic-UI, but at the time of writing more updated and with more design elements.

From what I've read they plan to merge Fomantic into Semantic later, so I think with that, this issue should die. It's already solved on Fomantic, as seen above.

Gabriel-Prado commented 5 years ago

I would also recommend trying Fomantic-UI because you can install that wink

Thank you for that. Worked just fine... Using latest npm and node (at the time of writing)

image

For those who don't know: Fomantic-UI is the same as Semantic-UI, but at the time of writing more updated and with more design elements.

From what I've read they plan to merge Fomantic into Semantic later, so I think with that, this issue should die. It's already solved on Fomantic, as seen above.

I have not found the Fomantic-UI repository. Where can I find it?

Fusseldieb commented 5 years ago

I have not found the Fomantic-UI repository. Where can I find it?

https://fomantic-ui.com/ https://github.com/fomantic/fomantic-ui/

lmercie3 commented 5 years ago

I had the same problem so I tried with fomantic instead of semantic but now it's the gulp build that doesn't work.

image

Fusseldieb commented 5 years ago

I had the same problem so I tried with fomantic instead of semantic but now it's the gulp build that doesn't work.

@lmercie3 Have you tried to install gulp-help with npm install gulp-help ?

lmercie3 commented 5 years ago

@lmercie3 Have you tried to install gulp-help with npm install gulp-help ?

I just tried and still doesn't work :

image

Fusseldieb commented 5 years ago

@lmercie3 Have you tried to install gulp-help with npm install gulp-help ?

I just tried and still doesn't work :

image

Hmm, strange... But why are you trying to use gulp on this? It should be ready to use..

lmercie3 commented 5 years ago

Well... I was just following the Fomantic installation guide :

image

Anyway, thank you for answering fast ๐Ÿ‘

Fusseldieb commented 5 years ago

Well... I was just following the Fomantic installation guide :

Also be sure to use the latest node & npm version, just in case.

Anyway, thank you for answering fast ๐Ÿ‘

No problem

y0hami commented 5 years ago

@lmercie3 try using npx gulp build if you still have issues after that open an issue on FUI since this is the SUI repo.

CDT commented 5 years ago

I can't install semantic on my every windows computer, please fix this issue !

y0hami commented 5 years ago

@CDT what version of node, npm and SUI are you using?

CDT commented 5 years ago

@hammy2899

node: v11.6.0
npm: 6.5.0-next.0
semantic-ui: should be 2.4.2, as no version is specified

stuck here forever: image

y0hami commented 5 years ago

@CDT Do you have a version of gulp installed globally? $ gulp --version

CDT commented 5 years ago

@CDT Do you have a version of gulp installed globally? $ gulp --version

gulp version:

global CLI version: 2.0.1
Local version in semantic: 3.9.1
y0hami commented 5 years ago

@CDT Try the following and if it works

$ mkdir sui-test && cd sui-test
$ npm init -y
$ npm install semantic-ui --ignore-scripts
$ cd node_modules/semantic-ui
$ npx gulp install
go through the installer
$ cd ../../
$ ls -la
check if semantic/ directory exists
CDT commented 5 years ago

@CDT Try the following and if it works

$ mkdir sui-test && cd sui-test
$ npm init -y
$ npm install semantic-ui --ignore-scripts
$ cd node_modules/semantic-ui
$ npx gulp install
go through the installer
$ cd ../../
$ ls -la
check if semantic/ directory exists

no luck, at npx gulp install still stuck at Creating src/theme.config (LESS config)

y0hami commented 5 years ago

@CDT try the following

If you are using nvm:

$ nvm install v10.1.0
$ nvm use v10.1.0
$ npm install semantic-ui

Using node via exe installer:

Download the v10.1.0 installer from here https://nodejs.org/dist/v10.1.0/ and install it once installed try installing SUI again

$ npm install semantic-ui

NOTE: Remember to restart your CMD after installing node.

CDT commented 5 years ago

@hammy2899 Now it works! Thank you! I downgraded node from v11.6.0 to v10.1.0 and now everything works like a charm. So the root cause is semantic-ui is not compatible with the latest node.

janevskidamjan commented 5 years ago

Hi everyone I had the same problem and I was able to resolve it by installing earlier NodeJS version. I was on 10.13.0 and downgraded to 10.11.0.

Exactly the same here.

Worked for me Thanks

kuworking commented 5 years ago

Still unfixed.

For me it didn't work on node 10.12. Uninstalled, installed v10.10, and it works. โ†’ Didn't know of Fomantic-ui, I'll be keeping an eye for when they release the react version :)

UnnitMetaliya commented 5 years ago

Same problem. Installation stuck on creating theme.config file. Battled with this issue for two days. Tried installing fomantic-ui workaround. Worked like a charm! Thanks for putting that out.

StefJanssen20 commented 5 years ago

In my case, it worked adding a semantic.json to the root of the project. it should look like this: { "base": "semantic/", "paths": { "source": { "config": "src/theme.config", "definitions": "src/definitions/", "site": "src/site/", "themes": "src/themes/" }, "output": { "packaged": "../src/assets/semantic/dist/", "uncompressed": "../src/assets/semantic/dist/components/", "compressed": "../src/assets/semantic/dist/components/", "themes": "../src/assets/semantic/dist/themes/" }, "clean": "../src/assets/semantic/dist/" } } Be sure you don't have a version in the file.

RobJacobson commented 5 years ago

Same problem here. Even after updating to 10.16. I'll try the downgrade suggestion.

Update: The downgrade to 10.11 worked for me.

EmirhanAksoy commented 4 years ago

Same problem here.

vladipus commented 4 years ago

Same for me =(

HarryAdney commented 4 years ago

Over a year and this still isn't fixed? And this is a HIGH priority? The devs are actually chasing Windows 10 users away from SUI.

Not cool, dudes; not cool.

y0hami commented 4 years ago

For everyone who is still having this problem take a look at Fomantic-UI we have updated to gulp4 and node 12 which fixes these problems with installing. It is also the active community fork because SUI is practically dead.

@HarryAdney @vladipus @EmirhanAksoy @RobJacobson