You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We're trying to upgrade @builder.io/sdk to 2.2.1 from 2.1.1, it fails in build step:
throw new Error("Fetching content failed, expected apiKey to be defined instead got: ".concat(this.apiKey));
The API key is defined as an environment variable and it is passed correctly. We even tried passing an API key directly to the builder.init() function, but it still didn't work.
Additional context
It also appears that when we attempt to update @builder.io/react to 3.2.0 from 3.1.1, it fails with the same error.
Using:
Next.js 14.1
Node 18
The text was updated successfully, but these errors were encountered:
@jeniabrook Are you still able to reproduce this issue? The latest versions of each of our SDKs are continuously deployed and tested via CI, and we are not able to reproduce this bug.
Describe the bug
We're trying to upgrade
@builder.io/sdk
to2.2.1
from2.1.1
, it fails in build step:The API key is defined as an environment variable and it is passed correctly. We even tried passing an API key directly to the
builder.init()
function, but it still didn't work.Additional context
It also appears that when we attempt to update
@builder.io/react
to3.2.0
from3.1.1
, it fails with the same error.Using:
Next.js 14.1
Node 18
The text was updated successfully, but these errors were encountered: