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.07k stars 4.96k forks source link

error: install semantic-ui #7131

Open KilluazinFDC opened 6 months ago

KilluazinFDC commented 6 months ago

os: win 10 node: 20.10 npm: 10.2.3

error:

npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated 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 cleanup Failed to remove some directories [ npm WARN cleanup [ npm WARN cleanup 'C:\Users\gusta\OneDrive\Área de Trabalho\KillHost\node_modules\duplexify', npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\gusta\OneDrive\Área de Trabalho\KillHost\node_modules\duplexify\node_modules\readable-stream\lib\internal'] { npm WARN cleanup errno: -4048, npm WARN cleanup code: 'EPERM', npm WARN cleanup syscall: 'rmdir', npm WARN cleanup path: 'C:\Users\gusta\OneDrive\Área de Trabalho\KillHost\node_modules\duplexify\node_modules\readable-stream\lib\internal' npm WARN cleanup } npm WARN cleanup ] npm WARN cleanup ] npm ERR! code 1 npm ERR! path C:\Users\gusta\OneDrive\Área de Trabalho\KillHost\node_modules\semantic-ui npm ERR! command failed npm ERR! command C:\Windows\system32\cmd.exe /d /s /c gulp install npm ERR! Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\gusta\OneDrive\Área de Trabalho\KillHost\node_modules\gulp-autoprefixer\index.js from C:\Users\gusta\OneDrive\Área de Trabalho\KillHost\node_modules\semantic-ui\tasks\watch.js not supported. npm ERR! Instead change the require of index.js in C:\Users\gusta\OneDrive\Área de Trabalho\KillHost\node_modules\semantic-ui\tasks\watch.js to a dynamic import() which is available in all CommonJS modules. npm ERR! at Object. (C:\Users\gusta\OneDrive\Área de Trabalho\KillHost\node_modules\semantic-ui\tasks\watch.js:13:18) { npm ERR! code: 'ERR_REQUIRE_ESM' npm ERR! }

npm ERR! A complete log of this run can be found in: C:\Users\gusta\AppData\Local\npm-cache_logs\2023-12-15T13_21_11_182Z-debug-0.log

image

GammaGames commented 6 months ago

duplicate of #7115, semantic isn't maintained anymore. Try the community fork with npm install fomantic-ui --save