You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not Found
404
Error: Not Found
at E:\space_react\React-Native-App-master\address_book\server\app.js:56:17
at Layer.handle [as handle_request] (E:\space_react\React-Native-App-master\address_book\server\node_modules\express\lib\router\layer.js:82:5)
at trim_prefix (E:\space_react\React-Native-App-master\address_book\server\node_modules\express\lib\router\index.js:302:13)
at E:\space_react\React-Native-App-master\address_book\server\node_modules\express\lib\router\index.js:270:7
at Function.proto.process_params (E:\space_react\React-Native-App-master\address_book\server\node_modules\express\lib\router\index.js:321:12)
at next (E:\space_react\React-Native-App-master\address_book\server\node_modules\express\lib\router\index.js:261:10)
at SendStream.error (E:\space_react\React-Native-App-master\address_book\server\node_modules\serve-static\index.js:107:7)
at emitOne (events.js:96:13)
at SendStream.emit (events.js:188:7)
at SendStream.error (E:\space_react\React-Native-App-master\address_book\server\node_modules\send\index.js:250:17)`
```
The text was updated successfully, but these errors were encountered:
var service = require('./services/test');
var message = require('./services/message');
var user = require('./services/user');
module.exports = function(app){
service.init(app);
message.init(app);
user.init(app);
}
windows
node:6.9.1
执行node app.js没报错,但是一访问http://localhost:3000/test/show 随便访问一个都出现下面的错误,没改动过源码
The text was updated successfully, but these errors were encountered: