vuepress / core

Vue-Powered Static Site Generator
https://vuepress.vuejs.org
MIT License
2.17k stars 923 forks source link

app.js:75 Uncaught SyntaxError: Unexpected token '.' #972

Closed swordman20 closed 2 years ago

swordman20 commented 2 years ago

Description

当我是用vuepress2.x的时候,build成功了,但是打开页面,缺告知我js错误.

Reproduction

http://localhost:8080/

Used Package Manager

yarn

System Info

node -v
v16.15.1
----------
npm -v
6.14.8
----------
{
  "name": "vuepress-starter",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "docs:dev": "vuepress dev docs",
    "docs:build": "vuepress build docs"
  },
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "vuepress": "^2.0.0-beta.48"
  }
}
github-actions[bot] commented 2 years ago

Hello @swordman20. Please provide a minimal reproduction using a GitHub repository or v2.vuepress.vuejs.org/new. Issues marked with need reproduction will be closed if they have no activity within 3 days.