Hi
After switching daypilot from demo version to licensed , project refuses to start.
To replicate: run e.g https://code.daypilot.org/67423/angular-2-scheduler-tutorial-typescript
and switch daypilot to 8.3.2709.tar.gz (latest available)
gives =>
Error: (SystemJS) Cannot read property 'Scheduler' of undefined
TypeError: Cannot read property 'Scheduler' of undefined
at execute (http://localhost:8080/app/app.component.ts!transpiled:69:170)
Error loading http://localhost:8080/app/main.ts
If I do the same in my own project I get similar problems:
first:
(that semicolon at the end ?)
..node_modules\daypilot-pro-angular\daypilot-angular.min.d.ts:1261:2
Statements are not allowed in ambient contexts.
[default] Checking finished with 1 errors
and then:
Uncaught TypeError: Cannot read property 'Angular' of undefined
at eval (eval at <anonymous> (app.js:2851), <anonymous>:61:109)
at eval (eval at <anonymous> (app.js:2851), <anonymous>:69:2)
at Object.<anonymous> (app.js:2851)
at __webpack_require__ (polyfills.js:53)
at eval (eval at <anonymous> (app.js:2641), <anonymous>:4:20)
at Object.<anonymous> (app.js:2641)
at __webpack_require__ (polyfills.js:53)
at Object.<anonymous> (app.js:3793)
at __webpack_require__ (polyfills.js:53)
at webpackJsonpCallback (polyfills.js:24)
at app.js:1
@NgModule({
imports:....
declarations: [....., DayPilot.Angular.Scheduler], <- points here in app.modules.ts
if I replace licensed daypilot min js file with the demo js file everything startsup again.
Have I missed something installing licensed version ?
BR MT