8000 Fix for failed execution of `npm install` when run on Windows platforms by DimuDesigns · Pull Request #2020 · scratchfoundation/scratch-blocks · GitHub
[go: up one dir, main page]

Skip to content

Fix for failed execution of npm install when run on Windows platforms#2020

Open
DimuDesigns wants to merge 13 commits intoscratchfoundation:developfrom
DimuDesigns:develop
Open

Fix for failed execution of npm install when run on Windows platforms#2020
DimuDesigns wants to merge 13 commits intoscratchfoundation:developfrom
DimuDesigns:develop

Conversation

@DimuDesigns
Copy link
@DimuDesigns DimuDesigns commented Dec 6, 2019

Resolves

Fixes the recurring bug where the execution of npm install, and subsequently python build.py, fails under Windows OS as cited by the following issues:

Proposed Changes

Modified build.py to execute google-closure-compiler (initiated as a sub-process from Python) using powershell.exe. This eliminates the character limit constraint alluded to in the aforementioned issue reports.

Reason for Changes

Compilation fails on windows machines during the build step. This fix resolves that issue.

Test Coverage

Executed the fix locally and it compiles successfully.

@DimuDesigns DimuDesigns mentioned this pull request Dec 6, 2019
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

Successfully merging this pull request may close these issues.

2 participants

0