尝试安装Socioboard
我正在尝试安装sociobaord从以下URL.0
我尝试安装它的一部分,即.0/tree/master/socioboard-web-php并且成功了
但是
我无法安装API部件.0/tree/master/socioboard-api
[当我尝试安装Socioboard API时出现以下错误
D:\wamp\www\social\user>npm install
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: 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.
回答如下:您可以忽略第一个警告,因为在macOS上需要fs-events,您可以在消息中指出;这是一个警告。
关于第二个错误,发生的事情是您正在尝试从文件夹sequelize-cli访问可执行文件sequelize以启动db:migrate命令..但是Windows无法识别GO UP ONE FOLDER] >命令。
尝试从Windows 10 Powershell打开它并像这样执行它
sh ../node_modules/.bin/sequelize db:migrate