microsoft / microsoft/PowerBI-visuals-tools

Process is not defined

Open
#563 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.