mitre / mitre/GraphEx

Resolve deprecation warning: The CJS build of Vite's Node API is deprecated

Open
#25 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug good first issue
Dominant language
Python
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.

See this release action pipeline for the warning:
https://github.com/mitre/GraphEx/actions/runs/19549350785/job/55976414803#step:5:36

We should investigate the cause of this warning and remediate before moving to version 6 of this package dependency. Currently this isn't a threat due to the recent package pinning.

Contributor guide

No contributing guide indexed for this repository

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 with the linked release action pipeline at job 55976414803, step 5, and read Vite's CJS Node API troubleshooting guidance. Then trace the package's Vite usage and dependency configuration to identify the warning's source. Done means the cause is remediated and the release pipeline no longer reports this warning before the dependency moves to version 6.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, vite
Domain
build-system
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.