@apify/actors-mcp-server 0.14.3-beta.0 → 0.14.3-beta.1
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/dist/stdio.js +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/dist/stdio.js
CHANGED
|
@@ -131,9 +131,9 @@ if (requiresAuthentication && !apifyToken) {
|
|
|
131
131
|
async function main() {
|
|
132
132
|
// Node.js version guard — surface a clear error instead of cryptic failures
|
|
133
133
|
const [major] = process.versions.node.split('.').map(Number);
|
|
134
|
-
if (major <
|
|
134
|
+
if (major < 22) {
|
|
135
135
|
// eslint-disable-next-line no-console
|
|
136
|
-
console.error(`Error: Apify MCP server requires Node.js
|
|
136
|
+
console.error(`Error: Apify MCP server requires Node.js 22 or later (you have ${process.version}).\n` +
|
|
137
137
|
'Please update Node.js: https://nodejs.org');
|
|
138
138
|
process.exit(1);
|
|
139
139
|
}
|