I'm trying to launch the latest CP version on localhost, but I do get a few errors.
Uncaught ReferenceError: Cannot access 'firebase' before initialization at eval (webpack-internal:///./src/boot/config.js:38)
Access to XMLHttpRequest at 'https://c.statcounter.com/t.php?sc_project=12479073&u1=A0C3024441174FFD2C4A4184AB1A615A&java=1&security=bab9fed1&sc_snum=1&sess=30eed3&p=0&rcat=d&rdomo=d&rdomg=1167&jg=1167&rr=1.1.1.1.1.1.1.1.1&resolution=1920&h=1080&camefrom=&u=http%3A//localhost%3A8123/&t=Cycle%20Planet&invisible=1&sc_rum_e_s=6230&sc_rum_e_e=6238&sc_rum_f_s=0&sc_rum_f_e=6192&get_config=true' from origin 'http://localhost:8123' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'http://localhost' that is not equal to the supplied origin.
Failed to load resource: net::ERR_FAILED
I first run npm run start-emulators and then npm run dev. I've already installed the latest npm packages with npm install.
Does someone know how to solve this issue? I'm also expecting others who are new to run into the same issue, so it would be great to have a steady solution.
I'm trying to launch the latest CP version on localhost, but I do get a few errors.
Uncaught ReferenceError: Cannot access 'firebase' before initialization at eval (webpack-internal:///./src/boot/config.js:38)
Access to XMLHttpRequest at 'https://c.statcounter.com/t.php?sc_project=12479073&u1=A0C3024441174FFD2C4A4184AB1A615A&java=1&security=bab9fed1&sc_snum=1&sess=30eed3&p=0&rcat=d&rdomo=d&rdomg=1167&jg=1167&rr=1.1.1.1.1.1.1.1.1&resolution=1920&h=1080&camefrom=&u=http%3A//localhost%3A8123/&t=Cycle%20Planet&invisible=1&sc_rum_e_s=6230&sc_rum_e_e=6238&sc_rum_f_s=0&sc_rum_f_e=6192&get_config=true' from origin 'http://localhost:8123' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'http://localhost' that is not equal to the supplied origin.
Failed to load resource: net::ERR_FAILED
I first run
npm run start-emulators
and thennpm run dev
. I've already installed the latest npm packages withnpm install
.Does someone know how to solve this issue? I'm also expecting others who are new to run into the same issue, so it would be great to have a steady solution.