sails lift ,执行后,报错

执行命令:sails lift
info: Starting app...
info: No local Sails install detected; using globally-installed Sails.
debug: Warning: Grunt functionality may not work properly with your current configuration.
debug: Run npm install sails-hook-grunt --save to continue using Grunt with your app.
debug:
error: A hook (userconfig) failed to load!
error:
error: As of Sails v1, sails.config.globals._ must be either false or a locally-installed version of Lodash (typically require('lodash')). For more info, see http://sailsjs.com/config/globals
error: Could not load Sails app.
error:
error: Tips:
error: • First, take a look at the error message above.
error: • Make sure you've installed dependencies with npm install.
error: • Check that this app was built for a compatible version of Sails.
error: • Have a question or need help? (http://sailsjs.com/support)
在项目根目录执行 npm install 确保所有依赖安装成功
[root@iZbp11psgsvkxk5zglhb6jZ xxx]# sails lift --prod
info: Starting app...
这就算启动了吗? 安装完,还没配置,一进网址,nginx 报403 forbiden; 这是对的吗?然后接着往下搞?
@961900940 我遇到了相同的问题,尝试npm install
➜ wedding git:(master) ✗ npm install npm WARN [email protected] requires a peer of grunt@~0.4.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of grunt@~0.4.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of grunt@~0.4.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of grunt@~0.4.1 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of grunt@~0.4.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of grunt@~0.4.1 but none is installed. You must install peer dependencies yourself.
updated 1 package and audited 1698 packages in 4.713s
found 54 vulnerabilities (45 low, 5 moderate, 2 high, 2 critical)
run npm audit fix to fix them, or npm audit for details
现在项目根本跑不起来
@iammapping 运行一直报这个错误,尝试了很多方法还是不行
删掉原来依赖,试试cnpm install?
@iammapping 运行一直报这个错误,尝试了很多方法还是不行
试试 npm i natives
这是来自QQ邮箱的假期自动回复邮件。 您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
您好,我最近无法回复您的邮件。我将在空闲时间,尽快给您回复。