无法在 linux mint 上安装 meanjs

unable to install meanjs on linux mint

我尝试安装 meanjs stack 已经一个星期了,但没有成功。

每次我按照一些教程进行操作时都会出错。现在我遇到了很多问题,nodejs 版本太多,我不知道哪个应该与什么以及为什么 karma 不起作用......等 无论如何要删除所有内容并正确安装 meanjs 并成功 运行

+ WARNING: It is strongly recommended that you change sessionSecret config while running in production!
  Please add `sessionSecret: process.env.SESSION_SECRET || 'super amazing secret'` to 
  `config/env/production.js` or `config/env/local.js`


/opt/mean/node_modules/connect-mongo/src/index.js:3
const Promise = require('bluebird');
^^^^^
error: uncaughtException: Use of const in strict mode. date=Mon Jul 18 2016 19:15:59 GMT+0400 (GST), pid=29602, uid=1000, gid=1000, cwd=/opt/mean, execPath=/usr/local/bin/node, version=v0.10.33, argv=[node, /opt/mean/server], rss=47960064, heapTotal=35267072, heapUsed=18951416, loadavg=[0.5966796875, 0.453125, 0.66748046875], uptime=4058.491096953
SyntaxError: Use of const in strict mode.
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object. (/opt/mean/node_modules/connect-mongo/index.js:1:80)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object. (/opt/mean/config/lib/express.js:12:16)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)

下面是我的系统配置

任何人都可以帮助我,我想开始。

我没有深入研究,但我猜你的节点版本不支持 'const' 关键字。 0.10.x 是一个(相当)旧版本的节点;您是否考虑过升级到具有 ES 6 本机支持的版本之一?