Closed ghabriel25 closed 3 months ago
I'm trying to install fomantic ui with npm just like the documentation but unfortunately get this when I try run npx gulp build
npx gulp build
Installing via NPM npm install fomantic-ui in my project (fresh laravel project)
npm install fomantic-ui
cd node_modules/fomantic-ui then npx gulp install (folder: resources/semantic/)
cd node_modules/fomantic-ui
npx gulp install
Here is my package.json
package.json
cd resources/semantic/ then run npx gulp build
cd resources/semantic/
Run npx gulp build without error
An error occured with label ReferenceError: require is not defined in ES module scope, you can use import instead
2.9.3
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
Installing via NPM
npm install fomantic-ui
in my project (fresh laravel project)cd node_modules/fomantic-ui
thennpx gulp install
(folder: resources/semantic/)Here is my
package.json
cd resources/semantic/
then runnpx gulp build
Expected result
Run
npx gulp build
without errorActual result
An error occured with label ReferenceError: require is not defined in ES module scope, you can use import instead
Screenshot (if possible)
Version
2.9.3