i think theres an issue with typescript on my end any help would be appreciated #3041
-
when i run npm run start i get this error output: Truncated to just show end: test/test-blank.ts:1:25 - error TS2307: Cannot find module 'assert' or its corresponding type declarations. 1 import * as assert from 'assert'; test/util.ts:1:31 - error TS2307: Cannot find module 'puppeteer' or its corresponding type declarations. 1 import {Browser, launch} from 'puppeteer'; test/util.ts:59:44 - error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. 59 export async function launchTestBrowser(): Promise Found 336 errors in 44 files. Errors Files
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Have you ran npm install? |
Beta Was this translation helpful? Give feedback.
-
all good recompiled to run in rosetta issue is with node and arm architecture |
Beta Was this translation helpful? Give feedback.
all good recompiled to run in rosetta issue is with node and arm architecture