Public Ticket #2388

This problem appears when activating the template in laravel

Open
Comments
DexignLab
Khelesh Mehra replied 1 month ago on April 25, 2022 at 07:27 AM

Hello kazem,

Please copy the following code their respective files

1. In package.json file

"sass": "node-sass --watch public/scss/main.scss public/css/style.css --source-map css/style.css.map"

check:

https://prnt.sc/6cZkjn_Oa3VS

2. In the main.scss file

check:

https://prnt.sc/KyUhXlsbIyfH

After that compile it again.

https://prnt.sc/Ha2L4qMUnflb


I also shared an updated package file link. You can download it.

http://zip.dexignlab.com/kripton-laravel-package.zip

Thanks

Khelesh M

DexignZone Team

DexignLab
kazem hassan replied 1 month ago on April 24, 2022 at 08:32 AM

Hello, I tried it as you sent, the same problem appears to me

DexignLab
kazem hassan replied 1 month ago on April 24, 2022 at 08:31 AM

Hello, I tried it as you sent, the same problem appears to me

DexignLab
Khelesh Mehra replied 1 month ago on April 20, 2022 at 06:44 AM

Hello  Hassan,

It may some node issue, please try another way with the koala sass compiler software.

check: https://www.youtube.com/watch?v=j63PctT7GN4

http://koala-app.com/

Please try this way and reply to us. We are looking forward to your reply.

Thanks


DexignLab
kazem hassan replied 1 month ago on April 18, 2022 at 06:34 PM

Hello, I see this problem

PS C:\Users\nukh6\Desktop\website\laravel-package> npm run sass


> [email protected] sass

> node-sass --watch scss/main.scss css/style.css


An output directory must be specified when compiling a directory

An output directory must be specified when compiling a directory

node:internal/fs/utils:344

    throw err;

    ^


Error: ENOENT: no such file or directory, lstat 'scss/main.scss'

    at Object.lstatSync (node:fs:1516:3)

    at Object.module.exports.parseDir (C:\Users\nukh6\Desktop\website\laravel-package\node_modules\sass-graph\sass-graph.js:164:10)

    at Object.watcher.reset (C:\Users\nukh6\Desktop\website\laravel-package\node_modules\node-sass\lib\watcher.js:17:21)    at watch (C:\Users\nukh6\Desktop\website\laravel-package\node_modules\node-sass\bin\node-sass:296:20)

    at run (C:\Users\nukh6\Desktop\website\laravel-package\node_modules\node-sass\bin\node-sass:351:5)

    at Object.<anonymous> (C:\Users\nukh6\Desktop\website\laravel-package\node_modules\node-sass\bin\node-sass:437:3)

    at Module._compile (node:internal/modules/cjs/loader:1103:14)

    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)

    at Module.load (node:internal/modules/cjs/loader:981:32)

    at Function.Module._load (node:internal/modules/cjs/loader:822:12) {

  errno: -4058,

  syscall: 'lstat',

  code: 'ENOENT',

  path: 'scss/main.scss'

}

PS C:\Users\nukh6\Desktop\website\laravel-package>


DexignLab
Yamini Gaur replied 1 month ago on April 16, 2022 at 06:36 AM

Hello  kazem hassan,

Thanks for waiting.

Please follow the given link that is given below.

Check: https://kripton.dexignzone.com/laravel/doc/#sass-compile

Please use npm run sass instead of npm run scss.

Check: https://prnt.sc/uRg1X7dGUUda


Thanks & Regards

Yamini

DexignZone

DexignLab
Yamini Gaur replied 1 month ago on April 15, 2022 at 05:43 AM

Hello kazem hassan,

Thanks for being our customer.

We have received your ticket. We will reply to you as soon as possible.

Thanks & Regards

Yamini

DexignZone

DexignLab
kazem hassan replied started the conversation 1 month ago on April 15, 2022 at 01:47 AM

This problem appears when activating the template in laravelĀ 

5.- Run the Script

To execute our one-line script, we need to run the following command in the terminal: npm run scss

npm run scss

probleam

\laravel-package\laravel-package> npm run scss

npm ERR! Missing script: "scss"

npm ERR!

npm ERR! Did you mean this?

npm ERR! npm run sass # run the "sass" package script

npm ERR!

npm ERR! To see a list of scripts, run:

npm ERR! npm run


npm ERR! A complete log of this run can be found in:

npm ERR! C:\Users\nukh6\AppData\Local\npm-cache\_logs\2022-04-15T01_44_03_671Z-debug-0.log

PS C:\Users\nukh6\Downloads\Compressed\themeforest-QGogDBwX-kripton-crypto-admin-dashboard-template\Kripton-2.0-15-January-2022\laravel-package\laravel-package>


attached files: