{"record":{"id":"f7a5aaef0421dae1","repo":"avajs/ava","slug":"nonsemverexperiments-key-from-fileforerrormes","errorCode":null,"errorMessage":"nonSemVerExperiments.${key} from ${fileForErrorMessage} is not a supported experiment","messagePattern":"nonSemVerExperiments\\.(.+?) from (.+?) is not a supported experiment","errorType":"validation","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"lib/load-config.js","lineNumber":173,"sourceCode":"\tconst config = {\n\t\t...defaults, nonSemVerExperiments: {}, ...fileConf, ...packageConf, projectDir, configFile,\n\t};\n\n\tif (\n\t\t'filterNodeArgumentsForWorkerThreads' in config\n\t\t&& typeof config.filterNodeArgumentsForWorkerThreads !== 'function'\n\t) {\n\t\tthrow new Error(`filterNodeArgumentsForWorkerThreads from ${fileForErrorMessage} must be a function`);\n\t}\n\n\tconst {nonSemVerExperiments: experiments} = config;\n\tif (!isPlainObject(experiments)) {\n\t\tthrow new Error(`nonSemVerExperiments from ${fileForErrorMessage} must be an object`);\n\t}\n\n\tfor (const key of Object.keys(experiments)) {\n\t\tif (!EXPERIMENTS.has(key)) {\n\t\t\tthrow new Error(`nonSemVerExperiments.${key} from ${fileForErrorMessage} is not a supported experiment`);\n\t\t}\n\t}\n\n\treturn {config, unsupportedFiles};\n}\n","sourceCodeStart":155,"sourceCodeEnd":179,"githubUrl":"https://github.com/avajs/ava/blob/bbfd946322fdeca2b547a691d947fb4e18c0c67f/lib/load-config.js#L155-L179","documentation":"Guard in loadConfig: a key inside the nonSemVerExperiments object is not in the EXPERIMENTS registry — an unknown or typo'd experiment name, or one removed in this AVA version. The input at fault is the offending nonSemVerExperiments.<key> entry.","triggerScenarios":"Thrown at lib/load-config.js:173 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the AVA documentation for currently supported non-semantic-version experiment names","Fix typos in the experiment key","Remove stale experiment flags when upgrading AVA"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"bbfd946322fdeca2b547a691d947fb4e18c0c67f","analyzedAt":"2026-09-02T01:24:43.834Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-09T06:17:21.866Z"}