会员可以在此提问,百战程序员老师有问必答
对大家有帮助的问答会被标记为“推荐”
看完课程过来浏览一下别人提的问题,会帮你学得更全面
截止目前,同学们一共提了 132602个问题

vue-cli4.5.7-test.7z

vue-ueditor-wrap怎么设置都报错,老师帮我看一下是哪里不对?

图片.png

WEB前端全系列/第二十阶段:Vue2企业级项目(旧)/Ego商城高级Vue实战项目 106楼


ego-shop.7z

图片.png

图片.png



老师,帮我看一下是哪里的问题,找了很久都没找出来,我用地址访问接口,没问题,前端传递不过去数据,后台接收不到地址、以及参数。帮我看一下前台哪里出了问题!

WEB前端全系列/第二十阶段:Vue2企业级项目(旧)/Ego商城高级Vue实战项目 107楼
WEB前端全系列/第二十阶段:Vue2企业级项目(旧)/Ego商城高级Vue实战项目 108楼


1621744943(1).png

vue-egoshop.zip

老师,我的提示这个接口有问题是什么原因,还有就是我把node_module文件剪切出去之后再重新粘贴回来,然后服务器就提示找不到express了,这个怎么解决

WEB前端全系列/第二十阶段:Vue2企业级项目(旧)/Ego商城高级Vue实战项目 109楼

刘老师:

       下午好!我根据课程老师的步骤进行布置页面的导航栏,但出现以下报错,没办法让页面跑起来,现把报错和项目打包发上来,请指导,谢谢!


附报错代码:

D:\project zl\egoshop\egoshop>npm run serve


> egoshop@0.1.0 serve D:\project zl\egoshop\egoshop

> vue-cli-service serve


 INFO  Starting development server...

egoshop.rar

98% after emitting CopyPlugin


 ERROR  Failed to compile with 5 errors                                                                                       16:05:11


These relative modules were not found:


* ../../../api in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/views/Content/ContentNav/index.vue?vue&type=script&lang=js, ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/views/Content/ContentShow/index.vue?vue&type=script&lang=js

* ../../api in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/views/Login/index.vue?vue&type=script&lang=js

* ./ParamsList in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/views/Params/index.vue?vue&type=script&lang=js

* ./ProductList in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/views/Product/index.vue?vue&type=script&lang=js


WEB前端全系列/第二十阶段:Vue2企业级项目(旧)/Ego商城高级Vue实战项目 111楼

老师:

     下午好!我改为vue-cli.3.011后,可以跑起来了,前后台通行,但在cmd运行中出现以下截图中的现像“[nodemon] app crashed - waiting for file changes before starting...”,怎样处理呢?谢谢!




D:\project zl\egoshop\egoshop>npm run dev


> egoshop@0.1.0 dev D:\project zl\egoshop\egoshop

> concurrently "npm run serve" "nodemon mock/index.js"


[1] [nodemon] 2.0.7

[1] [nodemon] to restart at any time, enter `rs`

[1] [nodemon] watching path(s): *.*

[1] [nodemon] watching extensions: js,mjs,json

[1] [nodemon] starting `node mock/index.js`

[1] events.js:287

[1]       throw er; // Unhandled 'error' event

[1]       ^

[1]

[1] Error: listen EADDRINUSE: address already in use :::3002

[1]     at Server.setupListenHandle [as _listen2] (net.js:1313:16)

[1]     at listenInCluster (net.js:1361:12)

[1]     at Server.listen (net.js:1449:7)

[1]     at Function.listen (D:\project zl\egoshop\egoshop\node_modules\_express@4.17.1@express\lib\application.js:618:24)

[1]     at Object.<anonymous> (D:\project zl\egoshop\egoshop\mock\index.js:27:5)

[1]     at Module._compile (internal/modules/cjs/loader.js:1133:30)

[1]     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)

[1]     at Module.load (internal/modules/cjs/loader.js:977:32)

[1]     at Function.Module._load (internal/modules/cjs/loader.js:877:14)

[1]     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)

[1] Emitted 'error' event on Server instance at:

[1]     at emitErrorNT (net.js:1340:8)

[1]     at processTicksAndRejections (internal/process/task_queues.js:84:21) {

[1]   code: 'EADDRINUSE',

[1]   errno: 'EADDRINUSE',

[1]   syscall: 'listen',

[1]   address: '::',

[1]   port: 3002

[1] }

[1] [nodemon] app crashed - waiting for file changes before starting...


WEB前端全系列/第二十阶段:Vue2企业级项目(旧)/Ego商城高级Vue实战项目 112楼


egoshop.zip

老师,我的项目突然服务器提示找不到express,但是我已经安装了,您看下是什么原因

WEB前端全系列/第二十阶段:Vue2企业级项目(旧)/Ego商城高级Vue实战项目 114楼


egoshop.zip

image.png

老师麻烦帮我看下为啥我这个内容管理的导航请求不到数据,也没有报错

WEB前端全系列/第二十阶段:Vue2企业级项目(旧)/Ego商城高级Vue实战项目 115楼
WEB前端全系列/第二十阶段:Vue2企业级项目(旧)/Ego商城高级Vue实战项目 116楼

egoShop.zip

老师,我的项目现在可以正常运行,但是以import store 就会报错,视频里有些东西,vue3.0好像是更新了,和视频里不一样,老师麻烦您帮我看看,怎么能把数据存储到全局

WEB前端全系列/第二十阶段:Vue2企业级项目(旧)/Ego商城高级Vue实战项目 117楼


image.png

egoshop.zip

老师,我点击编辑然后提交的时候服务器报这个错误,我是按照视频中的一样写的

WEB前端全系列/第二十阶段:Vue2企业级项目(旧)/Ego商城高级Vue实战项目 118楼
WEB前端全系列/第二十阶段:Vue2企业级项目(旧)/Ego商城高级Vue实战项目 119楼

课程分类

百战程序员微信公众号

百战程序员微信小程序

©2014-2025百战汇智(北京)科技有限公司 All Rights Reserved 北京亦庄经济开发区科创十四街 赛蒂国际工业园
网站维护:百战汇智(北京)科技有限公司
京公网安备 11011402011233号    京ICP备18060230号-3    营业执照    经营许可证:京B2-20212637