googleapis / nodejs-common

🚀🐢 A set of classes and utilities used in Google npm modules.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: Cannot find module '@google-cloud/common' with 0.18.0 and 0.18.1

nolanmar511 opened this issue · comments

Environment details

  • OS: Linux (also seen on appveyor, so impacts windows)
  • Node.js version: 8.11.1 (also seen w/ latest version of 6 and 9)
  • npm version: 5.8.0
  • @google-cloud/common version: 0.18.0 (and 0.18.1)

Steps to reproduce

  1. npm install @google-cloud/common
  2. Run a test (or anything else probably) which requires @google-cloud/common

Then seen this error message (with a stack trace):

Error: Cannot find module '@google-cloud/common'

When I run ls node_modules/@google-cloud/common/ I see CONTRIBUTORS LICENSE node_modules package.json README.md. So there don't seem to be any .js files in the package I've installed.

@nolanmar511 Bullet 2 in "Steps to reproduce" seems to be unfinished.

Apologies for the trouble. This was fixed in 0.18.2 😄