I Your application is running here: http://localhost:8080 ReferenceError: seller is not defined at E:\app\action\build\webpack.dev.conf.js:41:17 at Layer.handle [as handle_request] (E:\app\action\node_modules\express\lib\router\layer.js:95:5) at next (E:\app\action\node_modules\express\lib\router\route.js:137:13) at Route.dispatch (E:\app\action\node_modules\express\lib\router\route.js:112:3) at Layer.handle [as handle_request] (E:\app\action\node_modules\express\lib\router\layer.js:95:5) at E:\app\action\node_modules\express\lib\router\index.js:281:22 at Function.process_params (E:\app\action\node_modules\express\lib\router\index.js:335:12) at next (E:\app\action\node_modules\express\lib\router\index.js:275:10) at compression (E:\app\action\node_modules\compression\index.js:220:5) at Layer.handle [as handle_request] (E:\app\action\node_modules\express\lib\router\layer.js:95:5) at trim_prefix (E:\app\action\node_modules\express\lib\router\index.js:317:13) at E:\app\action\node_modules\express\lib\router\index.js:284:7 at Function.process_params (E:\app\action\node_modules\express\lib\router\index.js:335:12) at next (E:\app\action\node_modules\express\lib\router\index.js:275:10) at next (E:\app\action\node_modules\express\lib\router\route.js:127:14) at next (E:\app\action\node_modules\express\lib\router\route.js:131:14) at next (E:\app\action\node_modules\express\lib\router\route.js:131:14) at next (E:\app\action\node_modules\express\lib\router\route.js:131:14) at next (E:\app\action\node_modules\express\lib\router\route.js:131:14) at next (E:\app\action\node_modules\express\lib\router\route.js:131:14) at next (E:\app\action\node_modules\express\lib\router\route.js:131:14) at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)vue-resource.esm.js?f3ef:1086 GET http://localhost:8080/api/seller 500 (Internal Server Error):8080/#/goods:1 Uncaught (in promise)Response {url: "/api/seller", ok: false, status: 500, statusText: "Internal Server Error", headers: Headers, …}body:"<!DOCTYPE html>↵<html>↵<head>↵<meta charset="utf-8">↵<title>Error</title>↵</head>↵<body>↵<pre>ReferenceError: seller is not defined<br> at E:\app\action\build\webpack.dev.conf.js:41:17<br> at Layer.handle [as handle_request] (E:\app\action\node_modules\express\lib\router\layer.js:95:5)<br> at next (E:\app\action\node_modules\express\lib\router\route.js:137:13)<br> at Route.dispatch (E:\app\action\node_modules\express\lib\router\route.js:112:3)<br> at Layer.handle [as handle_request] (E:\app\action\node_modules\express\lib\router\layer.js:95:5)<br> at E:\app\action\node_modules\express\lib\router\index.js:281:22<br> at Function.process_params (E:\app\action\node_modules\express\lib\router\index.js:335:12)<br> at next (E:\app\action\node_modules\express\lib\router\index.js:275:10)<br> at compression (E:\app\action\node_modules\compression\index.js:220:5)<br> at Layer.handle [as handle_request] (E:\app\action\node_modules\express\lib\router\layer.js:95:5)<br> at trim_prefix (E:\app\action\node_modules\express\lib\router\index.js:317:13)<br> at E:\app\action\node_modules\express\lib\router\index.js:284:7<br> at Function.process_params (E:\app\action\node_modules\express\lib\router\index.js:335:12)<br> at next (E:\app\action\node_modules\express\lib\router\index.js:275:10)<br> at next (E:\app\action\node_modules\express\lib\router\route.js:127:14)<br> at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)<br> at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)<br> at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)<br> at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)<br> at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)<br> at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)<br> at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)</pre>↵</body>↵</html>↵"bodyText:"<!DOCTYPE html>↵<html>↵<head>↵<meta charset="utf-8">↵<title>Error</title>↵</head>↵<body>↵<pre>ReferenceError: seller is not defined<br> at E:\app\action\build\webpack.dev.conf.js:41:17<br> at Layer.handle [as handle_request] (E:\app\action\node_modules\express\lib\router\layer.js:95:5)<br> at next (E:\app\action\node_modules\express\lib\router\route.js:137:13)<br> at Route.dispatch (E:\app\action\node_modules\express\lib\router\route.js:112:3)<br> at Layer.handle [as handle_request] (E:\app\action\node_modules\express\lib\router\layer.js:95:5)<br> at E:\app\action\node_modules\express\lib\router\index.js:281:22<br> at Function.process_params (E:\app\action\node_modules\express\lib\router\index.js:335:12)<br> at next (E:\app\action\node_modules\express\lib\router\index.js:275:10)<br> at compression (E:\app\action\node_modules\compression\index.js:220:5)<br> at Layer.handle [as handle_request] (E:\app\action\node_modules\express\lib\router\layer.js:95:5)<br> at trim_prefix (E:\app\action\node_modules\express\lib\router\index.js:317:13)<br> at E:\app\action\node_modules\express\lib\router\index.js:284:7<br> at Function.process_params (E:\app\action\node_modules\express\lib\router\index.js:335:12)<br> at next (E:\app\action\node_modules\express\lib\router\index.js:275:10)<br> at next (E:\app\action\node_modules\express\lib\router\route.js:127:14)<br> at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)<br> at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)<br> at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)<br> at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)<br> at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)<br> at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)<br> at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)</pre>↵</body>↵</html>↵"headers:Headers {map: {…}}ok:falsestatus:500statusText:"Internal Server Error"url:"/api/seller"data:(...)__proto__:Object
1 回答
idreamc
TA贡献3条经验 获得超0个赞
seller变量没找到。如果这个变量不存在与你的代码中可以删除node_modules在重新安装。`rm -rf node_modules && npm i`
添加回答
举报
0/150
提交
取消