Skip to content

Trying to upgrade to a specific flutter version gives: document's frame is sandboxed and the 'allow-scripts' permission is not set. #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
AlexanderMendivil opened this issue Mar 28, 2024 · 4 comments

Comments

@AlexanderMendivil
Copy link

I'm trying to upgrade to flutter 3.3.0 using the specified command:

sh -c "curl -fsSL https://raw.githubusercontent.com/passsy/flutter_wrapper/master/install.sh" | bash /dev/stdin -t v3.3.0

But that gives an error with the following output:

flutterw:1 Blocked script execution in 'https://raw.githubusercontent.com/passsy/flutter_wrapper/v3.3.0/flutterw' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.

I do have javascript enable on my browser.

Is there a way I can upgrade to my wanted version?

@passsy
Copy link
Owner

passsy commented Mar 28, 2024

I do have javascript enable on my browser.

Can you elaborate on that? How is js related to this issue? Where are you executing the command?

@AlexanderMendivil
Copy link
Author

I don't think is related to be honest, I ran it on my terminal and got this: Couldn't download flutterw from 'https://raw.githubusercontent.com/passsy/flutter_wrapper/v3.3.0/flutterw'

Then I tried to just get the url on my browser and that's where I get the allow script issue.

I just added the javascript enable thing if somehow it was related.

@passsy
Copy link
Owner

passsy commented Mar 28, 2024

ah got it. Version 3.3.0 does not exist. Try 1.3.0 😁

@AlexanderMendivil
Copy link
Author

That didn't work, this was a misunderstanding from my side, I want to upgrade the Flutter version to 3.3.0 not the flutter wrapper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants