iPhoney
iPhoney

Reputation: 781

import issues with Cloud Build js sdk

In my react router v7 app with vite and type:'module' in package.json: This:

import { CloudBuildClient } from '@google-cloud/cloudbuild';

throws:

Error: Failed to resolve entry for package "@google-cloud/cloudbuild". The package may have incorrect main/module/exports specified in its package.json.

code: 'ERR_RESOLVE_PACKAGE_ENTRY_FAIL'

Upvotes: 0

Views: 23

Answers (0)

Related Questions