MCPcopy Create free account
hub / github.com/Snapchat/Valdi / nodeBinaryOutOfDate

Function nodeBinaryOutOfDate

valdi/vscode_debugger/src/dap/errors.ts:123–132  ·  view source on GitHub ↗
(readVersion: string, attemptedPath: string)

Source from the content-addressed store, hash-verified

121 );
122
123export const nodeBinaryOutOfDate = (readVersion: string, attemptedPath: string) =>
124 createUserError(
125 localize(
126 'runtime.node.outdated',
127 'The Node version in "{0}" is outdated (version {1}), we require at least Node 8.x.',
128 attemptedPath,
129 readVersion,
130 ),
131 ErrorCodes.NodeBinaryOutOfDate,
132 );
133
134export const invalidHitCondition = (expression: string) =>
135 createUserError(

Callers 1

resolveAndValidateMethod · 0.90

Calls 1

createUserErrorFunction · 0.85

Tested by

no test coverage detected