Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create-slides version number mismatch #34

Closed
nico-bachner opened this issue May 8, 2021 · 2 comments
Closed

create-slides version number mismatch #34

nico-bachner opened this issue May 8, 2021 · 2 comments

Comments

@nico-bachner
Copy link
Contributor

nico-bachner commented May 8, 2021

In the create-slidev source code, the version is "version": "0.5.0" and that value seems to be referenced in the setup script:

const { version } = require('./package.json')

...

console.log(`${bold('  Slidev') + dim(' Creator')}  ${blue(`v${version}`)}`)

However, the version number when running npm init slidev is v0.1.6:

create-slidev

@antfu
Copy link
Member

antfu commented May 8, 2021

Em, I don't know how to solve that. It's more like a local npm cache. Try npm init slidev@latest

@nico-bachner
Copy link
Contributor Author

Yeah that did the trick.

Never seen that before.

antfu pushed a commit that referenced this issue Mar 7, 2024
Fix https://github.com/slidevjs/docs/issues/26

fontmatter to frontmatter, columns to column and digrams to diagrams
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants