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

can not start server successful #358

Closed
3 tasks done
WangYuLue opened this issue Aug 10, 2021 · 3 comments
Closed
3 tasks done

can not start server successful #358

WangYuLue opened this issue Aug 10, 2021 · 3 comments
Labels
bug: pending triage Maybe a bug, waiting for confirmation

Comments

@WangYuLue
Copy link

Describe the bug

I created a new project based on the Getting Started tutorial, but get error

Reproduction

steps reference Getting Started tutorial

Expected behavior

屏幕快照 2021-08-10 下午6 53 59

System Info

System:
    OS: macOS Mojave 10.14.6
    CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
    Memory: 89.25 MB / 8.00 GB
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 14.16.1 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 6.14.10 - /usr/local/bin/npm
  Browsers:
    Chrome: 92.0.4515.131
    Chrome Canary: 94.0.4603.0
    Firefox: 88.0.1
    Safari: 14.1.2
  npmPackages:
    vitepress: ^0.15.6 => 0.15.6

Additional context

No response

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
@WangYuLue WangYuLue added the bug: pending triage Maybe a bug, waiting for confirmation label Aug 10, 2021
@yaiks
Copy link

yaiks commented Aug 10, 2021

I'm also having this issue, but I'm confident these last commits (this and this) will fix the issue =)

As far as I know, the issue may be caused by the deprecation of defineEmit as explained here

Hopefully we will get a new release soon 😄

@yaiks
Copy link

yaiks commented Aug 10, 2021

For now, one alternative is to declare the versions of sub dependencies you want to use. If using yarn, you can place in your package.json:

  "devDependencies": {
    "vitepress": "0.15.6"
  },
  "resolutions": {
    "@vitejs/plugin-vue": "1.2.3",
    "@vue/compiler-sfc": "3.1.1",
    "@vue/server-renderer": "3.1.1",
    "vite": "2.3.7",
    "vue": "3.1.1"
  },

If using npm, you can use npm shrinkwrap for the same goal =)

@posva
Copy link
Member

posva commented Aug 10, 2021

Already fixed, will be up in next release.


Please, search existing issues and pull requests before opening issues, it saves maintainers a lot of time 🙏

@posva posva closed this as completed Aug 10, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug: pending triage Maybe a bug, waiting for confirmation
Projects
None yet
Development

No branches or pull requests

3 participants