I looked your demo on your website, it looks good.
however, I downloaded your sample, tried to run the code separately on my PC, it failed.
also, I did the following to integrate into my existing project, it failed as well.
We downloaded and try to integrate into our app.
- Downloaded bryntum-scheduler-trial.zip
- Upzip the file
- Run npm install --save C:\Downloads\bryntum-scheduler-trial\scheduler-2.2.1-trial
pls see the errors attached for the integration case.
please advise.
Support Forum
Hello,
What OS are you on? Looking at the path you mentioned "C:\Downloads\bryntum-scheduler-trial\scheduler-2.2.1-trial" I assume it's Windows.
Problem #1: Start our demos
If you want to start "basic" demo, please follow the steps below:
1. Go to examples/react/typescript/basic
2. Run `npm install` and `npm run start`
If you want to start "filtering" demo, please follow the steps below:
1. Go to examples/react/_shared
2. Run `npm install` and `npm run build`
NOTE: if you're on Windows first need to update examples/react/_shared/package.json file "scripts" block and then run `npm run build` (we have a ticket to fix it: https://app.assembla.com/spaces/bryntum/tickets/8996):
3. Go to examples/react/typescript/filtering
4. Run `npm install` and `npm run start`.
All these steps are described in corresponding readme files:
examples/react/typescript/basic/README.md
examples/react/typescript/filtering/README.md
Please try to get both demo running and let me know how it goes.
Problem #2: Integrate scheduler to your app
In your case "Scheduler" is "scheduler-2.2.1-trial", so full path might look like this:
In build/package.json you can see that the package is called "bryntum-scheduler"
So after installation please go to "node_modules" of your application and check if "bryntum-scheduler" is there. Also in package.json of your app you should find something like this:
Let me know please if it works for you.
If you have any questions, please feel free to ask and I'll try to help you asap.
Best,
Pavel
What OS are you on? Looking at the path you mentioned "C:\Downloads\bryntum-scheduler-trial\scheduler-2.2.1-trial" I assume it's Windows.
Problem #1: Start our demos
What demo did you try to get running? We have "basic" and "filtering".I downloaded your sample, tried to run the code separately on my PC, it failed.
If you want to start "basic" demo, please follow the steps below:
1. Go to examples/react/typescript/basic
2. Run `npm install` and `npm run start`
If you want to start "filtering" demo, please follow the steps below:
1. Go to examples/react/_shared
2. Run `npm install` and `npm run build`
NOTE: if you're on Windows first need to update examples/react/_shared/package.json file "scripts" block and then run `npm run build` (we have a ticket to fix it: https://app.assembla.com/spaces/bryntum/tickets/8996):
"scripts": {
"build": "(if exist build rd /Q /S build) && (set NODE_ENV=production) && babel src/lib --out-dir build --copy-files --ignore __tests__,spec.js,test.js,__snapshots__ && postinstall"
},
4. Run `npm install` and `npm run start`.
All these steps are described in corresponding readme files:
examples/react/typescript/basic/README.md
examples/react/typescript/filtering/README.md
Please try to get both demo running and let me know how it goes.
Problem #2: Integrate scheduler to your app
If you look at our guide carefully, you'll see that local packages are installed from "build" folder:I did the following to integrate into my existing project, it failed as well...
Run npm install --save C:\Downloads\bryntum-scheduler-trial\scheduler-2.2.1-trial
npm install --save Scheduler/build
npm install --save C:\Downloads\bryntum-scheduler-trial\scheduler-2.2.1-trial\build
"name": "bryntum-scheduler",
"dependencies": {
"bryntum-scheduler": "file:../../../../build", // path to the scheduler-2.2.1-trial\build
...
If you have any questions, please feel free to ask and I'll try to help you asap.
Best,
Pavel
Pavlo Miklashevych
Sr. Frontend Developer
added two more files for error info
- Attachments
-
- localhost-1565291910091.log
- (23.21 KiB) Downloaded 120 times
Exception is thrown because scheduler styles are missing in the app.
Ticket opened here: https://app.assembla.com/spaces/bryntum/tickets/9029-react-app-in-trial-distribution-should-not-throw-when-styles-are-missing/details
Ticket opened here: https://app.assembla.com/spaces/bryntum/tickets/9029-react-app-in-trial-distribution-should-not-throw-when-styles-are-missing/details
I'm not sure what do you mean by full functionalities. Please elaborate your question?
There are number of examples of the scheduler features. Also all features are listed here.
Online documentation should also help you to learn how to use scheduler, often class docs include code snippets.
All features are available in the trial distribution, which differs from licensed version mostly by lack of human-readable sources.
Scheduler is a standalone JS library which is not distributed via npm. Although, there are number of integration demos (react/angular/vue etc) which use distribution as a local npm package.are there any libraries we need to download? or we need to do npm install from somewhere other than from the example we downloaded?