Scrutinizer配置异常:指定Node.js 8.10.0却安装6.11
Fixing Scrutinizer Build Configuration Issues
I see the issue with your Scrutinizer config—your settings are structured incorrectly, which is why Redis/PostgreSQL are still being installed and Node.js is using the default version instead of your specified 8.10.0. Let's fix this:
Corrected Build Config
build: nodes: analysis: environment: services: redis: false postgresql: false node: 8.10.0 tests: true checks: javascript: true
What Changed & Why
- Services Placement: Redis and PostgreSQL need to be nested under the
serviceskey insideenvironment. Your original config put them directly underenvironment, so Scrutinizer didn't recognize those overrides and stuck with the default (installing them). - Node.js Version Syntax: The Node version doesn't need a nested
versionsub-key. Just specify the version number directly undernodein the environment section. The nested structure you used was invalid, so the system fell back to the default Node 6.11.
Once you update your config to this structure, kick off a new build. You should see Redis and PostgreSQL skipped in the logs, and Node.js 8.10.0 being installed instead of 6.11.
内容的提问来源于stack exchange,提问作者Rebolon
相关产品推荐
相关产品推荐

