fomantic / Fomantic-UI

Fomantic-UI is the official community fork of Semantic-UI
https://fomantic-ui.com
MIT License
3.55k stars 331 forks source link

[npx gulp build] Reference Error #3056

Closed ghabriel25 closed 3 months ago

ghabriel25 commented 3 months ago

Bug Report

I'm trying to install fomantic ui with npm just like the documentation but unfortunately get this when I try run npx gulp build

Steps to reproduce

  1. Installing via NPM npm install fomantic-ui in my project (fresh laravel project)

  2. cd node_modules/fomantic-ui then npx gulp install (folder: resources/semantic/)

  3. Here is my package.json image

  4. cd resources/semantic/ then run npx gulp build

Expected result

Run npx gulp build without error

Actual result

An error occured with label ReferenceError: require is not defined in ES module scope, you can use import instead

Screenshot (if possible)

image

Version

2.9.3