-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
bitecs require fails on hubs-cloud branch #5642
Comments
Hmm this is surprising, the version of aframe and network-aframe pointed at by the hubs-cloud branch should not yet have the bitecs dependency... |
I thought so, too. It seems https://github.com/mozilla/hubs/blob/hubs-cloud/package.json#L111 and https://github.com/mozilla/hubs/blob/hubs-cloud/package.json#L78 are pointing at master which both require bitecs? |
Right but package-lock.json in the hubs cloud branch is pointing at a pre-bitecs commits for aframe and networked-aframe, so
Is your local lockfile getting changed somehow? Note that until #5619 you should technically be using node 10.16.1. We recognized most people don't want to use such an ancient version of node (ourselves included) and that we were long overdue for an upgrade, but that won't be landing until next month's Hubs Cloud release. |
The node version is in fact on the older side, and yes, we did start using 12 at one point, then 14.19.3. The issue is definitely on us since we tried so hard not to use v10. I suppose this could be closed if that is the case. Losing a package lock shouldn't happen, but if it does it can be detrimental. |
Just want to confirm it works for you if you run on the older node version. If it does then yeah, you won't have to live with it much longer as the release in a few weeks will include the node/webpack update. (You can probably pull form master and start using it now if you are feeling adventurous, I don't know of any backend changes that happened that would make it incomparable) |
I would close this one. I'll do that. I'd like to start using 16.16.0 from the master branch. Maybe we will try that soon. We have 14.20.0 working so if I have some time I'll branch and break it. Thanks for looking at this. |
I hit this as well. If you |
Description
npm run build
fails after fresh clone/branch of hubs-cloud is chosen. Master branch has the package in the package.json for bitecs. The hubs-cloud branch may either need to have that also installed, or networked-aframe and aframe packages patched for this difference. The peer dependency is not installed when using hubs-cloud branch.To Reproduce
Steps to reproduce the behavior:
npm ci
npm run build
Expected behavior
The code compiles.
Hardware
The text was updated successfully, but these errors were encountered: