yosoyubik / canvas

Peer-to-peer paint app for Urbit
MIT License
142 stars 9 forks source link

Error on |start %canvas #3

Closed basilesportif closed 4 years ago

basilesportif commented 4 years ago

I put the full path to my ship's pier dir in .urbitrc, ran npm run build, and then boot up a moon. %home is mounted, I run |commit %home, and then |start %canvas. I get the following:

> |start %canvas
>=
activated app home/canvas
%cx /~ranbel-tacser-timluc-miptev/home/~2020.5.20..17.26.57..ffa7/app/canvas/hoon
scry failed for
ford: %hood failed for /~ranbel-tacser-timluc-miptev/home/0/app/canvas/hoon:
ford: %core on /~ranbel-tacser-timluc-miptev/home/0/app/canvas/hoon failed:
yosoyubik commented 4 years ago

What happens if you do |start %canvas-view? (maybe also check on the browser at URL:PORT/~canvas

Also, check that all files are there: +ls %/app/canvas. I get the same error if I run a non-existing app:

> |start %lienzo
>=
activated app home/lienzo
%cx /~migryl-ronmyn-polser-ricmul--havseb-dignev-watsym-marzod/home/~2020.5.21..06.11.26..ee60/app/lienzo/hoon
scry failed for
ford: %hood failed for /~migryl-ronmyn-polser-ricmul--havseb-dignev-watsym-marzod/home/0/app/lienzo/hoon:
ford: %core on /~migryl-ronmyn-polser-ricmul--havseb-dignev-watsym-marzod/home/0/app/lienzo/hoon failed:
basilesportif commented 4 years ago

OK, based on your comment and checking myself, I think the issue was that I in .urbitrc I used my ship's directory as the pier, rather than the mounted home dir. Think we can close this, my bad.