scheduler trial version : Can't resolve 'bryntum-scheduler'

Show cool things you have done with our products
User avatar
pmiklashevich
Core Developer
Core Developer
Posts: 2254
Joined: Fri Apr 01, 2016 11:08 am

Re: scheduler trial version : Can't resolve 'bryntum-scheduler'

Post by pmiklashevich » Tue Jul 23, 2019 2:04 pm

I haven't got any emails from you, sorry. Did you send it to support at bryntum dot com? Also I'm afraid screenshot won't help to understand what is going on in this case. We need to see a testcase. Testcase is a small application preferably created based on one of our samples, which has minimal code to show the issue you've faced with.
Pavel Miklashevich - Core Developer

User avatar
hetal
Posts: 6
Joined: Mon Jul 22, 2019 3:43 pm

Re: scheduler trial version : Can't resolve 'bryntum-scheduler'

Post by hetal » Wed Jul 24, 2019 7:44 am

1. Go to bryntum.com and download Bryntum Scheduler trial
2. Unzip bryntum-scheduler-trial.zip
3. Go to scheduler-2.2.0-trial/examples/react/_shared
4. Run `npm install` and then `npm run build`
5. copied path of build folder(/home/userName/Downloads/bryntum-scheduler-trial/scheduler-2.2.0-trial/build)
6. pasted in project package.json file

Code: Select all

"bryntum-scheduler": "file:~/Downloads/bryntum-scheduler-trial/scheduler-2.2.0-trial/build"
7.imported in one my project component

Code: Select all

import { BryntumScheduler } from 'bryntum-scheduler';
8. used BryntumScheduler as used in

Code: Select all

 /home/hetal/Downloads/bryntum-scheduler-trial/scheduler-2.2.0-trial/examples/react/javascript/simple/src/containers/main.js file
9. Run `npm install` and `npm start` in my project folder.
10. When this component is rendering i m getting error-
scheduler.module.js:172 Uncaught TypeError: Cannot read property 'name' of null
at _0x2df2f4 (scheduler.module.js:172)
at Scheduler.renderRows (scheduler.module.js:172)
at Scheduler.onPaint (scheduler.module.js:149)
at Scheduler.callback (scheduler.module.js:9)
at Scheduler.trigger (scheduler.module.js:9)
at Scheduler.triggerPaint (scheduler.module.js:11)
at Scheduler.render (scheduler.module.js:11)
at Scheduler.render (scheduler.module.js:149)
at Scheduler.render (scheduler.module.js:167)
at ScheduleTooltip.functionChainRunner (scheduler.module.js:23)
at Scheduler._0x181a3c.<computed> [as render] (scheduler.module.js:23)
at Scheduler.finalizeInit (scheduler.module.js:11)
at Scheduler.finalizeInit (scheduler.module.js:139)
at Scheduler.construct (scheduler.module.js:11)
at Scheduler.construct (scheduler.module.js:167)
at Scheduler.construct (scheduler.module.js:167)
at Scheduler.construct (scheduler.module.js:167)
at Scheduler.construct (scheduler.module.js:167)
at Scheduler.construct (scheduler.module.js:171)
at new Base (scheduler.module.js:9)
at new Localizable (scheduler.module.js:9)

please let me know if it is not reproducing. kindly give me support email ID so that i can send some snippets.

User avatar
pmiklashevich
Core Developer
Core Developer
Posts: 2254
Joined: Fri Apr 01, 2016 11:08 am

Re: scheduler trial version : Can't resolve 'bryntum-scheduler'

Post by pmiklashevich » Wed Jul 24, 2019 1:45 pm

Hello,

Please zip up your whole project (just remove node_modules) and send it to us (will send our support email address in PM). Make sure when I unzip your archive and run `npm install` and `npm run start` I'll see the error you see. Then I can try to help you to debug that thing.

Cheers,
Pavel
Pavel Miklashevich - Core Developer

Post Reply