Scheduler trial version - react_build is not working

Show cool things you have done with our products
Post Reply
User avatar
amarjoshi
Posts: 1
Joined: Sun Feb 10, 2019 5:38 am

Scheduler trial version - react_build is not working

Post by amarjoshi » Sun Feb 10, 2019 5:55 am

I have downloaded bryntum-scheduler-1.x-trial.zip. In Example react_build is not working. Did npm install and npm start throws an error?

Code: Select all

ℹ 「wds」: Project is running at http://localhost:3000/
ℹ 「wds」: webpack output is served from http://localhost:3000/dist
ℹ 「wds」: Content not from webpack is served from /Users/amarjoshi/Documents/scheduler-1.2.2-trial/examples/react_build/public
✖ 「wdm」: Hash: 1363c01bda8e8d117fb0
Version: webpack 4.8.3
Time: 1949ms
Built at: 02/09/2019 7:51:04 PM
    Asset      Size  Chunks             Chunk Names
bundle.js  1.19 MiB    main  [emitted]  main
Entrypoint main = bundle.js
[0] multi (webpack)-dev-server/client?http://localhost:3000 ./src/index.jsx 40 bytes {main} [built]
[./node_modules/ansi-html/index.js] 4.16 KiB {main} [built]
[./node_modules/ansi-regex/index.js] 135 bytes {main} [built]
[./node_modules/loglevel/lib/loglevel.js] 7.68 KiB {main} [built]
[./node_modules/react-dom/index.js] 1.33 KiB {main} [built]
[./node_modules/react/index.js] 190 bytes {main} [built]
[./node_modules/strip-ansi/index.js] 161 bytes {main} [built]
[./node_modules/url/url.js] 22.8 KiB {main} [built]
[./node_modules/webpack-dev-server/client/index.js?http://localhost:3000] (webpack)-dev-server/client?http://localhost:3000 7.78 KiB {main} [built]
[./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.58 KiB {main} [built]
[./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 1.05 KiB {main} [built]
[./node_modules/webpack/hot sync ^\.\/log$] (webpack)/hot sync nonrecursive ^\.\/log$ 170 bytes {main} [built]
[./node_modules/webpack/hot/emitter.js] (webpack)/hot/emitter.js 77 bytes {main} [built]
[./src/App.jsx] 6.31 KiB {main} [built]
[./src/index.jsx] 471 bytes {main} [built]
    + 139 hidden modules

ERROR in ./src/components/BryntumScheduler.jsx
Module not found: Error: Can't resolve './scheduler.module.js' in '/Users/amarjoshi/Documents/scheduler-1.2.2-trial/examples/react_build/src/components'
 @ ./src/components/BryntumScheduler.jsx 43:23-55
 @ ./src/App.jsx
 @ ./src/index.jsx
 @ multi (webpack)-dev-server/client?http://localhost:3000 ./src/index.jsx
ℹ 「wdm」: Failed to compile.

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

Re: Scheduler trial version - react_build is not working

Post by pmiklashevich » Mon Feb 11, 2019 11:56 am

Thank you for the report! We will investigate and back to you shortly.
Pavel Miklashevich - Core Developer

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

Re: Scheduler trial version - react_build is not working

Post by pmiklashevich » Mon Feb 11, 2019 12:54 pm

scheduler.module.js is getting copied to /src/components by copy.sh script which is called from start.sh. Probably build.sh/copy.sh/start.sh files have no permissions to be executable in your OS. Could you please make sure the rights are "755" and try `npm install` `npm start` again?
Pavel Miklashevich - Core Developer

Post Reply