Note that I move scheduler trial folder in my project path '/lib/scheduler'
Here's my step
- install scheduler/build
npm i --save lib/scheduler/build
- build and install bryntum-angular-shared
cd lib/scheduler/examples/angular/_shared npm i npm run build cd ../../../../.. npm i --save lib/scheduler/examples/angular/dist/bryntum-angular-shared
- Add 'bryntum-angular-shared' and '@angular' to file tsconfig.json
"paths": { "bryntum-angular-shared": ["lib/scheduler/examples/angular/_shared/dist/bryntum-angular-shared"], "@angular/*": ["node_modules/@angular/*"] }
- Add 'BryntumAngularSharedModule' to file app.module.ts
- Implement '<bry-scheduler>' in app.component.html
<div> <bry-scheduler #scheduler></bry-scheduler> </div>
@import '../../lib/scheduler/build/scheduler.material.css';
ERROR TypeError: Cannot read property 'name' of null
at _0x1dcfc4 (scheduler.umd.js:48)
at _0x206b8d.renderRows (scheduler.umd.js:48)
at _0x206b8d.onPaint (scheduler.umd.js:15)
at _0x206b8d.callback (scheduler.umd.js:9)
at _0x206b8d.trigger (scheduler.umd.js:12)
at _0x206b8d.triggerPaint (scheduler.umd.js:12)
at _0x206b8d.render (scheduler.umd.js:12)
at _0x206b8d.render (scheduler.umd.js:15)
at _0x206b8d.render (scheduler.umd.js:33)
at _0x129529.functionChainRunner (scheduler.umd.js:12)
View_AppComponent_0 @ AppComponent.html:1
AppComponent.html:1 ERROR CONTEXT DebugContext_