Tangmore / photoEditor

vue 实现对图片的编辑,如画圆、矩形、箭头,涂鸦,文字添加,剪切等功能
MIT License
13 stars 4 forks source link

npm run start 失败 #1

Open chinalai opened 3 years ago

chinalai commented 3 years ago

centry_mobile@1.0.0 start C:\Users\EDZ\Downloads\photoEditor-master\photoEditor-master

npm run dev

centry_mobile@1.0.0 dev C:\Users\EDZ\Downloads\photoEditor-master\photoEditor-master webpack-dev-server --inline --progress --config build/webpack.dev.conf.js

10% building modules 1/1 modules 0 activeevents.js:174 throw er; // Unhandled 'error' event ^

Error: listen EADDRNOTAVAIL: address not available 192.168.2.223:8086 at 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:832:11) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3) Emitted 'error' event at: 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 ELIFECYCLE npm ERR! errno 1 npm ERR! centry_mobile@1.0.0 dev: webpack-dev-server --inline --progress --config build/webpack.dev.conf.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the centry_mobile@1.0.0 dev 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 found in: npm ERR! C:\Users\EDZ\AppData\Roaming\npm-cache_logs\2020-11-26T09_35_47_987Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! centry_mobile@1.0.0 start: npm run dev npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the centry_mobile@1.0.0 start 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 found in: npm ERR! C:\Users\EDZ\AppData\Roaming\npm-cache_logs\2020-11-26T09_35_48_025Z-debug.log

chinalai commented 3 years ago

npm run dev也是失败

celizi commented 3 years ago

1.修改photoEditor-master\config\index.js 里面的端口 为本机的端口

  1. cnpm install node-sass@4.14.1
  2. npm run dev
celizi commented 3 years ago

image