Type assertion with build
Closed this issue · 0 comments
Wkasel commented
On fresh clone, the build fails due to a missing type assertion with package.json.
Expected Behavior
It should build.
Current Behavior
Throws the following error then fails:
TypeError [ERR_IMPORT_ASSERTION_TYPE_MISSING]: Module "file:///Users/williamkasel/Dev/_sandbox/cross-browser-extension-boilerplate/package.json" needs an import assertion of type "json"
Possible Solution
PR is incoming w/ fix.
Steps to Reproduce
- Clone Repo
- Yarn Install
- Yarn start -- --browser=chrome
- Build fails...
Context (Environment)
Tried with node 18, and node 16.