Skip to content
This repository was archived by the owner on Feb 14, 2026. It is now read-only.
This repository was archived by the owner on Feb 14, 2026. It is now read-only.

use of experimental node features causes warnings #342

@aspiers

Description

@aspiers

Describe the bug

If I run pnpm dev on a fresh install, I see these two warnings:

(node:22422) ExperimentalWarning: Import assertions are not a stable feature of the JavaScript language. Avoid relying on their current behavior and syntax as those might change in a future version of Node.js.
(Use `node --trace-warnings ...` to show where the warning was created)
 Manifest file copy complete: /home/adam/git/chrome-extension-boilerplate-react-vite/dist/manifest.json
built in 1260ms.
(node:22422) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time

I believe these are caused by the following import:

import packageJson from './package.json' assert { type: 'json' };

To Reproduce
Steps to reproduce the behavior:

  1. git clone https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite.git
  2. cd chrome-extension-boilerplate-react-vite
  3. pnpm i
  4. pnpm dev

Expected behavior
It should start up with a clean output with no warnings.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions