This is a migrated thread and some comments may be shown as answers.

Building Customized Theme Fails

2 Answers 98 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Veteran
Iron
Iron
Alex asked on 26 Aug 2020, 05:05 PM

I am trying to build a custom theme by following the instructions here.

I cloned https://github.com/telerik/kendo-themes (tried with both develop and release, same result).

The npm install && npx lerna bootstrap steps were successful, but I got the error below from running npm run sass and npm run dart:

[12:31:08] Using gulpfile ~/kendo-themes/gulpfile.js
[12:31:08] Starting 'sass'...
[12:31:08] Compiling /home/awade/kendo-themes/packages/bootstrap/scss/all.scss to /home/awade/kendo-themes/packages/bootstrap/dist
[12:31:12] 'sass' errored after 4.44 s
[12:31:12] Error: ENOENT: no such file or directory, open '/home/awade/kendo-themes/packages/bootstrap/dist/all.css'
    at Object.openSync (fs.js:465:3)
    at Object.writeFileSync (fs.js:1416:35)
    at /home/awade/kendo-themes/packages/theme-tasks/gulpfile.js:129:12
    at Array.forEach (<anonymous>)
    at Object.build (/home/awade/kendo-themes/packages/theme-tasks/gulpfile.js:103:11)
    at /home/awade/kendo-themes/gulpfile.js:100:26
    at Array.map (<anonymous>)
    at buildAll (/home/awade/kendo-themes/gulpfile.js:92:16)
    at /home/awade/kendo-themes/gulpfile.js:124:12
    at sass (/home/awade/kendo-themes/node_modules/undertaker/lib/set-task.js:13:15)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ sass: `gulp sass`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ sass script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
 
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/awade/.npm/_logs/2020-08-26T16_31_12_646Z-debug.log

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Alex
Top achievements
Rank 1
Veteran
Iron
Iron
answered on 26 Aug 2020, 08:02 PM
I solved it. Before step 4 in the instructions, I had to execute "npm i gulp", then had to create a "dist" directory under each of the directories under <root>/packages/
0
Plamen
Telerik team
answered on 28 Aug 2020, 07:26 AM

Hello,

Thank you  for sharing your solution with the community - yes indeed it seems like the gulp install step is not included we will do our best to add it as soon as possible.

Regards,
Plamen
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive , special prizes and more, for FREE?! Register now for DevReach 2.0(20).

Tags
General Discussions
Asked by
Alex
Top achievements
Rank 1
Veteran
Iron
Iron
Answers by
Alex
Top achievements
Rank 1
Veteran
Iron
Iron
Plamen
Telerik team
Share this question
or