Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ai-shifu/next-build-node-runtime
当 cook-web 执行 npm run build 出现 SyntaxError Unexpected token '?' 或 next/dist/compiled 报错时使用本技能,优先排查 Node 运行时版本不一致问题。
Passed 20 of 22 test cases with the skill, and 13 of 22 without it.
and 5 more in the full report
7 fixed13 passed either way2 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 7 test cases the skill fixed. Same model, same prompt, with and without the skill.
在新的 CI 节点中运行项目打包命令时出现底层编译包语法无法识别。在初步定位环境时,你建议依次敲入哪四个具体命令来查明 Node 及 npm 的相关状态?
| Checked | Without skill | With skill |
|---|---|---|
| Instructs executing node -v, npm -v, which node, and which npm | Missed | Passed |
The instructions your model reads when the skill loads.
npm run build 在 next/dist/compiled 内部文件报语法错误。SyntaxError: Unexpected token '?'、Unexpected token '.' 等现代语法不兼容信息。node -v、npm -v、which node、which npm。package.json 的 engines.node,确认是否匹配。npm run build。Error 作为阻断点,不把 Warning 当作失败原因。Error,做最小改动修复;保留调试日志,不删除 console.log。test cases passed, vs 13 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.