File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 6565 "typescript-eslint" : " ^8.43.0"
6666 },
6767 "engines" : {
68- "node" : " >= 22.12.0"
68+ "node" : " ^20.19.0 || ^ 22.12.0 || >=23 "
6969 }
7070}
Original file line number Diff line number Diff line change @@ -10,6 +10,14 @@ import {version} from 'node:process';
1010
1111const [ major , minor ] = version . substring ( 1 ) . split ( '.' ) . map ( Number ) ;
1212
13+ if ( major === 20 && minor < 19 ) {
14+ console . error (
15+ `ERROR: \`chrome-devtools-mcp\` does not support Node ${ process . version } . Please upgrade to Node 22.12.0 LTS or a newer LTS.` ,
16+ ) ;
17+ process . exit ( 1 ) ;
18+ }
19+
20+
1321if ( major === 22 && minor < 12 ) {
1422 console . error (
1523 `ERROR: \`chrome-devtools-mcp\` does not support Node ${ process . version } . Please upgrade to Node 22.12.0 LTS or a newer LTS.` ,
You can’t perform that action at this time.
0 commit comments