We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
执行sh build.sh 得到如下提示
sh build.sh
main.go:19:12: pattern web/dist/*: no matching files found
The text was updated successfully, but these errors were encountered:
要先编译前端出来dist目录,再来打包的
Sorry, something went wrong.
ubuntu下打包报错
(base) root@hello:/home/hello/ydd_go/webssh/web# npm run build > [email protected] build > vue-cli-service build ⠹ Building legacy bundle for production... ERROR Failed to compile with 1 error 14:41:59 error in ./src/App.vue?vue&type=script&lang=js& Syntax Error: TypeError: Cannot read property 'name' of null
打包命令已经修改为ubuntu能用的,修复部分为:
"scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service lint" },
这个和vue-cli,node,npm的版本有关系吗,有指定哪些版本打包吗?
No branches or pull requests
执行
sh build.sh
得到如下提示The text was updated successfully, but these errors were encountered: