请问这是啥情况啊?

 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> &nbsp; &nbsp;at E:\app\action\build\webpack.dev.conf.js:41:17<br> &nbsp; &nbsp;at Layer.handle [as handle_request] (E:\app\action\node_modules\express\lib\router\layer.js:95:5)<br> &nbsp; &nbsp;at next (E:\app\action\node_modules\express\lib\router\route.js:137:13)<br> &nbsp; &nbsp;at Route.dispatch (E:\app\action\node_modules\express\lib\router\route.js:112:3)<br> &nbsp; &nbsp;at Layer.handle [as handle_request] (E:\app\action\node_modules\express\lib\router\layer.js:95:5)<br> &nbsp; &nbsp;at E:\app\action\node_modules\express\lib\router\index.js:281:22<br> &nbsp; &nbsp;at Function.process_params (E:\app\action\node_modules\express\lib\router\index.js:335:12)<br> &nbsp; &nbsp;at next (E:\app\action\node_modules\express\lib\router\index.js:275:10)<br> &nbsp; &nbsp;at compression (E:\app\action\node_modules\compression\index.js:220:5)<br> &nbsp; &nbsp;at Layer.handle [as handle_request] (E:\app\action\node_modules\express\lib\router\layer.js:95:5)<br> &nbsp; &nbsp;at trim_prefix (E:\app\action\node_modules\express\lib\router\index.js:317:13)<br> &nbsp; &nbsp;at E:\app\action\node_modules\express\lib\router\index.js:284:7<br> &nbsp; &nbsp;at Function.process_params (E:\app\action\node_modules\express\lib\router\index.js:335:12)<br> &nbsp; &nbsp;at next (E:\app\action\node_modules\express\lib\router\index.js:275:10)<br> &nbsp; &nbsp;at next (E:\app\action\node_modules\express\lib\router\route.js:127:14)<br> &nbsp; &nbsp;at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)<br> &nbsp; &nbsp;at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)<br> &nbsp; &nbsp;at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)<br> &nbsp; &nbsp;at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)<br> &nbsp; &nbsp;at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)<br> &nbsp; &nbsp;at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)<br> &nbsp; &nbsp;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> &nbsp; &nbsp;at E:\app\action\build\webpack.dev.conf.js:41:17<br> &nbsp; &nbsp;at Layer.handle [as handle_request] (E:\app\action\node_modules\express\lib\router\layer.js:95:5)<br> &nbsp; &nbsp;at next (E:\app\action\node_modules\express\lib\router\route.js:137:13)<br> &nbsp; &nbsp;at Route.dispatch (E:\app\action\node_modules\express\lib\router\route.js:112:3)<br> &nbsp; &nbsp;at Layer.handle [as handle_request] (E:\app\action\node_modules\express\lib\router\layer.js:95:5)<br> &nbsp; &nbsp;at E:\app\action\node_modules\express\lib\router\index.js:281:22<br> &nbsp; &nbsp;at Function.process_params (E:\app\action\node_modules\express\lib\router\index.js:335:12)<br> &nbsp; &nbsp;at next (E:\app\action\node_modules\express\lib\router\index.js:275:10)<br> &nbsp; &nbsp;at compression (E:\app\action\node_modules\compression\index.js:220:5)<br> &nbsp; &nbsp;at Layer.handle [as handle_request] (E:\app\action\node_modules\express\lib\router\layer.js:95:5)<br> &nbsp; &nbsp;at trim_prefix (E:\app\action\node_modules\express\lib\router\index.js:317:13)<br> &nbsp; &nbsp;at E:\app\action\node_modules\express\lib\router\index.js:284:7<br> &nbsp; &nbsp;at Function.process_params (E:\app\action\node_modules\express\lib\router\index.js:335:12)<br> &nbsp; &nbsp;at next (E:\app\action\node_modules\express\lib\router\index.js:275:10)<br> &nbsp; &nbsp;at next (E:\app\action\node_modules\express\lib\router\route.js:127:14)<br> &nbsp; &nbsp;at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)<br> &nbsp; &nbsp;at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)<br> &nbsp; &nbsp;at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)<br> &nbsp; &nbsp;at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)<br> &nbsp; &nbsp;at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)<br> &nbsp; &nbsp;at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)<br> &nbsp; &nbsp;at next (E:\app\action\node_modules\express\lib\router\route.js:131:14)</pre>↵</body>↵</html>↵"

headers:Headers {map: {…}}

ok:false

status:500

statusText:"Internal Server Error"

url:"/api/seller"

data:(...)

__proto__:Object


qq_祗爱you沉默_04082565
浏览 2350回答 1
1回答

idreamc

seller变量没找到。如果这个变量不存在与你的代码中可以删除node_modules在重新安装。`rm -rf node_modules && npm i`
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Vue.js