deployd错误:找不到模块'deployd / lib / resource'

时间:2015-10-14 08:35:53

标签: shell terminal deployd

我在deployd中安装了文件上传模块,无法启动deployd服务器。

要安装,我使用了这些命令:

select t1.id, t1.ques_id, t1.question, t1.ans from 
(
    select id, ques_id, question, ans, 
    (
        case ques_id when @curA 
        then @curRow := @curRow + 1 
        else @curRow := 1 and @curA := ques_id end 
    ) as rn 
    from tbl_questions t, 
    (select @curRow := 0, @curA := '') r 
    order by ques_id,id desc 
)t1 
where t1.rn = 1;

当我启动服务器时,我收到此错误

npm install dpd-fileupload --save
cd dpd-fileupload
npm link

1 个答案:

答案 0 :(得分:1)

我刚刚创建了一个deployd的链接,它可以工作。

命令:

npm link deployd

- )