`preinstall` script is broken on Windows

See original GitHub issue

Current behavior:

preinstall in the main package doesn’t work on Windows because of rm and true:

image

AppVeyor appears to be passing because it has busybox or something similar installed

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
bahmutovcommented, Jul 22, 2019

Ha, on AppVeyor Windows we don’t call npm install in the root

0reactions
cypress-bot[bot]commented, Jul 29, 2019

Released in 3.4.1.

Read more comments on GitHub >

github_iconTop Results From Across the Web

There was a problem running preinstall.cmd scripts error
1] Download a new Windows Installation Image · 2] Create a new bootable drive · 3] Uninstall conflicting programs · 4] Run Windows...
Read more >
Windows 11 upgrade Preinstall.cmd Script Error
Windows 11 upgrade Preinstall.cmd Script Error. I have run the Windows PC Health Check Setup on my Dell Inspiron 3000 and all seems...
Read more >
There was a problem running preinstall.cmd scripts.
Windows 10 setup error - "There was a problem running preinstall.cmd scripts." · Open Internet Explorer. · Click the Settings icon at the...
Read more >
Fix Windows Update Error 0xc19001e2
The pre-install script may not run due to a Windows Update glitch or corrupted system files. Many users got this error when trying...
Read more >
Installer Package Scripting - Content Delivery Network (CDN)
Preinstall scripts are run before files are being installed and after the preflight script ... You can use them to fix problems in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found