Closed piapple closed 5 years ago
数据库启动了吗
piapple notifications@github.com 于2019年9月10日周二 下午5:19写道:
你好
[image: image] https://user-images.githubusercontent.com/15123988/64601085-dc1bd700-d3ee-11e9-972e-8a34f36bddd6.png
(node:88141) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect. (node:88141) UnhandledPromiseRejectionWarning: MongoNetworkError: failed to connect to server [127.0.0.1:27017] on first connect [Error: connect ECONNREFUSED 127.0.0.1:27017 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1056:14) { name: 'MongoNetworkError', errorLabels: [Array],
}] at Pool. (/Users/mac/Desktop/film/blog-service/node_modules/mongodb-core/lib/topologies/server.js:564:11)
尝试加了 也不行 [image: image] https://user-images.githubusercontent.com/15123988/64601159-066d9480-d3ef-11e9-95f4-3e455f033aef.png
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jkchao/blog-service/issues/11?email_source=notifications&email_token=AFO7DK7WFTPOKSUTY4PBDFTQI5RALA5CNFSM4IVFDRSKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HKMPMFA, or mute the thread https://github.com/notifications/unsubscribe-auth/AFO7DK5QTE3GL4M7MURWVFTQI5RALANCNFSM4IVFDRSA .
数据库启动了吗 piapple notifications@github.com 于2019年9月10日周二 下午5:19写道: … 你好 [image: image] https://user-images.githubusercontent.com/15123988/64601085-dc1bd700-d3ee-11e9-972e-8a34f36bddd6.png (node:88141) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect. (node:88141) UnhandledPromiseRejectionWarning: MongoNetworkError: failed to connect to server [127.0.0.1:27017] on first connect [Error: connect ECONNREFUSED 127.0.0.1:27017 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1056:14) { name: 'MongoNetworkError', errorLabels: [Array], [Symbol(mongoErrorContextSymbol)]: {} }] at Pool. (/Users/mac/Desktop/film/blog-service/node_modules/mongodb-core/lib/topologies/server.js:564:11) 尝试加了 也不行 [image: image] https://user-images.githubusercontent.com/15123988/64601159-066d9480-d3ef-11e9-95f4-3e455f033aef.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#11?email_source=notifications&email_token=AFO7DK7WFTPOKSUTY4PBDFTQI5RALA5CNFSM4IVFDRSKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HKMPMFA>, or mute the thread https://github.com/notifications/unsubscribe-auth/AFO7DK5QTE3GL4M7MURWVFTQI5RALANCNFSM4IVFDRSA .
我用docker启动的 docker-compose -f docker-compose.dev.yml up 这样对吗
数据库启动了吗 piapple notifications@github.com 于2019年9月10日周二 下午5:19写道: … 你好 [image: image] https://user-images.githubusercontent.com/15123988/64601085-dc1bd700-d3ee-11e9-972e-8a34f36bddd6.png (node:88141) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect. (node:88141) UnhandledPromiseRejectionWarning: MongoNetworkError: failed to connect to server [127.0.0.1:27017] on first connect [Error: connect ECONNREFUSED 127.0.0.1:27017 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1056:14) { name: 'MongoNetworkError', errorLabels: [Array], [Symbol(mongoErrorContextSymbol)]: {} }] at Pool. (/Users/mac/Desktop/film/blog-service/node_modules/mongodb-core/lib/topologies/server.js:564:11) 尝试加了 也不行 [image: image] https://user-images.githubusercontent.com/15123988/64601159-066d9480-d3ef-11e9-95f4-3e455f033aef.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#11?email_source=notifications&email_token=AFO7DK7WFTPOKSUTY4PBDFTQI5RALA5CNFSM4IVFDRSKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HKMPMFA>, or mute the thread https://github.com/notifications/unsubscribe-auth/AFO7DK5QTE3GL4M7MURWVFTQI5RALANCNFSM4IVFDRSA .
启动成功了 chomod 777 docker-compose.dev.yml
修改
你好
(node:88141) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect. (node:88141) UnhandledPromiseRejectionWarning: MongoNetworkError: failed to connect to server [127.0.0.1:27017] on first connect [Error: connect ECONNREFUSED 127.0.0.1:27017 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1056:14) { name: 'MongoNetworkError', errorLabels: [Array],
}] at Pool. (/Users/mac/Desktop/film/blog-service/node_modules/mongodb-core/lib/topologies/server.js:564:11)
尝试加了 也不行