microsoft / microsoft/PowerBI-visuals-tools
Process is not defined
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 435
- Forks
- 168
- PR merge metrics
- No merged PRs in 30d
Description
With version 7.0.1, the module semver (which uses micromatch under the hood) cause a "process is not defined" error. What should I do?
Error details:
utils.js:4 Uncaught ReferenceError: process is not defined
at ./node_modules/picomatch/lib/utils.js (:134207:15)
at webpack_require (:185234:42)
at ./node_modules/picomatch/lib/scan.js (:133804:15)
at webpack_require (:185234:42)
at ./node_modules/picomatch/lib/picomatch.js (:133452:14)
at webpack_require (:185234:42)
at ./node_modules/picomatch/index.js (:132145:18)
at webpack_require (:185234:42)
at ./node_modules/micromatch/index.js (:121431:19)
at webpack_require (:185234:42)
Contributor 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.
Research direction
Start by reproducing the version 7.0.1 build and trace the semver → micromatch → picomatch dependency chain shown in the stack trace. Inspect the webpack output and related project configuration to identify why process is unavailable; done means the bundled visual no longer raises the reported ReferenceError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, webpack
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100