Semantic-ui: NPM won't install

Created on 13 Mar 2019  Â·  17Comments  Â·  Source: Semantic-Org/Semantic-UI

Steps

  1. Create a new directory, init npm
  2. Run npm install semantic-ui

Expected Result

It installs as it should.

Actual Result

# npm install semantic-ui
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js

> [email protected] install /test/node_modules/semantic-ui
> gulp install

internal/modules/cjs/loader.js:651
    throw err;
    ^

Error: Cannot find module 'gulp-print'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:649:15)
    at Function.Module._load (internal/modules/cjs/loader.js:575:25)
    at Module.require (internal/modules/cjs/loader.js:705:19)
    at require (internal/modules/cjs/helpers.js:14:16)
    at Object.<anonymous> (/test/node_modules/semantic-ui/tasks/watch.js:20:18)
    at Module._compile (internal/modules/cjs/loader.js:799:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:810:10)
    at Module.load (internal/modules/cjs/loader.js:666:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:606:12)
    at Function.Module._load (internal/modules/cjs/loader.js:598:3)
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `gulp install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Version

2.4.2

Most helpful comment

I moved to fomantic UI without any problem

On Sun, Mar 8, 2020, 11:49 AM Jaroslaw Jakubczyk notifications@github.com
wrote:

same here

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Semantic-Org/Semantic-UI/issues/6773?email_source=notifications&email_token=AD7ZGE2ILJZCORY5MJBYX7LRGNZ3NA5CNFSM4G6AV2ZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOESSUQ#issuecomment-596191570,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD7ZGE3TK2QULUAKTW7VFGDRGNZ3NANCNFSM4G6AV2ZA
.

All 17 comments

A temporary solution currently is to include the gulp-print dependency manually. This works for me.

Reporting the same issue.

A temporary solution currently is to include the gulp-print dependency manually. This works for me.

Hi @martykan. Did you install manually gulp-print so?

With npm install [email protected] it works, 5.0.1 seems to be broken

@martykan It worked. Weird, but it worked. Thanks!

It's been promptly fixed in gulp-print 5.0.2

Unfortunately, this is still an issue in 2020

```npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js

[email protected] install /Users/timbogdanov/Desktop/sites/moleculo/node_modules/semantic-ui
gulp install

fs.js:35
} = primordials;
^

