ITPub博客

首页 > > > vue 3.0 如何 运行之前得 vue2.0 得项目

vue 3.0 如何 运行之前得 vue2.0 得项目

作者:amadan 时间:2019-11-12 09:47:49 0 删除 编辑

各位大佬,最近把vue 升级到 3.0 但是之前得 2.9.6 得项目没办法启动了,求问一下,怎么在不降版本得前提下,运行之前得项目。

(我搜了好多,都是如何在vue 3.0 基础上 创建2.0 得项目)

报这个错呢E:\lc\jinan\resource-management>npm run dev> resource-management@1.0.0devE:\lc\jinan\resource-management> webpack-dev-server --host192.168.1.179--inline --progress --config build/webpack.dev.conf.js10%building modules1/1modules0activeevents.js:174throw er;// Unhandled 'error' event^Error: listenEADDRNOTAVAIL: address not available192.168.1.179:8081at Server.setupListenHandle [as _listen2] (net.js:1262:19) at listenInCluster (net.js:1327:12) at doListen (net.js:1460:7) at process._tickCallback (internal/process/next_tick.js:63:19) at Function.Module.runMain (internal/modules/cjs/loader.js:834:11) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)Emitted'error'eventat: at emitErrorNT (net.js:1306:8) at process._tickCallback (internal/process/next_tick.js:63:19) [... lines matching original stack trace ...] at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)npm ERR! code ELIFECYCLEnpm ERR! errno1npm ERR! resource-management@1.0.0dev:`webpack-dev-server --host 192.168.1.179 --inline --progress --config build/webpack.dev.conf.js`npm ERR! Exit status1npm ERR!npm ERR! Failed at the resource-management@1.0.0dev script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be foundin:npm ERR!C:\Users\fengcy\AppData\Roaming\npm-cache\_logs\2019-11-11T08_51_46_088Z-debug.log

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/2310/viewspace-3157896/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-08-06

  • 博文量
    200
  • 访问量
    14412