emberjs/ember.js · error · Error
`not` expects exactly one argument, but received ${args.leng
Error message
`not` expects exactly one argument, but received ${args.length}. What it means
Error "`not` expects exactly one argument, but received ${args.length}." thrown in emberjs/ember.js.
Source
Thrown at packages/@glimmer/runtime/lib/helpers/not.ts:6
import { DEBUG } from '@glimmer/env';
import { toBool } from '@glimmer/global-context';
export const not = (...args: unknown[]) => {
if (DEBUG && args.length !== 1) {
throw new Error(`\`not\` expects exactly one argument, but received ${args.length}.`);
}
return !toBool(args[0]);
};
View on GitHub (pinned to 26f97246a8)
When it happens
Trigger: Thrown at packages/@glimmer/runtime/lib/helpers/not.ts:6 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of emberjs/ember.js@26f97246a8 (2026-09-01).
Data as JSON: /api/errors/0d7c5934eab3a18d.
Report an issue: GitHub.