-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
initial setup error #143
Comments
Comment by landonreed Hi @esoftgsp, sorry for the confusion. You should be using http://conveyal-data-tools.readthedocs.io/en/user-doc-update/dev/deployment/ All you need to do to build is You can also serve the files with Webpack will not work with the application. |
Comment by esoftgsp Hi @landonreed, thanks for your response but it didn't work, I repeated all the instructions in a new machine (this time I used centos linux), but I'm getting the same error in the browser's js console. (I'm using nodejs 6.11.4) Could you share a zip of a working "datatools-ui" already built with all the dependencies and ready to deploy? This is a log of the error I get in the browser Thanks, |
Comment by landonreed Apologies for the non-response, @esoftgsp. There have been significant changes to the application setup (on the dev branch) since this issue was created. I am closing this for now, but please re-open if you continue to experience these issues on the dev branch. |
🎉 This issue has been resolved in version 4.1.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Issue by esoftgsp
Tuesday Oct 03, 2017 at 16:51 GMT
Originally opened as catalogueglobal#37
Hi,
I'm trying to build datatools ui & server using the latest version of their dev repositories.
The server seems ok and I can successfully login into the application from port 9966, but in the browser the app reports the following error:
"Error: addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component's
render
method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner)."For the UI, I'm not sure about what build instructions should I follow between:
http://conveyal-data-tools.readthedocs.io/en/latest/dev/deployment/
and
http://conveyal-data-tools.readthedocs.io/en/user-doc-update/dev/deployment/
I followed this one:
$ mastarm build --config /path/to/configurations/dir
but I had to run "npm install" and copy the "package.json" into "\node_modules\react-modal\node_modules\react" because it was missing and crashed the build.
Should I use webpack? I tried to install it (with yarn and npm install) but it's not working (I'm using windows)
Any advice?
Thanks,
Marco
The text was updated successfully, but these errors were encountered: