jepiqueau / vue-sqlite-app-starter

Ionic/Vue App Starter demonstrating the use of @capacitor-community/sqlite
MIT License
18 stars 4 forks source link

The update command's target version does not exist #4

Closed RHellenes closed 1 year ago

RHellenes commented 1 year ago

Problem:

When running npm run update the following error occurs.

vue-sqlite-app-starter|main ⇒ npm run update

> vue-sqlite-app-starter@4.1.1 update
> npm install --save-dev @capacitor-community/sqlite@last --save vue-sqlite-hook@last

npm ERR! code ETARGET
npm ERR! notarget No matching version found for vue-sqlite-hook@last.
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! A complete log of this run can be found in:
npm ERR!     /Users/[...]/.npm/cache/_logs/2023-01-14T11_41_06_660Z-debug-0.log

Solution:

Changing version from last to latest removes the error and hopefully fetches the latest version.

jepiqueau commented 1 year ago

@RHellenes Thanks for your contribution to enhance the documentation.