Our pure JavaScript Scheduler component


Post by vanik »

Hi team,

My organization has recently bought the licensed version of Scheduler Pro 4.2.2. I have been given .zip file containing the scheduler pro component.
Currently I am using trial version through npm and .npmrc file. Please let me know the steps to upgrade (I am using Scheduler Pro React wrapper ) to licensed version.

Thanks,
Vani


Post by Maxim Gorkovsky »

Hello.
Please refer to this guide: https://bryntum.com/docs/gantt/#Gantt/guides/npm-repository.md#installing-trial-packages
It shows how to change package json to load licensed package instead of trial one (tldr: just leave version number for @bryntum packages)


Post by vanik »

Hi Maxim,
My question is there any way of using the Scheduler Pro with source (given by bryntum licensed version - zip file) along with React Wrapper? Because I tried placing the licensed version in my source code (schedulerpro.umd.js) and used the react wrapper it started giving error in Bryntum React Wrapper that is used in code.

ERROR in ../node_modules/@bryntum/schedulerpro-react/BryntumFullscreenButton.js
Module not found: Error: Can't resolve '@bryntum/schedulerpro/schedulerpro.umd' in 'C:\SourceCode\ValkyrieFrontendApp\node_modules\@bryntum\schedulerpro-react'


Post by Maxim Gorkovsky »

Why do you want to replace sources? If you have scheduler pro license, then you can just install package from NPM and use it - it is the same licensed version. Only thing you need to do is change package version in your package.json (and maybe delete package-lock.json), as we describe in our guide which I linked above


Post by saki »

In this case it would be best to download tgz file from https://npm.bryntum.com and install that:

npm i ~/bryntum/schedulerpro-4.2.2.tgz

You may also need to copy fonts and themes manually to the application.

Note: This is not recommended. The recommended way is above in @maxim's reply.


Post Reply