iammapping / wedding

婚礼大屏互动,微信请柬一站式解决方案
Other
3.08k stars 816 forks source link

sails lift ,执行后,报错 #30

Open 961900940 opened 6 years ago

961900940 commented 6 years ago

qq 20181016180136

执行命令: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)

iammapping commented 6 years ago

在项目根目录执行 npm install 确保所有依赖安装成功

961900940 commented 6 years ago

[root@iZbp11psgsvkxk5zglhb6jZ xxx]# sails lift --prod

info: Starting app...

这就算启动了吗? 安装完,还没配置,一进网址,nginx 报403 forbiden; 这是对的吗?然后接着往下搞?

knight0zh commented 5 years ago

@961900940 我遇到了相同的问题,尝试npm install

➜ wedding git:(master) ✗ npm install npm WARN grunt-contrib-clean@0.5.0 requires a peer of grunt@~0.4.0 but none is installed. You must install peer dependencies yourself. npm WARN grunt-contrib-concat@0.3.0 requires a peer of grunt@~0.4.0 but none is installed. You must install peer dependencies yourself. npm WARN grunt-contrib-copy@0.5.0 requires a peer of grunt@~0.4.0 but none is installed. You must install peer dependencies yourself. npm WARN grunt-contrib-cssmin@0.9.0 requires a peer of grunt@~0.4.1 but none is installed. You must install peer dependencies yourself. npm WARN grunt-contrib-uglify@0.4.1 requires a peer of grunt@~0.4.0 but none is installed. You must install peer dependencies yourself. npm WARN grunt-rename@0.1.4 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

valleylmh commented 4 years ago

现在项目根本跑不起来

LatitudeMaster commented 4 years ago

image @iammapping 运行一直报这个错误,尝试了很多方法还是不行

fcbhank commented 3 years ago

删掉原来依赖,试试cnpm install?

LiQiongchao commented 2 years ago

image @iammapping 运行一直报这个错误,尝试了很多方法还是不行

试试 npm i natives

LatitudeMaster commented 2 years ago

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

961900940 commented 2 years ago

您好,我最近无法回复您的邮件。我将在空闲时间,尽快给您回复。