Skip to content

Commit f6260b8

Browse files
committed
chore: Fix npm binary linking
Closes #161 I am not 100% sure this will fix the issue but it does resolve an issue with not working npm binaries
1 parent 87a3de0 commit f6260b8

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ playwright-report/
1414
*.log
1515
__screenshots__/
1616
test-results/
17-
npm_packages/odiff-bin/bin/odiff.exe
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env node
2+
3+
console.error(
4+
"Error: odiff binary has not been installed correctly.\n" +
5+
"The postinstall script needs to run to copy the platform-specific binary.\n\n" +
6+
"Please run:\n" +
7+
" npm rebuild odiff-bin\n"
8+
);
9+
process.exit(1);

0 commit comments

Comments
 (0)