You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
npm ERR! code ETARGET
npm ERR! notarget No matching version found for [email protected].
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'vuepress'
npm ERR! notarget
Googling this, I upgraded to vuepress, prismjs, and shiki all to 2.0.0-beta.60, but this issue still remains:
$ npm run dev
> [email protected] dev /Users/bkbonner/Downloads/honey-main/docs
> vuepress dev docs
/Users/bkbonner/Downloads/honey-main/docs/node_modules/vuepress/bin/vuepress.js:3
import 'vuepress-vite/bin'
^^^^^^^^^^^^^^^^^^^
SyntaxError: Unexpected string
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: `vuepress dev docs`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
I tried using the docs/package.json as downloaded as:
It gave an error about codec problem:
Googling this, I upgraded to vuepress, prismjs, and shiki all to 2.0.0-beta.60, but this issue still remains:
Steps to recreate:
cd docs
npm install --cache /tmp/new-cache
Upon more searching this issue is caused by:
vuepress/core#1195
Basically they updated to a newer version of a dependency with a naming that causes the ^ and ~ to fail.
I'd suggest just switching those out to:
The text was updated successfully, but these errors were encountered: