fix error 'cannot find module'

Installing with `npm i --save-dev` causes "cannot find module".