-
Notifications
You must be signed in to change notification settings - Fork 294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error deploying to Heroku #7
Comments
Hi there! Great to hear you're excited :D I haven't tried to setup NAF on Heroku yet but I'd like to include it as a default configuration soon. That being said, try changing the package.json's "start" script to |
Thank you for the help! Ah, makes sense that watchify isn't needed since that is only for watching local dev changes and refreshing the browser on the fly? I tried changing the start script to what you said, and removing the Procfile I had created, but I still get an error, here is the complete log:
Seems like it waits a minute for the port to bind and then it gives up? |
In case this is easier to see, here is the relevant error line I think?
|
Hi! I got it working! https://shrouded-headland-88245.herokuapp.com/basic.html I just had to change Let me know if you'd like to know anything more about how I did the deploy on Heroku, would be happy to tell you whatever I did. I think the only changes were the port line and the start script you mentioned. |
Ah! I have a new issue now, I can open the Heroku URL on two tabs on my Macbook and the networking works. Then, when I try the same URL on my Google Pixel (which should be a third user), the URL loads and the app loads, but it's not networked, just a lonely instance. I am leaving this comment here just fyi on my progress, but if the problem persists I can open a new issue for that, and close this issue anytime. |
Awesome! I've added the port fix to the main branch: #5 Changed the npm start script: 828034f And I just published a tutorial on getting started that should help a lot! Tutorial: Getting started with Networked-Aframe. The mobile issue has been reported here: #2 I haven't reproduced yet but will be taking a look shortly. Thanks for your investigation! |
…emove-entity-issues Catch errors related to race conditions on ownership change and entity removal. Also fix memory leak.
Hello!
I am very excited to try some networked-aframe projects with my team at elevr.com. We all have Google Pixel/Daydream devices.
I tested networked-aframe locally and it ran fine.
I then tried deploying to Heroku and ran into this error:
The logs also say this at some point:
sh: 1: watchify: not found
I changed the package.json to match my
node
andnpm
local versions.I am not sure if it has to do with the
npm run easyrtc-install
step that perhaps Heroku is never running. I tried to figure out how to have Heroku run that line automatically afternpm install
but wasn't able to make it work.Please let me know if you have any tips, thank you!
The text was updated successfully, but these errors were encountered: