-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
如果直接install不行的话可以试试下面的pacakge.json #781
Comments
之后直接用pnpm i && pnpm dev 就能启动了 |
这两步可以解决我的问题,但是为什么要这么做? |
就是一些版本之间得冲突导致的, 我猜测, 他当年写的时候所有版本肯定没有问题,但是随着各种组件的发展, 有些默认版本。会导致原来一些组件的代码有问题。太具体的我也不是那么明白, 我只是使用者, 能用为王。 |
还得是你,顺利启动了 |
大佬太强啦,已经顺利启动啦!!! |
楼主把"babel-core": "^6.26.3"删了,然后增加了"regenerator-runtime": "^0.14.1"和"svg-baker-runtime": "^1.4.7"和"vue-style-loader": "^4.1.3" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
`
{
"name": "vue-admin-template",
"version": "4.4.0",
"description": "A vue admin template with Element UI & axios & iconfont & permission control & lint",
"author": "Pan [email protected]",
"scripts": {
"dev": "vue-cli-service serve",
"build:prod": "vue-cli-service build",
"build:stage": "vue-cli-service build --mode staging",
"preview": "node build/index.js --preview",
"svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml",
"lint": "eslint --ext .js,.vue src",
"test:unit": "jest --clearCache && vue-cli-service test:unit",
"test:ci": "npm run lint && npm run test:unit"
},
"dependencies": {
"axios": "0.18.1",
"body-parser": "^1.20.2",
"chokidar": "^3.6.0",
"core-js": "3.25.5",
"element-ui": "2.13.2",
"js-cookie": "2.2.0",
"normalize.css": "7.0.0",
"nprogress": "0.2.0",
"path-to-regexp": "2.4.0",
"regenerator-runtime": "^0.14.1",
"svg-baker-runtime": "^1.4.7",
"vue": "2.6.10",
"vue-router": "3.0.6",
"vue-style-loader": "^4.1.3",
"vuex": "3.1.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "4.4.4",
"@vue/cli-plugin-eslint": "4.4.4",
"@vue/cli-plugin-unit-jest": "4.4.4",
"@vue/cli-service": "4.4.4",
"@vue/test-utils": "1.0.0-beta.29",
"autoprefixer": "9.5.1",
"babel-eslint": "10.1.0",
"babel-jest": "23.6.0",
"babel-plugin-dynamic-import-node": "2.3.3",
"chalk": "2.4.2",
"connect": "3.6.6",
"eslint": "6.7.2",
"eslint-plugin-vue": "6.2.2",
"html-webpack-plugin": "3.2.0",
"mockjs": "1.0.1-beta3",
"runjs": "4.3.2",
"sass": "1.26.8",
"sass-loader": "8.0.2",
"script-ext-html-webpack-plugin": "2.1.3",
"serve-static": "1.13.2",
"svg-sprite-loader": "4.1.3",
"svgo": "1.2.2",
"vue-template-compiler": "2.6.10"
},
"browserslist": [
"> 1%",
"last 2 versions"
],
"engines": {
"node": ">=8.9",
"npm": ">= 3.0.0"
},
"license": "MIT"
}
`
The text was updated successfully, but these errors were encountered: