You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
workaround:
You can pass in an explicit path and it does correctly prefix the dependencies so set an env variable in your package script for the path you want to use. like this (start is for local dev where it can run at root, and build is for gh pages):
I ran into this problem when trying to deploy to github pages, which puts everything in a subdirectory with the name of your project ie:
https://ubernaut.github.io/simple-template/
you should be able to pass in a relative path (like './') so compact would be resolved at:
https://ubernaut.github.io/simple-template/compact
instead, it will insist on trying to find it here:
https://ubernaut.github.io/compact/
this doesn't work, phy will fail to find the physics hex files in compact if they aren't at the root of your url's path:
workaround:
You can pass in an explicit path and it does correctly prefix the dependencies so set an env variable in your package script for the path you want to use. like this (start is for local dev where it can run at root, and build is for gh pages):
then reference the variable in the init
The text was updated successfully, but these errors were encountered: