0

当我尝试为 IBM DB2 安装环回连接器时,我收到以下错误:

D:\official\office works\loopback\DB2try\employee_details> npm install loopback-connector-db2

npm WARN deprecated graceful-fs@3.0.8: graceful-fs v3.0.0 and before will fail o
n node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible
. Use 'npm ls graceful-fs' to find it in the tree.

D:\official\office works\loopback\DB2try\employee_details>apic loopback:refresh

Updating swagger and product definitions
Error: The LoopBack application is not loaded.

WARNING: LoopBack connector "db2" is not installed as any of the following modules:

 ./connectors/db2
loopback-connector-db2

To fix, run:

    npm install loopback-connector-db2

Cannot load the LoopBack application: Cannot create data source "IBMDB2":
WARNING: LoopBack connector "db2" is not installed as any of the following modul
es:

 ./connectors/db2
loopback-connector-db2

To fix, run:

    npm install loopback-connector-db2

Please fix the problem and run `apic loopback:refresh`

请帮助我解决问题。

4

1 回答 1

1

怎么样npm install loopback-connector-db2 --save

于 2017-03-29T03:26:40.033 回答