balderdashy/sails

Cannot use standalone sails-disk

開放

#7,012 建立於 2020年6月17日

 (2 則留言) (0 個反應) (0 位負責人)JavaScript (1,953 個分叉)batch import
help wantedsails-disktry this out please

倉庫指標

星標
 (22,778 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Node version: v12.13 Sails version (sails): none DB adapter & version (e.g. sails-mysql@5.55.5): sails-disk

Hello all, I'm trying to use waterline + sails-disk but when I require/import the adapter from "sails-disk" I encounter two errors:

Cannot find module '/machines/cp'

Error [ImplementationError]: Could not find cp, one of the modules in pkg.machinepack.machines.

Does anyone have any ideas?

Cheers!

貢獻者指南