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

前端启动报错 #6234

Closed
xhyuan0426 opened this issue May 19, 2024 · 0 comments
Closed

前端启动报错 #6234

xhyuan0426 opened this issue May 19, 2024 · 0 comments

Comments

@xhyuan0426
Copy link

版本号:3.6.3

分支: master

前端版本: vue3版

问题描述:前端启动报错(npm run serve)

截图&代码:
error1.docx

src/api/manage.js:4:16: error: "putAction" has already been declared
4 │ export function putAction(url,parameter) {
╵ ~~~~~~~~~
src/api/manage.js:1:9: note: "putAction" was originally declared here
1 │ import { putAction } from '@/api/manage'
╵ ~~~~~~~~~

error when starting dev server:
Error: Build failed with 1 error:
src/api/manage.js:4:16: error: "putAction" has already been declared
at failureErrorWithLog (D:\Jeecg for vue3\jeecgboot-vue3-master\node_modules\esbuild\lib\main.js:1493:15)
at D:\Jeecg for vue3\jeecgboot-vue3-master\node_modules\esbuild\lib\main.js:1151:28
at runOnEndCallbacks (D:\Jeecg for vue3\jeecgboot-vue3-master\node_modules\esbuild\lib\main.js:941:63)
at buildResponseToResult (D:\Jeecg for vue3\jeecgboot-vue3-master\node_modules\esbuild\lib\main.js:1149:7)
at D:\Jeecg for vue3\jeecgboot-vue3-master\node_modules\esbuild\lib\main.js:1258:14
at D:\Jeecg for vue3\jeecgboot-vue3-master\node_modules\esbuild\lib\main.js:629:9
at handleIncomingPacket (D:\Jeecg for vue3\jeecgboot-vue3-master\node_modules\esbuild\lib\main.js:726:9)
at Socket.readFromStdout (D:\Jeecg for vue3\jeecgboot-vue3-master\node_modules\esbuild\lib\main.js:596:7)
at Socket.emit (node:events:519:28)

友情提示(为了提高issue处理效率):

  • 未按格式要求发帖、描述过于简抽象的,会被直接删掉;
  • 请自己初判问题描述是否清楚,是否方便我们调查处理;
  • 针对问题请说明是Online在线功能(需说明用的主题模板),还是生成的代码功能;
  • springboot3_sas分支采用 Spring Authorization Server 替换 Shiro,目前是beta版不稳定,生产项目不要使用;
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