question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

npm install semantic-ui not working

See original GitHub issue

npm install semantic-ui npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js npm WARN deprecated natives@1.1.6: This module relies on Node.js’s internals and will break at some point. Do not use it, and update to graceful-fs@4.x.

semantic-ui@2.4.2 install C:\dev\dawr_manager\dawr-front\node_modules\semantic-ui gulp install

fs.js:27 const { Math, Object } = primordials; ^

ReferenceError: primordials is not defined at fs.js:27:26 at req_ (C:\dev\dawr_manager\dawr-front\node_modules\natives\index.js:143:24) at Object.req [as require] (C:\dev\dawr_manager\dawr-front\node_modules\natives\index.js:55:10) at Object.<anonymous> (C:\dev\dawr_manager\dawr-front\node_modules\vinyl-fs\node_modules\graceful-fs\fs.js:1:37) at Module._compile (internal/modules/cjs/loader.js:959:30) at Object.Module._extensions…js (internal/modules/cjs/loader.js:995:10) at Module.load (internal/modules/cjs/loader.js:815:32) at Function.Module._load (internal/modules/cjs/loader.js:727:14) at Module.require (internal/modules/cjs/loader.js:852:19) at require (internal/modules/cjs/helpers.js:74:18) npm WARN rollback Rolling back vinyl@1.2.0 failed (this is probably harmless): EPERM: operation not permitted, lstat ‘C:\dev\dawr_manager\dawr-front\node_modules\vinyl-file\node_modules’ npm WARN tsutils@3.17.1 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules\jest-haste-map\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64”}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64”}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64”})

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! semantic-ui@2.4.2 install: gulp install npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the semantic-ui@2.4.2 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\tluan\AppData\Roaming\npm-cache_logs\2020-01-09T16_14_09_583Z-debug.log

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:3
  • Comments:5

github_iconTop GitHub Comments

4reactions
lubber-decommented, Oct 6, 2022

Could you try if the community fork https://github.com/fomantic/Fomantic-UI works? It uses Gulp 4 and supports newer node versions

1reaction
leoli-devcommented, Feb 18, 2020

Could you try if the community fork https://github.com/fomantic/Fomantic-UI works? It uses Gulp 4 and supports newer node versions

This library works, thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Installation] Unable to install Semantic-UI using NPM #6897
[NPM Installation] Error installing Semantic-UI via NPM install Steps The following command to install semantic-ui: $ npm install --save ...
Read more >
I can't install " npm install semantic-ui-react ... - Stack Overflow
These 3 lines list semantic-ui-react 's peer dependency, meaning it expects your project to have either React 16.8 or React 17 as dependency....
Read more >
semantic-ui - npm
Start using semantic-ui in your project by running `npm i semantic-ui`. There are 54 other projects in the npm registry using semantic-ui.
Read more >
Getting Started | Semantic UI
The easiest way to install Semantic UI is our NPM package which contains special install scripts to make setup interactive and updates seamless....
Read more >
Semantic-Org/Semantic-UI - Gitter
Hi, I have a problem installing the semantic ui from node.js. When I insert a command from the documentation ( npm install semantic-ui...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found