Our pure JavaScript Scheduler component


Post by Dev@2609 »

Team,

I am trying out the demo scheduler product(scheduler-2.3.1-trial\examples\angular\advanced) and getting error while building the solution

1. Failed to find bryntum-scheduler/scheduler.material.css
2. Failed to find bryntum-angular-shared
3. Failed to find Cannot find module bryntum-scheduler/scheduler.umd.js

Any help would be appreciated.
Attachments
builderror.png
builderror.png (142.86 KiB) Viewed 1616 times

Post by Maxim Gorkovsky »

Hello.
When you move or copy demo folder, you need to update package.json to point it to your local scheduler distribution.
bryntum-scheduler -> ~/work/scheduler-2.3.1-trial/
bryntum-resources -> ~/work/scheduler-2.3.1-trial/examples/_shared
bryntum-angular-shared -> ~/work/scheduler-2.3.1-trial/examples/angular/_shared

Post by Dev@2609 »

Hi Maxim,

While building the gannt product i did not map to my local, still it works fine

Getting error while building the scheduler product

Post by Maxim Gorkovsky »

I have just downloaded trial from our site, extracted, navigated to advanced folder and run
npm i && npm run start
, it works.

Paths to packages are specified as relative, it means if you move folder with the demo or link it, you should make sure that paths to bryntum-* packages are correct.

Post by Dev@2609 »

Hi,
I am getting error after running npm i && npm run start

Please see the screenshot
Attachments
builderror1.png
builderror1.png (43.98 KiB) Viewed 1593 times

Post by Maxim Gorkovsky »

Error mesage suggests there was a problem accessing file system. I'd suggest to extract distribution to new folder to which you have full access and try again. This worked for me with the trial I downloaded.
Which node/npm version do you use? Could you provide log mentioned in the error message?

Post by Dev@2609 »

Node version is 10.15.3 and npm version is 4.6.1

This is how my packge.json is currently.
Attachments
pckg.png
pckg.png (119.18 KiB) Viewed 1588 times

Post by Maxim Gorkovsky »

Could you provide a log file? You'll find link to it in the error message.

Post by Dev@2609 »

here is the log file
Attachments
debug.txt
(117.5 KiB) Downloaded 102 times

Post by Maxim Gorkovsky »

Try to build shared package first?
cd examples/angular/_shared
npm i
npm run build

cd examples/angular/advanced
npm i
npm run start

Post Reply