-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
When trying to update from 1.1.2 to 1.2.0 I get this error when running schema tests with coverage:
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Startup Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
file:///C:/git/Overlay-Specification/node_modules/@hyperjump/json-schema-coverage/src/coverage-map-service.js:4
import { getShouldValidateFormat } from "@hyperjump/json-schema";
^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: The requested module '@hyperjump/json-schema' does not provide an export named 'getShouldValidateFormat'
at #_instantiate (node:internal/modules/esm/module_job:254:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:369:5)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:691:26)
at async loadConfigFromBundledFile (file:///C:/git/Overlay-Specification/node_modules/vite/dist/node/chunks/config.js:35901:12)
at async bundleAndLoadConfigFile (file:///C:/git/Overlay-Specification/node_modules/vite/dist/node/chunks/config.js:35789:17)
at async loadConfigFromFile (file:///C:/git/Overlay-Specification/node_modules/vite/dist/node/chunks/config.js:35756:42)
at async resolveConfig (file:///C:/git/Overlay-Specification/node_modules/vite/dist/node/chunks/config.js:35405:22)
at async _createServer (file:///C:/git/Overlay-Specification/node_modules/vite/dist/node/chunks/config.js:25352:67)
at async createViteServer (file:///C:/git/Overlay-Specification/node_modules/vitest/dist/chunks/cli-api.C7sYjHmQ.js:9810:17)
at async createVitest (file:///C:/git/Overlay-Specification/node_modules/vitest/dist/chunks/cli-api.C7sYjHmQ.js:13099:17) How can I avoid this error?
To reproduce:
git clone https://github.com/ralfhandl/Overlay-Specification
git switch bump-json-schema-coverage
npm i
npm tMetadata
Metadata
Assignees
Labels
No labels