C:\Users\test\AppData\Roaming\npm\node_modules\mongo-express\app.js:5
const clc = require('cli-color');
^^^^^
SyntaxError: Use of const in strict mode.
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3
This error occur on node.js v0.10.x
Update node.js version to 4.x OR 5.x
and will be no error.
good luck
2016년 1월 25일 월요일
2016년 1월 21일 목요일
MongoDB install on Ubuntu 14.04 LTS
MongoDB install on Ubuntu 14.04 LTS
Install MongoDB1. Use apt-get install
https://docs.mongodb.org/master/tutorial/install-mongodb-on-ubuntu/?_ga=1.5459123.1233507774.1453343859
I just run
$apt-get install mongodb
If you want to start,
$sudo services mongodb start
2. Use tallball
https://docs.mongodb.org/manual/tutorial/install-mongodb-on-linux/
I started at /home/pineoc
$curl -O https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.2.1.tgz
$ tar -zxvf mongodb-linux-x86_64-3.2.1.tgz
$mkdir -p mongodb
$cp -R -n mongodb-linux-x86_64-3.2.1/ mongodb
$nano ~/.bashrc
add text to .bashrc
****************************************************************
...
...
export PATH=/home/pineoc/mongodb/bin:$PATH
If you want to start,
$mkdir -p /data/db
$mongod
good luck!
피드 구독하기:
덧글 (Atom)
JIRA Plugin - ScriptRunner 소개 #2
관련 글 소개 #1: https://pineoc.blogspot.com/2019/03/scriptrunner-1.html ScriptRunner 소개 #2 지난 글에서는 Behaviours를 보았고 다음 내용인 콘솔, 리스너 등을 ...
-
에반젤리스트(Evangelist)란 무엇일까요? 단어 그대로 말한다면 '전도사'의 의미를 가지고 있습니다. 그리고 제가 공부하는 IT업계에서도 이 에반젤리스트가 있지요. 이분들이 하는 일은 쉽게 말해서 기술에 대해 전파하고 알리...
-
한눈에 볼 수 있는 Cocos2d의 역사 (The history of Cocos2d in a glimpse) 원글: https://retro.moe/2017/04/16/cocos2d-in-a-glimpse/ Cocos2d 만든 Ricardo...