Local Studio stuck showing a skeleton
Hi everyone,
this is what i do to start localstudio
start the app (the demo my-novu-app)
npm run dev
start local studio
npx novu@latest dev -d https://eu.dashboard.novu.co
enter this url in the browser http://localhost:2022/studio I'm redirected to https://eu.dashboard.novu.co/local-studio/auth?redirect_url=http%3A%2F%2Flocalhost%3A2022%2Fstudio&application_origin=http%3A%2F%2Flocalhost%3A4000&tunnel_origin=https%3A%2F%2Fc6d4819e-5c7c-49e0-82aa-94a729528858.novu.sh&tunnel_route=%2Fapi%2Fnovu&anonymous_id=1e2fdc9c-304f-486c-84dc-a61d36423060 and the browser shows a skeleton of the app and I'm stuck in this condition without any error Can you help me solve this problem?
enter this url in the browser http://localhost:2022/studio I'm redirected to https://eu.dashboard.novu.co/local-studio/auth?redirect_url=http%3A%2F%2Flocalhost%3A2022%2Fstudio&application_origin=http%3A%2F%2Flocalhost%3A4000&tunnel_origin=https%3A%2F%2Fc6d4819e-5c7c-49e0-82aa-94a729528858.novu.sh&tunnel_route=%2Fapi%2Fnovu&anonymous_id=1e2fdc9c-304f-486c-84dc-a61d36423060 and the browser shows a skeleton of the app and I'm stuck in this condition without any error Can you help me solve this problem?
Novu Cloud Dashboard
Novu Cloud Dashboard
Novu Cloud Dashboard
Novu Cloud Dashboard
9 Replies
@Matteo Grolla
Please check the developer console tab and network tab. Do you see any error?
Do you have these two variables in your `my-novu-app``
no errors in console
my-novu-app$ cat .env
NOVU_SECRET_KEY=deaf.......
can you add
NOVU_API_URL="https://eu.api.novu.co"
variable as well?my-novu-app$ cat .env
NEXT_PUBLIC_NOVU_APPLICATION_IDENTIFIER=J-DvumdZ8_cw
NEXT_PUBLIC_NOVU_SUBSCRIBER_ID=6756bdce3387f832d358ca7e
NOVU_API_URL="https://eu.api.novu.co"
NOVU_SECRET_KEY=dea...
Now I'm getting these errors
Hi @Pawan Jain , is there something I can do to solve the problem or should it be solved on Novu side?
thanks
@Matteo Grolla
Looks like you have account in US and you are using secret key from US account.
I would recommend to create new account on EU region https://eu.dashboard.novu.co and then use
NOVU_API_URL="https://eu.api.novu.co/" , eu account secret key and npx novu@latest dev -d https://eu.dashboard.novu.co/
Novu Cloud Dashboard
Novu Cloud Dashboard
Novu Cloud Dashboard
Novu Cloud Dashboard
If you want to keep using US account then you can remove NOVU_API_URL and -d flag from npx novu@latest dev command
by default novu uses US account
thank you so much!
I'm eager to experiment with Novu and now I can.
Wonderfull support!!!
@Matteo Grolla, you just advanced to level 1!