add opencv to package.json, fix local server-config errors