Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi i have problem when i use command "salla theme p" and the problem is : #485

Open
Zeyadalofie opened this issue Oct 29, 2024 · 0 comments

Comments

@Zeyadalofie
Copy link

WARNING in ./src/assets/styles/app.scss (./src/assets/styles/app.scss.webpack[javascript/auto]!=!./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/assets/styles/app.scss)
Module Warning (from ./node_modules/sass-loader/dist/cjs.js):
Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api
@ ./src/assets/styles/app.scss

ERROR in ./src/assets/styles/app.scss (./src/assets/styles/app.scss.webpack[javascript/auto]!=!./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/assets/styles/app.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Undefined mixin.

10 │ @include flexable(center, space-between, row);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src\assets\styles\04-components\virtooal.scss 10:3 @use
src\assets\styles\app.scss 88:1 root stylesheet
@ ./src/assets/styles/app.scss

ERROR in ./src/assets/styles/app.scss
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Undefined mixin.

10 │ @include flexable(center, space-between, row);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src\assets\styles\04-components\virtooal.scss 10:3 @use
src\assets\styles\app.scss 88:1 root stylesheet
at tryRunOrWebpackError (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\HookWebpackError.js:86:9)
at webpack_require_module (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Compilation.js:5276:12)
at webpack_require (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Compilation.js:5233:18)
at C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Compilation.js:5305:20
at symbolIterator (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:3485:9)
at done (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:3527:9)
at Hook.eval [as callAsync] (eval at create (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\tapable\lib\HookCodeFactory.js:33:10), :15:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\tapable\lib\Hook.js:18:14)
at C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Compilation.js:5211:43
at symbolIterator (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:3482:9)
at timesSync (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:2297:7)
at Object.eachLimit (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:3463:5)
at C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Compilation.js:5173:16
at symbolIterator (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:3485:9)
at timesSync (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:2297:7)
at Object.eachLimit (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:3463:5)
at C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Compilation.js:5141:15
at symbolIterator (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:3485:9)
at done (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:3527:9)
at C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Compilation.js:5087:8
at C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Compilation.js:3521:5
at C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Cache.js:97:5
at Hook.eval [as callAsync] (eval at create (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\tapable\lib\HookCodeFactory.js:33:10), :16:1)
at Cache.get (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Cache.js:79:18)
at ItemCacheFacade.get (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\CacheFacade.js:115:15)
at Compilation._codeGenerationModule (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Compilation.js:3485:9)
at codeGen (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Compilation.js:5075:11)
at symbolIterator (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:3482:9)
at timesSync (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:2297:7)
at Object.eachLimit (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:3463:5)
at C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Compilation.js:5105:14
at processQueue (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\util\processAsyncTree.js:61:4)
at process.processTicksAndRejections (node:internal/process/task_queues:85:11)
-- inner error --
Error: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Undefined mixin.

10 │ @include flexable(center, space-between, row);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src\assets\styles\04-components\virtooal.scss 10:3 @use
src\assets\styles\app.scss 88:1 root stylesheet
at Object. (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\css-loader\dist\cjs.js??ruleSet[1].rules[1].use[1]!C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\postcss-loader\dist\cjs.js!C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\sass-loader\dist\cjs.js!C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\src\assets\styles\app.scss:1:7)
at C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\javascript\JavascriptModulesPlugin.js:453:10
at Hook.eval [as call] (eval at create (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\tapable\lib\HookCodeFactory.js:19:10), :7:1)
at Hook.CALL_DELEGATE [as _call] (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\tapable\lib\Hook.js:14:14)
at C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Compilation.js:5278:39
at tryRunOrWebpackError (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\HookWebpackError.js:81:7)
at webpack_require_module (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Compilation.js:5276:12)
at webpack_require (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Compilation.js:5233:18)
at C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Compilation.js:5305:20
at symbolIterator (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:3485:9)
at done (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:3527:9)
at Hook.eval [as callAsync] (eval at create (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\tapable\lib\HookCodeFactory.js:33:10), :15:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\tapable\lib\Hook.js:18:14)
at C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Compilation.js:5211:43
at symbolIterator (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:3482:9)
at timesSync (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:2297:7)
at Object.eachLimit (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:3463:5)
at C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Compilation.js:5173:16
at symbolIterator (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:3485:9)
at timesSync (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:2297:7)
at Object.eachLimit (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:3463:5)
at C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Compilation.js:5141:15
at symbolIterator (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:3485:9)
at done (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:3527:9)
at C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Compilation.js:5087:8
at C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Compilation.js:3521:5
at C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Cache.js:97:5
at Hook.eval [as callAsync] (eval at create (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\tapable\lib\HookCodeFactory.js:33:10), :16:1)
at Cache.get (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Cache.js:79:18)
at ItemCacheFacade.get (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\CacheFacade.js:115:15)
at Compilation._codeGenerationModule (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Compilation.js:3485:9)
at codeGen (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Compilation.js:5075:11)
at symbolIterator (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:3482:9)
at timesSync (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:2297:7)
at Object.eachLimit (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\neo-async\async.js:3463:5)
at C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\Compilation.js:5105:14
at processQueue (C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\webpack\lib\util\processAsyncTree.js:61:4)
at process.processTicksAndRejections (node:internal/process/task_queues:85:11)

Generated code for C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\css-loader\dist\cjs.js??ruleSet[1].rules[1].use[1]!C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\postcss-loader\dist\cjs.js!C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\node_modules\sass-loader\dist\cjs.js!C:\Users\Zeyad\OneDrive\سطح المكتب\Salla Theme\Test\src\assets\styles\app.scss
1 | throw new Error("Module build failed (from ./node_modules/sass-loader/dist/cjs.js):\nUndefined mixin.\n ╷\n10 │ @include flexable(center, space-between, row);\r\n │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n ╵\n src\assets\styles\04-components\virtooal.scss 10:3 @use\n src\assets\styles\app.scss 88:1 root stylesheet");

webpack 5.95.0 compiled with 2 errors and 1 warning in 87 ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant