Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest release is broken #1930

Closed
TriPSs opened this issue May 16, 2022 · 2 comments
Closed

Latest release is broken #1930

TriPSs opened this issue May 16, 2022 · 2 comments
Assignees
Labels
api: storage Issues related to the googleapis/nodejs-storage API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@TriPSs
Copy link

TriPSs commented May 16, 2022

Issue with latest release throwing:

Error: Cannot find module '/xx/node_modules/@google-cloud/storage/build/src/index.js'. Please verify that the package.json has a valid "main" entry
    at tryPackage (node:internal/modules/cjs/loader:353:19)
    at Function.Module._findPath (node:internal/modules/cjs/loader:566:18)
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (/xx/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at Object.<anonymous> (/xx/tools/tasks-runner/gcp-cache.js:40:17)
    at Module._compile (/xx/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
    at Module.load (node:internal/modules/cjs/loader:981:32) {
  code: 'MODULE_NOT_FOUND',
  path: '/xx/node_modules/@google-cloud/storage/package.json',
  requestPath: '@google-cloud/storage'
@TriPSs TriPSs added priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels May 16, 2022
@product-auto-label product-auto-label bot added the api: storage Issues related to the googleapis/nodejs-storage API. label May 16, 2022
@ddelgrosso1 ddelgrosso1 self-assigned this May 16, 2022
@ddelgrosso1
Copy link
Contributor

Hi @TriPSs thanks for bringing this to our attention. This was reported in #1931. Release 5.20.1 should resolve this problem. If it does not, please feel free to reopen.

@faradaytrs
Copy link

Still broken, now it's ERROR: Could not resolve "../package.json"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the googleapis/nodejs-storage API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

3 participants