mozilla / addons

☂ Umbrella repository for Mozilla Addons ✨
Other
127 stars 41 forks source link

Tried to run the development server with the commands mentioned but browser says cant reach the page #2188

Open SamarthBagga opened 1 year ago

SamarthBagga commented 1 year ago

Describe the problem and steps to reproduce it:

I cloned the repo. I ran yarn command. I ran yarn amo:stage. I get this page when I go to 127.0.0.1.3000 - image

and get just unstyled html on 127.0.0.1.3333- image

also get this in the command pallette- [0] ./util.inspect (ignored) 15 bytes [built] [code generated] [0] [0] WARNING in DefinePlugin [0] Conflicting values for 'process.env.NODE_ENV' [0] [0] 1 warning has detailed information that is not shown. [0] Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it. [0] [0] webpack 5.82.1 compiled with 1 warning in 40627 ms [1] [1685272118373329700] INFO (amo/4103): :fire: Addons-frontend server is running [ENV:development] [isDevelopment:true] [isDeployed:false] [apiHost:http://localhost:3000] [apiPath:/api/] [apiVersion:v5] [1] [1685272118375365400] DEBUG (amo/4103): :vertical_traffic_light: Proxy detected, frontend running at http://127.0.0.1:3333. [1] [1685272118375456500] DEBUG (amo/4103): :eye: Open your browser at http://127.0.0.1:3000 to view it. [1] [1685272192936660700] WARN (amo/4103): CSP has been disabled from the config

What happened?

What did you expect to happen?

Anything else we should know?

Ran all the commands through wsl2 ubuntu on windows 10.

┆Issue is synchronized with this Jira Task

KevinMind commented 5 months ago

Old Jira Ticket: https://mozilla-hub.atlassian.net/browse/ADDFRNT-220