1
現在我已經有一個星期了,我試圖安裝meanjs stack並沒有成功。無法在linux mint上安裝meanjs
每次我按照一些教程,並得到錯誤。現在我結束了很多問題,太多的nodejs版本,我不知道哪一個應該與什麼和爲什麼業力不工作...等 是否有刪除所有內容,並正確安裝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)
下面是我的系統配置
- Linux Mint的17.2 64位
- 的NodeJS v0.10.33
- NPM 1.4.28
- 涼亭1.7.9
- 的MongoDB v3.0.12
誰能請幫助我,我要開始。