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.1k stars 4.95k forks source link

NPM won't install #6773

Closed martykan closed 5 years ago

martykan commented 5 years ago

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 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 graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
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

> semantic-ui@2.4.2 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 test@1.0.0 No description
npm WARN test@1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","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.

Version

2.4.2

martykan commented 5 years ago

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

AlighaThor commented 5 years ago

Reporting the same issue.

AlighaThor commented 5 years ago

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?

martykan commented 5 years ago

With npm install gulp-print@5.0.0 it works, 5.0.1 seems to be broken

AlighaThor commented 5 years ago

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

martykan commented 5 years ago

It's been promptly fixed in gulp-print 5.0.2

timbog80 commented 4 years ago

Unfortunately, this is still an issue in 2020


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

> semantic-ui@2.4.2 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 moleculo@1.0.0 No description
npm WARN moleculo@1.0.0 No repository field.

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!     /Users/timbogdanov/.npm/_logs/2020-01-25T01_58_49_691Z-debug.log
➜  moleculo```
Pledix commented 4 years ago

Unfortunately, this is still an issue in 2020

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

> semantic-ui@2.4.2 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 moleculo@1.0.0 No description
npm WARN moleculo@1.0.0 No repository field.

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!     /Users/timbogdanov/.npm/_logs/2020-01-25T01_58_49_691Z-debug.log
➜  moleculo```

I have same issue! What I need to do?

rafaelgrube commented 4 years ago

Unfortunately, this is still an issue in 2020

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

> semantic-ui@2.4.2 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 moleculo@1.0.0 No description
npm WARN moleculo@1.0.0 No repository field.

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!     /Users/timbogdanov/.npm/_logs/2020-01-25T01_58_49_691Z-debug.log
➜  moleculo```

I have same issue! What I need to do?

Me too!

lubber-de commented 4 years ago

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:

esalkan commented 4 years ago

Unfortunately, this is still an issue in 2020

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

> semantic-ui@2.4.2 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 moleculo@1.0.0 No description
npm WARN moleculo@1.0.0 No repository field.

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!     /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

skendall74 commented 4 years ago

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

huayong1678 commented 4 years ago

Unfortunately, this is still an issue in 2020

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

> semantic-ui@2.4.2 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 moleculo@1.0.0 No description
npm WARN moleculo@1.0.0 No repository field.

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!     /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

ggcaponetto commented 4 years ago

welcome 2020

gordiash commented 4 years ago

same here

ggcaponetto commented 4 years ago

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 .

iamphoenix310 commented 3 years ago

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