Issues with modules can't be recognized in package.json

It’s the same as in your previous post. Can you run
dfx build and then
dfx canister install --all and after that
ID=$(xxd -u -p canisters/hello_location/_canister.id) and
CRC=$(python2 -c "import crc8;h=crc8.crc8();h.update('$ID'.decode('hex'));print(h.hexdigest())")

and then you run echo $ID and echo $CRC again and post the output :slight_smile:

Bundling frontend assets in the canister
AdamT-F0122: adam.tothfejel$ dfx canister install --all
Installing code for canister hello_location, with canister_id ic:EAC34E24B02AD38575
AdamT-F0122: adam.tothfejel$ ID=(xxd -u -p canisters/hello_location/_canister.id) AdamT-F0122: adam.tothfejel CRC=$(python -c "import crc8;h=crc8.crc8();h.update(’ID'.decode('hex'));print(h.hexdigest())") AdamT-F0122: adam.tothfejel echo ID EAC34E24B02AD385 AdamT-F0122: adam.tothfejel echo $CRC
75

now open
http://127.0.0.1:8000/?canisterId=EAC34E24B02AD38575

No you can make sure you’re on the right built :slight_smile: If it still says “loading” the problem should be somewhere in your code

Yes it says still loading, my terminal is not telling me any error output. Where would I begin troubleshooting this?

I think my main.js is getting misplaced? I have 2 main.js. I may not be referencing the right one I think?

Probably by examining the connection between your backend and the frontend.

I don’t think just mixing those two projects togethe will just work out of the box :frowning:

Right now, I am not using any backend, I am just experimenting using dfinity and bootstrap.

I guess I just feel it would be super helpful if there was someplace to see what exactly may be causing the UI to not work properly.

when you start dfx without the background flag you see the error messages

Ah ok, well I also have this issue:

pkill client nodemanager dfx does not work, does anyone have any other suggestions?

42620 ttys006 0:00.00 grep nodemanager
AdamT-F0122: adam.tothfejel$ sudo pkill client nodemanager dfx
AdamT-F0122: adam.tothfejel$ ps -ax | grep nodemanager
42627 ttys006 0:00.00 grep nodemanager
AdamT-F0122: adam.tothfejel$ sudo pkill client nodemanager dfx
AdamT-F0122: adam.tothfejel$ ps -ax | grep nodemanager
42631 ttys006 0:00.00 grep nodemanager
AdamT-F0122: adam.tothfejel$ sudo pkill client nodemanager dfx
AdamT-F0122: adam.tothfejel$ ps -ax | grep nodemanager
42635 ttys006 0:00.00 grep nodemanager
AdamT-F0122: adam.tothfejel$ sudo pkill client nodemanager dfx
AdamT-F0122: adam.tothfejel$ ps -ax | grep nodemanager
42639 ttys006 0:00.00 grep nodemanager

Do you know what might be causing this?

See here:

Thanks, the same question was coming from me :).

No prob. Just linking the thread for Moritz and anyone who might be following later ;).

1 Like

Ok perfect, thank you.