找不到模块' ./ config'平均堆栈

时间:2018-03-14 04:22:08

标签: mongodb mongoose swagger mean-stack

在尝试将mongodb与Swagger连接时,它总是如此     显示

  

错误:无法找到模块' ./ config'

Select ...,
 A.number,
               (
                 SELECT L.created_by_user_id
                   FROM user_content L
                  WHERE ( 
                          L.content LIKE '%message%'
                          OR L.content LIKE '%response%'
                        ) 
                        AND L.number = A.number 
                        AND ROWNUM = 1
                        ORDER BY  created_by_date /* If this order by deleted, the query works well*/
               ) as first_user
FROM ...

1 个答案:

答案 0 :(得分:1)

您的配置文件不在根目录中 它需要与app.js文件处于同一级别