Installation semantic ui error

Error message:
2789632-b2cf7be8f49899b1.png
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":"win32","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.

npm ERR! A complete log of this run can be found in:
npm ERR!     G:\nodejs\cache\_logs\2019-06-13T00_23_39_055Z-debug.log

As to where the problem is unknown, just try out a solution, as follows:

  1. Delete package-lock.json
  2. Delete package.json inside gulp
  3. npm init, npm install
  4. npm install -g gulp
  5. npm install semantic-ui --save
    fill initialization information, note that fill, Yes is selected by using the arrow keys, as follows:


    2789632-db7d4739b778ff4a.png
    Fill in some parameters during installation

    2789632-615c3fc56c357b1c.png

    2789632-38d64ce2e9f0adab.png

Guess you like

Origin blog.csdn.net/zhonghua_csdn/article/details/92993974