ReferenceError: primordials is not defined
at fs.js:35:5
at req_ (/Users/timbogdanov/Desktop/sites/moleculo/node_modules/natives/index.js:143:24)
at Object.req [as require] (/Users/timbogdanov/Desktop/sites/moleculo/node_modules/natives/index.js:55:10)
at Object. (/Users/timbogdanov/Desktop/sites/moleculo/node_modules/semantic-ui/node_modules/graceful-fs/fs.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:1151:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10)
at Module.load (internal/modules/cjs/loader.js:1000:32)
at Function.Module._load (internal/modules/cjs/loader.js:899:14)
at Module.require (internal/modules/cjs/loader.js:1040:19)
at require (internal/modules/cjs/helpers.js:72:18)
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: gulp install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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! /Users/timbogdanov/.npm/_logs/2020-01-25T01_58_49_691Z-debug.log
➜ moleculo```

Unfortunately, this is still an issue in 2020

npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js

> [email protected] install /Users/timbogdanov/Desktop/sites/moleculo/node_modules/semantic-ui
> gulp install

fs.js:35
} = primordials;
    ^

ReferenceError: primordials is not defined
    at fs.js:35:5
    at req_ (/Users/timbogdanov/Desktop/sites/moleculo/node_modules/natives/index.js:143:24)
    at Object.req [as require] (/Users/timbogdanov/Desktop/sites/moleculo/node_modules/natives/index.js:55:10)
    at Object.<anonymous> (/Users/timbogdanov/Desktop/sites/moleculo/node_modules/semantic-ui/node_modules/graceful-fs/fs.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:1151:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1040:19)
    at require (internal/modules/cjs/helpers.js:72:18)
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `gulp install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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!     /Users/timbogdanov/.npm/_logs/2020-01-25T01_58_49_691Z-debug.log
➜  moleculo```

I have same issue! What I need to do?

Unfortunately, this is still an issue in 2020

npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js

> [email protected] install /Users/timbogdanov/Desktop/sites/moleculo/node_modules/semantic-ui
> gulp install

fs.js:35
} = primordials;
    ^

ReferenceError: primordials is not defined
    at fs.js:35:5
    at req_ (/Users/timbogdanov/Desktop/sites/moleculo/node_modules/natives/index.js:143:24)
    at Object.req [as require] (/Users/timbogdanov/Desktop/sites/moleculo/node_modules/natives/index.js:55:10)
    at Object.<anonymous> (/Users/timbogdanov/Desktop/sites/moleculo/node_modules/semantic-ui/node_modules/graceful-fs/fs.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:1151:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1040:19)
    at require (internal/modules/cjs/helpers.js:72:18)
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `gulp install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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!     /Users/timbogdanov/.npm/_logs/2020-01-25T01_58_49_691Z-debug.log
➜  moleculo```

I have same issue! What I need to do?

Me too!

Try the actively maintained community fork https://github.com/fomantic/Fomantic-UI which is backward compatible to semanic but uses gulp 4 and updated dependencies (and a lot more features .... :wink:

Unfortunately, this is still an issue in 2020

npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js

> [email protected] install /Users/timbogdanov/Desktop/sites/moleculo/node_modules/semantic-ui
> gulp install

fs.js:35
} = primordials;
    ^

ReferenceError: primordials is not defined
    at fs.js:35:5
    at req_ (/Users/timbogdanov/Desktop/sites/moleculo/node_modules/natives/index.js:143:24)
    at Object.req [as require] (/Users/timbogdanov/Desktop/sites/moleculo/node_modules/natives/index.js:55:10)
    at Object.<anonymous> (/Users/timbogdanov/Desktop/sites/moleculo/node_modules/semantic-ui/node_modules/graceful-fs/fs.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:1151:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1040:19)
    at require (internal/modules/cjs/helpers.js:72:18)
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `gulp install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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!     /Users/timbogdanov/.npm/_logs/2020-01-25T01_58_49_691Z-debug.log
➜  moleculo```

I have same issue! What I need to do?

Me too!

Me Too

Closed? I am having the same problem. In 2020.

Unfortunately, this is still an issue in 2020

npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js

> [email protected] install /Users/timbogdanov/Desktop/sites/moleculo/node_modules/semantic-ui
> gulp install

fs.js:35
} = primordials;
    ^

ReferenceError: primordials is not defined
    at fs.js:35:5
    at req_ (/Users/timbogdanov/Desktop/sites/moleculo/node_modules/natives/index.js:143:24)
    at Object.req [as require] (/Users/timbogdanov/Desktop/sites/moleculo/node_modules/natives/index.js:55:10)
    at Object.<anonymous> (/Users/timbogdanov/Desktop/sites/moleculo/node_modules/semantic-ui/node_modules/graceful-fs/fs.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:1151:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1040:19)
    at require (internal/modules/cjs/helpers.js:72:18)
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `gulp install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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!     /Users/timbogdanov/.npm/_logs/2020-01-25T01_58_49_691Z-debug.log
➜  moleculo```

I have same issue! What I need to do?

Me too!

Me Too

Me Too. In 2020

welcome 2020

same here

I moved to fomantic UI without any problem

On Sun, Mar 8, 2020, 11:49 AM Jaroslaw Jakubczyk notifications@github.com
wrote:

same here

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Semantic-Org/Semantic-UI/issues/6773?email_source=notifications&email_token=AD7ZGE2ILJZCORY5MJBYX7LRGNZ3NA5CNFSM4G6AV2ZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOESSUQ#issuecomment-596191570,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD7ZGE3TK2QULUAKTW7VFGDRGNZ3NANCNFSM4G6AV2ZA
.

Hi All, Use npm install semantic-ui-css
Works like a charm :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  Â·  3Comments

iPaoo picture iPaoo  Â·  3Comments

Morrolan picture Morrolan  Â·  3Comments

playgithub picture playgithub  Â·  3Comments

vinhtq picture vinhtq  Â·  3Comments