olivernn / lunr-index-builder

A simple command line too for building lunr indexes
8 stars 5 forks source link

lunr-index-build: command not found #2

Open molinto opened 9 years ago

molinto commented 9 years ago

Trying to build the index using your npm module, but keep getting 'lunr-index-build: command not found'. I'm using your example code in the readme.

Can this be used on the fly, eg: when we create an article in mongoDb in reindexes & saves the file, so new content is always available?

Thanks

luboszima commented 4 years ago

after npm install, i have acces to lunr-generator which is alias to lunr-index-build I had another problem with file located at /usr/local/bin/node but on my computer i had node somewhere else. So i had to create symlink for fixing this issue

sudo ln -s /usr/bin/node /usr/local/bin/node

I hope it helps. :)