@@ -513,6 +513,52 @@ for your current platform.
513
513
errorName : 'ESBuildError' ,
514
514
expectedDownstreamErrorMessage : undefined ,
515
515
} ,
516
+ {
517
+ errorMessage :
518
+ // eslint-disable-next-line spellcheck/spell-checker
519
+ `Error: npm ERR! code ENOENT
520
+ npm ERR! syscall lstat
521
+ npm ERR! path /opt/homebrew/Cellar/node/22.2.0/lib
522
+ npm ERR! errno -2
523
+ npm ERR! enoent ENOENT: no such file or directory, lstat '/opt/homebrew/Cellar/node/22.2.0/lib'
524
+ npm ERR! enoent This is related to npm not being able to find a file.
525
+ npm ERR! enoent
526
+ ` ,
527
+ expectedTopLevelErrorMessage :
528
+ // eslint-disable-next-line spellcheck/spell-checker
529
+ `NPM error occurred: npm ERR! code ENOENT
530
+ npm ERR! syscall lstat
531
+ npm ERR! path /opt/homebrew/Cellar/node/22.2.0/lib
532
+ npm ERR! errno -2
533
+ npm ERR! enoent ENOENT: no such file or directory, lstat '/opt/homebrew/Cellar/node/22.2.0/lib'
534
+ npm ERR! enoent This is related to npm not being able to find a file.
535
+ npm ERR! enoent` ,
536
+ errorName : 'CommonNPMError' ,
537
+ expectedDownstreamErrorMessage : undefined ,
538
+ } ,
539
+ {
540
+ errorMessage :
541
+ // eslint-disable-next-line spellcheck/spell-checker
542
+ `Error: npm error code ENOENT
543
+ npm error syscall lstat
544
+ npm error path C:\\Users\testUser\\AppData\\Roaming\\npm
545
+ npm error errno -4058
546
+ npm error enoent ENOENT: no such file or directory, lstat 'C:\\Users\\testUser\\AppData\\Roaming\\npm'
547
+ npm error enoent This is related to npm not being able to find a file.
548
+ npm error enoent
549
+ ` ,
550
+ expectedTopLevelErrorMessage :
551
+ // eslint-disable-next-line spellcheck/spell-checker
552
+ `NPM error occurred: npm error code ENOENT
553
+ npm error syscall lstat
554
+ npm error path C:\\Users\testUser\\AppData\\Roaming\\npm
555
+ npm error errno -4058
556
+ npm error enoent ENOENT: no such file or directory, lstat 'C:\\Users\\testUser\\AppData\\Roaming\\npm'
557
+ npm error enoent This is related to npm not being able to find a file.
558
+ npm error enoent` ,
559
+ errorName : 'CommonNPMError' ,
560
+ expectedDownstreamErrorMessage : undefined ,
561
+ } ,
516
562
] ;
517
563
518
564
void describe ( 'invokeCDKCommand' , { concurrency : 1 } , ( ) => {
0 commit comments