Hy
I am trying to install the "Semantic UI" CSS-Framework on a Windows 10 PC with npm number from node.js.
I closely followed the official installation instructions .
- I installed successful node.js (v4.0.0) with the official Windows installer .
- Windows cmd introduced
npm install -g gulp for installing gulp (npm v2.14.2).- The first time I have an
ECONNRESET error that I could solve . Thus, gulp was successfully installed globally.
At least I tried several times to set up a semantic interface with this code:
npm install semantic-ui --save cd semantic gulp build
Which works halfway is WARN peerdependencies and the missing jQuery dependency package. But I can still create a new installed default semantic interface platform with gulp build .
I said that it works halfway on my Windows 10 system, but also when I try to call a local copy of the default template file Fixed Menu I got into the Google Chrome developer tools after an error:
Unprepared ReferenceError: jQuery undefined /semantic.min.js: 11
Well, this is just an unknown link, but it pointed to a missing jQuery package. After searching it, I found the npm package npm -install-missing (the best result for my predicament) and try it in the project folder - nothing happens because the package.json dependency file does not exist.
So I went deeper in my project structure using npm "project folder \ node_modules \ semantic_ui and started it again. The result was a complete package update for each package in the node_modules stick with closed jQuery and a few more: github, gulp -concat-filenames , gulp -debug, gulp -git, gulp -json-editor, gulp -prompt, gulp -tap, merge-stream, mkdirp and key. Thus, 11 packages were skipped due to semantic interface dependencies.
But jQuery ReferenceError is still available. When you try to use the google chromes developer tools on the official semantic-ui.com/ , which is created with its own structure, so you cannot get any errors, although they put the semantic.min.js file in the same default directory dist /semantic.min.js. So, my path has only one directory in front: semantic / dist / semantic.min.js - but this is the way it is done in the official documentation.
Hope someone can help me fully implement this infrastructure. :)
Thanks,
Robert
source share