Cannot find module grpc_node.node


#1

I’m just getting a new project started and hit a snag with the first package I need, Google Cloud Vision. https://www.npmjs.com/package/@google-cloud/vision

After installing the package with npm I get the following error:

Error: Cannot find module '/app/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64/grpc_node.node'

Thanks!


#2

Solved - should have spent more time debugging. Updating node to the latest stable version did the trick.

$ nvm use 8.6.0