Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows npm setup doesn't seem to install everything required. #2002

Closed
Nathan-022 opened this issue Mar 22, 2015 · 5 comments
Closed

Windows npm setup doesn't seem to install everything required. #2002

Nathan-022 opened this issue Mar 22, 2015 · 5 comments

Comments

@Nathan-022
Copy link

Following the npm instructions on the 'Download' page (i.e. 'npm install semantic-ui') seems to download everything to the project folder specified, but when I then try to follow the getting started instructions:

'#install semantic dependencies'
npm install

it fails because there is no package.json. Am I missing something? Is this not how the node package is supposed to be used? If so, more detail should be added to the docs to make it clear what the setup procedure is.

(Note: I worked around this by just downloading the git repository, which did include the necessary files, but still feel this isn't an ideal setup experience and the documentation could be clearer)

@jlukic
Copy link
Member

jlukic commented Mar 23, 2015

The getting started guide needs an update. I would accept any PR if someone had the time to help update.

The whole procedure if installing from npm is just

npm install semantic-ui --save #  # answer install questions
cd /ui #or your install folder
gulp build 
# or
gulp watch

semantic.json should be in your project root, and semantic will be installed to a sub folder after install

Update should just be

npm update

As long as you have your semantic.json file in root, it will run special update scripts on npm update to preserve your theme changes etc but add new default theme definitions/themes

@krainboltgreene
Copy link

I'm definitely having similar issues: https://gist.github.com/krainboltgreene/837ed6451fdab954c370 (Two things: Hang on after install, needs some library?)

@jlukic
Copy link
Member

jlukic commented Jul 20, 2015

I've updated to node 12.x and NPM 2.11.x and can now replicate this issue.

Was not having issues with earlier NPM versions.

@jlukic
Copy link
Member

jlukic commented Jul 20, 2015

I think there's an issue with install script hanging from non zero exit conditions in more recent NPM versions. I'm working on it now.

@jlukic
Copy link
Member

jlukic commented Jul 23, 2015

#1816 #2086 Closing as dupe. See upcoming solves there.

@jlukic jlukic closed this as completed Jul 23, 2015
@jlukic jlukic added this to the 2.0.7 milestone Jul 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants