- Install node-gyp globally.
$ npm i -g node-gyp
- Install modules.
$ npm install
- You need mecab or mecab-ko for Korean language.
Build mecab using docker image "lambci/lambda:build-nodejs8.10". reference
$ ./sls-build.sh
bash: permission denied: ./sls-build.sh
# Add a permission on 'sls-build.sh' file
$ chmod +x sls-build.sh