playwright.config.ts uses `process.env.*` for which VS Code IntelliSense shows: Cannot find name 'process'
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- node.js, playwright, typescript
- Domain
- build-system, developer-experience
Research direction
Start by opening playwright.config.ts in the repo root and confirming the process.env references, then check tsconfig.json for a types field and package.json for whether @types/node is already a devDependency. The fix is either adding @types/node or including node in the compiler types, depending on which the project prefers. Done means playwright.config.ts shows no IntelliSense errors in VS Code while the build still passes.
Written by the indexing model from the issue text.
Description
Describe the bug
playwright.config.ts file in root repo directory contains references to properties of process.env for which VS Code TypeScript IntelliSense shows:
Cannot find name 'process'. Do you need to install type definitions for node? Try
npm i --save-dev @types/nodeand then add 'node' to the types field in your tsconfig.ts (2591)
To Reproduce
Steps to reproduce the behavior:
- Open playwright.config.ts in Code
- See the red underlines
- See their error tooltip:
Cannot find name 'process'. Do you need to install type definitions for node? Try
npm i --save-dev @types/nodeand then add 'node' to the types field in your tsconfig.ts(2591)
Expected behavior
No errors, just informational IntelliSense tooltips for process and its contents.
Screenshots
Software (please complete the following information):
- OS: WSL 2
- Browser [e.g. firefox, chrome, safari] N/A
- Plone Aurora Version [e.g. 18.4.0] 8d0c4de1013aceb8f976d2c6af17b157b861356f
- Plone Version [e.g. 6.1.0] N/A
- Plone REST API Version [e.g. 9.1.0] N/A
- Dominant language
- JavaScript
- Stars
- 10
- Forks
- 9
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 54
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from plone/aurora
-
01 type: bug 41 lvl: easy
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 2 days
-
Edit content TabList: selected tab's icon/label are hidden by its own selection indicator - a11yOpen01 type: bug 99 tag: UX Accessibility
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 2 days
-
01 type: bug 30 needs: triage
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 2 days
-
01 type: bug 99 tag: UX Accessibility
Difficulty 1/5 Under an hour Newbie friendliness 76/100
Maintainers usually reply within 2 days
-
01 type: bug 30 needs: triage
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 2 days
Similar issues
-
accessibility bug dark-mode dashboards
Difficulty 1/5 Under an hour Newbie friendliness 84/100
quarto-dev/quarto-cli#15447 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
521xueweihan/HelloGitHub#4655 ·
-
[19.0] pos_sale: settling an order with a 0 down payment line crashes (reading 'reward_id') and leaves a wrong amount duePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
bug CRIT-3
Difficulty 1/5 Under an hour Newbie friendliness 70/100
NASA-AMMOS/anms#426 ·