J2V8
J2V8 copied to clipboard
nodejs diff apply error
nodejs diff apply
[apply-diff]
Applying Node.js patch: node.patches\7.4.0.diff
error: patch failed: common.gypi:183
error: common.gypi: patch does not apply
error: patch failed: deps/cares/common.gypi:80
error: deps/cares/common.gypi: patch does not apply
error: patch failed: deps/uv/common.gypi:87
error: deps/uv/common.gypi: patch does not apply
error: patch failed: src/node.h:414
error: src/node.h: patch does not apply
Traceback (most recent call last):
File "nodejs.py", line 332, in
Same error here
Same issue. Has anyone figured out the resolution? Is this a directory structure issue?
On windows, I find my issue is that node.patches\7.4.0.diff
use CRLF
as line end. and in node
folder, files are use LF
as line end.
To resolve this. I change the node.patches\7.4.0.diff
's CRLF
to LF
. And it works.
If you use vscode
, you can change at right bottom, there's a button.