<!--- Please direct any generic questions related to actions to our support community forum at https://git.xywcc.community/c/code-to-cloud/github-actions/41 ---> <!--- Before opening up a new bug report, please make sure to check for similar existing issues --> **Description:** I want to debug this project, so I need to convert TypeScript to Javascript first, then use VS code to debug **Action version:** Specify the action version **Platform:** - [ ] Ubuntu - [x] macOS - [ ] Windows **Runner type:** - [x] Hosted - [ ] Self-hosted **Tools version:** <!--- Please specify versions of node and package manager (npm, yarn, pnpm and etc)--> npm: 6.14.8 **Repro steps:** ```bash git clone https://github.com/actions/setup-node cd setup-node npm install tsc ``` **Expected behavior:** tsc build successfully **Actual behavior:** got error ``` setup-node git:(main) ✗ node_modules/.bin/tsc node_modules/@actions/http-client/interfaces.d.ts:29:16 - error TS2304: Cannot find name 'URL'. 29 parsedUrl: URL; ~~~ ```
Activity
jk2K commentedon Jan 10, 2022
see actions/http-client#37
solution: remove
"lib": ["es6"]from tsconfigdocs(readme): fix code indent (actions#401)