After downloading the trial version . I am getting error when trying npm i.
error
[email protected] postinstall:'node scripts/build.js'
i am using node version 8 on my windows machine.
These are the steps done .
1)Download the bryntum-gantt-trial and extract
2)It was not clear from the documentation ,which all places we need to do npm I and npm build
so from this forum topic (
viewtopic.php?f=44&t=10214
) we found that
First you need to navigate to examples/react/_shared and run npm install && npm run build. Then you navigate to examples/react/javascript/basic and run same npm i && npm run build.
The build command inside shared was failing ,so we updated the build script based on this forum answer (
viewtopic.php?f=44&t=11906&p=63189&hilit=NODE_ENV#p63189
)
and build was succesfull ,
but npm i from javascript/basic is giving the error
[email protected] postinstall:'node scripts/build.js'
Any link to documentation on folder locations which require npm i ,would be really helpfull.
Also would like to know what are the steps required to include this as a component to our react application created using create react app.
since the example project seems to have multiple dependencies ,
we would like to know steps on how to install bryntum-gantt and bryntum-react-shared as a package dependency and import it to our application.
We performed all tests in linux environment and this instructions work fine.
Unfortunately these demos are quite new and were not carefully tested in Windows.
I've reviewed these installation packages and adopted them to be compatible with Windsows.
folder with the ones from this zip. Zip has the same folder structure so you could just copy it over existing.