Skip to content
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

Cannot build for Windows 10 #2

Open
imtiyazs opened this issue Mar 3, 2019 · 0 comments
Open

Cannot build for Windows 10 #2

imtiyazs opened this issue Mar 3, 2019 · 0 comments

Comments

@imtiyazs
Copy link
Collaborator

imtiyazs commented Mar 3, 2019

Hello, I am trying to build it for Windows 10 but it give me too many errors starting from yarn install. The modules get installed and finally throws an error at postinstall.

error D:\Workspace\src\bcb-wallet\node_modules\postinstall-postinstall: Command failed.
Exit code: 1
Command: node ./run.js
Arguments:
Directory: D:\Workspace\src\bcb-wallet\node_modules\postinstall-postinstall
Output:
D:\Workspace\src\bcb-wallet\node_modules\patch-package\dist\patch\parse.js:329
throw new Error("hunk header integrity check failed");
^

Error: hunk header integrity check failed
at verifyHunkIntegrity (D:\Workspace\src\bcb-wallet\node_modules\patch-package\dist\patch\parse.js:329:15)
at parsePatchLines (D:\Workspace\src\bcb-wallet\node_modules\patch-package\dist\patch\parse.js:191:17)
at Object.parsePatchFile (D:\Workspace\src\bcb-wallet\node_modules\patch-package\dist\patch\parse.js:300:45)
at Object.exports.applyPatch (D:\Workspace\src\bcb-wallet\node_modules\patch-package\dist\applyPatches.js:103:25)
at D:\Workspace\src\bcb-wallet\node_modules\patch-package\dist\applyPatches.js:60:21
at Array.forEach ()
at Object.exports.applyPatchesForApp (D:\Workspace\src\bcb-wallet\node_modules\patch-package\dist\applyPatches.js:45:11)
at Object. (D:\Workspace\src\bcb-wallet\node_modules\patch-package\dist\index.js:46:24)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
error Command failed with exit code 1.
child_process.js:656
throw err;
^

Error: Command failed: yarn run postinstall
D:\Workspace\src\bcb-wallet\node_modules\patch-package\dist\patch\parse.js:329
throw new Error("hunk header integrity check failed");
^

Error: hunk header integrity check failed
at verifyHunkIntegrity (D:\Workspace\src\bcb-wallet\node_modules\patch-package\dist\patch\parse.js:329:15)
at parsePatchLines (D:\Workspace\src\bcb-wallet\node_modules\patch-package\dist\patch\parse.js:191:17)
at Object.parsePatchFile (D:\Workspace\src\bcb-wallet\node_modules\patch-package\dist\patch\parse.js:300:45)
at Object.exports.applyPatch (D:\Workspace\src\bcb-wallet\node_modules\patch-package\dist\applyPatches.js:103:25)
at D:\Workspace\src\bcb-wallet\node_modules\patch-package\dist\applyPatches.js:60:21
at Array.forEach ()
at Object.exports.applyPatchesForApp (D:\Workspace\src\bcb-wallet\node_modules\patch-package\dist\applyPatches.js:45:11)
at Object. (D:\Workspace\src\bcb-wallet\node_modules\patch-package\dist\index.js:46:24)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
error Command failed with exit code 1.

at checkExecSyncError (child_process.js:616:11)
at execSync (child_process.js:653:13)
at Object.<anonymous> (D:\Workspace\src\bcb-wallet\node_modules\postinstall-postinstall\run.js:14:5)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)

Once I remove postinstall script, just to bypass patchmaker, it throws linter error throughout the application. Then I run eslint . --fix, and it throws error for ForEach function in eslint-ember module.

My configurations are as follows:
OS: Windows 10
Node: 10.15 LTS Right now
NPM: 6.4.1
Python: 2.7

Please tell me correct configuration to build this application.

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

1 participant