#liamwalsh_unexpected
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1370421377600979085
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello, what step specifically is erroring out and what error is the CLI outputting?
Gotcha. Is that page emitting any errors in the dev tools console?
๐ตโ๐ซ Ofc, yes
Cors error: Access to fetch at 'https://r.stripe.com/b' from origin 'https://dashboard.stripe.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.Understand this error
r.stripe.com/b:1
Failed to load resource: net::ERR_FAILED
And something more promising:
dashboard.vendors~aaโฆ24d501cb.min.js:227 [Extension enable_app_preview] [runtime] sandbox initialization failed
Object
message
:
"Failed to initialize: Loading of extension bundle failed.
Bundle URL = http://localhost:4242/.build/ext.js.
Extension ID: enable_app_preview.
Caused by: Error: Failed to load script http://localhost:4242/.build/ext.js."
There we go, yeah the first error is related to telemetry and likely not related. Will see what has caused other reports of that error
Also have you tested in incognito/private mode? Sometimes plugins can have weird interactions with certain pages so it could be very helpful to try without them
Ill try that now
Still nothing
Is anyone else having this issue? Its really throwing me off that it happens on 2 different machines.
I've seen this issue before but I forget what resolved it. Trying to find this again
And you reinstalling the CLI means you are on the latest version I am guessing?
And just to make sure, you are running "stripe apps start" in your terminal rather than trying to run it via an npm command? I'm asking my colleagues and that has been a common cause of this before
[08:48:52] compiled successfully
:computer: Running development server on http://localhost:4242 (^C to quit)
:sparkles: You can now preview Price X in your Stripe account.```
That looks just like my output on my machine where it is currently working. One more thing to double check is that the apps plugin is on its latest version
stripe plugin upgrade apps
One other thing that could be helpful is creating a fresh helloworld app and seeing if that can run successfully. This could be an issue specific to PriceX
https://docs.stripe.com/stripe-apps/create-app
Also can you see the script if you try to access the file directly in the browser? Like if you put http://localhost:4242/.build/ext.js in your URL bar. If that is blocked in general that may be the issue
Ahhhhhhh
Everything works in firefox ๐ตโ๐ซ๐ตโ๐ซ
Chrome ๐
Same on the mac, things are happy on Firefox, but not working on Chrome
Tried incongnito on both
Wow, that is good to hear at least! Sorry to hear it was so much of a struggle. What version of Chrome are you using? I'm not seeing it in my own Chrome but can pass that on in case we get other similar reports.
Version 136.0.7103.93 on Windows
Version 134.0.6998.166 (arm64) on Mac
For windows thats the latest version. Anyyway, thank you. Ill play with it some more and see if I can get things working on Chrome, otherwise just use firefox. Thanks again
:lurk: but try it in incognito if you can; it may be one of your extensions causing problems. I've seen that happen before.
(Also hi, I'm taking over for my colleague here. ๐ )
Yeah, I tried incognito on both the mac and the pc. I also tried messing with some security settings on Chrome, disabling anti virus on, turning off windows firewall ๐
Chrome just doesnt like me
That, I unfortunately cannot help with. ๐
I assume you tried being extra polite, ya?
I kid, I kid. ๐คช
Please and thank you only get you so far
Maybe I should try being mean hahaha
I am going to try using an older version of chrome, just for science
Do you know what version @Pompey was running?
Version of Chrome?
Yes