Cannot build on Windows due to Bash usage
See original GitHub issueIs there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
SDK Version
master
Steps to Reproduce
yarn && yarn build
Expected Result
Builds
Actual Result
Fails on bash scripts/buildBundles.sh
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (8 by maintainers)
Top Results From Across the Web
Not able to run bash script from windows using vsts.
According to the error code, it caused by access denied. And the log shows, the build invoke “C:\Windows\system32\bash.exe” to run your bash script....
Read more >Windows: shell script cannot be used as an 'executable' for an ...
This is an attempt to fix command line limit problem reported in #3579. It's usual approach to work with a response file.
Read more >Could not run "bash build/build.sh" command in Windows ...
Windows PowerShell keeps showing "Windows Subsystem for Linux has no installed distributions. Use 'wsl.exe --list --online' to list available ...
Read more >Could not use bash command in the powershell -Reg.
Hi, I would like to install a Perl script-based CIRCOS software for windows 10. But I could not use bash command for installation....
Read more >Troubleshooting Windows Subsystem for Linux | Microsoft Learn
The requested operation could not be completed due to a virtual disk ... To install the Linux kernel update MSI package, WSL is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@timfish I was planning on working on
postbuild.sh
by the end of this week (around thursday, friday) while making some build structure changes. If you get to it earlier, feel free to go aheadI’m actually in the middle of revamping
buildBundles
for other reasons, but you could def hop onpostbuild
. Let’s just coordinate here before you do, though, because I believe @Lms24 is about to make a few more small changes to it in the next few days.