@dingmenghua/opencode-max 1.15.3-max.2 → 1.15.3-max.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/opencode-max +11 -11
- package/package.json +1 -1
package/bin/opencode-max
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
#!/bin/
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
exit
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
console.error("Error: opencode-max's postinstall script was not run.")
|
|
3
|
+
console.error()
|
|
4
|
+
console.error("This occurs when using --ignore-scripts during installation, or when using a")
|
|
5
|
+
console.error("package manager like pnpm that does not run postinstall scripts by default.")
|
|
6
|
+
console.error()
|
|
7
|
+
console.error("To fix this, run the postinstall script manually:")
|
|
8
|
+
console.error(" cd node_modules/@dingmenghua/opencode-max && node postinstall.mjs")
|
|
9
|
+
console.error()
|
|
10
|
+
console.error("Or reinstall @dingmenghua/opencode-max without the --ignore-scripts flag.")
|
|
11
|
+
process.exit(1)
|