skip to Main Content

Previous Issue

I was facing below issue while running app in the browser.
Could not find a canister id to forward to.

Then to resolve this issue I followed below link. Canister

I created the canister but stuck at step where we have to run command.

  1. open http://localhost:8080/?canisterId=XXXXXXX

Then I tried to dfx deploy and npm start from terminal and now it is running as expected but…

after running app in browser : http://localhost:8080/ getting window for username password. I tried my ubuntu username pswd but did not work.

Any idea why this issue is coming.

issue

Successfully ran npm below screen shot.

success

Also if I click cancel then getting below mentioned error.

Unauthorized

2

Answers


  1. Chosen as BEST ANSWER

    Solution

    I resolved the error basically there is no need to run npm start with latest version of dfx deploy we get the frontend canister link where we can run url in browser.

    solution

    run that url and it works fine!!!


  2. If you want to check further updates then check dfinity forum.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search