node.js - 请确保 `sails-cassandra` 是有效的 Sails/Waterline 适配器
问题描述
我已经设置了一个从生产到本地机器(窗口)的风帆项目。我们正在使用sails-cassandra
. 现在当我运行 **node app.js* 时。我收到以下错误
> error: A hook (`orm`) failed to load!
error: Error: There was an error
> attempting to load `sails-cassandra`. (Sails attempted to load this
> adapter because it is referenced by a datastore
> (`someCassandraServer`) in this app's configuration) Please ensure
> that `sails-cassandra` is a valid Sails/Waterline adapter, and that it
> is installed in this app.
任何人都知道我错过了什么。我的 Cassandra 数据库设置在外部服务器上,我可以 ping 该服务器。
解决方案
推荐阅读
- javascript - 为什么 Google 跟踪代码管理器中的自定义 javascript 变量会运行多次
- google-cloud-platform - Google Cloud Deployment Manager - 如何授予 pubsub 发布者对现有主题的服务帐户的访问权限
- javascript - XHR 上传进度为 100% 从开始
- java - Java - 使用线程启动 - 暂停 - 停止微型编程世界
- c# - WPF特殊的文本居中
- vue.js - 在表 bootstrap-vue.js 中搜索特定列
- python - 在熊猫数据框列上应用函数时出现问题
- qt - QML 通过 Stackview 导航;信号槽可以吗?
- swiftui - SwiftUI:点击时更改列表行突出显示颜色
- google-cloud-platform - GCP:如何在一个 VPC 中创建多个具有相同地址范围的子网?