任何人都可以告诉我为什么在运行环回时会出现此问题。
Error: Cannot PROPFIND /webdav/
at raiseUrlNotFoundError (/usr/lib/node_modules/loopback/server/middleware/url-not-found.js:15:17)
at Layer.handle [as handle_request] (/home/developer/myapps-angularjs/node_modules/loopback/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/developer/myapps-angularjs/node_modules/loopback/node_modules/express/lib/router/index.js:312:13)
at /home/developer/myapps-angularjs/node_modules/loopback/node_modules/express/lib/router/index.js:280:7
at Function.process_params (/home/developer/myapps-angularjs/node_modules/loopback/node_modules/express/lib/router/index.js:330:12)
at next (/home/developer/myapps-angularjs/node_modules/loopback/node_modules/express/lib/router/index.js:271:10)
at serveStatic (/usr/lib/node_modules/loopback/node_modules/express/node_modules/serve-static/index.js:74:16)
at Layer.handle [as handle_request] (/home/developer/myapps-angularjs/node_modules/loopback/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/developer/myapps-angularjs/node_modules/loopback/node_modules/express/lib/router/index.js:312:13)
at /home/developer/myapps-angularjs/node_modules/loopback/node_modules/express/lib/router/index.js:280:7
此错误会影响其他文档API吗? 这是主要的错误吗?
答案 0 :(得分:1)
raiseUrlNotFoundError
。如果您使用Angular SDK进行环回,请检查lb-services.js文件中的urlBase参数。