尝试安装Socioboard-api NodeJ时出现问题

时间:2019-10-02 21:22:47

标签: node.js npm npm-install

我正在尝试安装sociobaord 从以下URL https://github.com/socioboard/Socioboard-4.0

我尝试安装其中的一部分,即https://github.com/socioboard/Socioboard-4.0/tree/master/socioboard-web-php并成功

但是

我无法安装API部分https://github.com/socioboard/Socioboard-4.0/tree/master/socioboard-api

当我尝试安装Socioboard API时遇到以下错误

D:\wamp\www\social\user>npm install
npm WARN user@1.0.0 No description
npm WARN user@1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

audited 877396 packages in 46.139s
found 0 vulnerabilities

D:\wamp\www\social\library\sequelize-cli> ../node_modules/.bin/sequelize db:migrate
'..' is not recognized as an internal or external command,
operable program or batch file.

1 个答案:

答案 0 :(得分:2)

解决了您的问题之后..我们发现您需要根据文档将所有软件包安装在所有文件夹中。

此外,他们的文档丢失了,要正确安装该应用程序,我们需要安装sequelize-cli,最好安装globally

一旦安装..,只需删除指向续集二进制文件 ../ node_modules / .bin / sequelize 的完整链接,然后键入sequelize