Skip to content

@clerk/remix - DEPRECATION WARNING: "frontendApi" #2089

Description

@piotrkulpinski

Preliminary Checks

Reproduction / Replay Link

na

Publishable key

pk_test_cGVyZmVjdC1jaG93LTk1LmNsZXJrLmFjY291bnRzLmRldiQ

Description

Hi,
I've followed the docs on how to get Clerk working with Remix app using this guide: https://clerk.com/docs/quickstarts/remix

Right after starting the server with clean install, I get the following warning:

Clerk - DEPRECATION WARNING: "frontendApi" is deprecated and will be removed in the next major release.
Use `publishableKey` instead.

I have the publishable key in my .env file just as described.

Environment

System:
    OS: macOS 14.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 146.38 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.9.0 - /usr/local/bin/node
    Yarn: 1.22.19 - ~/.bun/bin/yarn
    npm: 10.1.0 - /usr/local/bin/npm
    pnpm: 8.10.2 - ~/Library/pnpm/pnpm
    bun: 1.0.2 - ~/Library/pnpm/bun
  Browsers:
    Brave Browser: 110.1.48.158
    Chrome: 119.0.6045.105
    Edge: 119.0.2151.46
    Safari: 17.1
  npmPackages:
    @clerk/remix: ^3.1.3 => 3.1.3 
    @remix-run/dev: ^2.2.0 => 2.2.0 
    @remix-run/eslint-config: ^2.2.0 => 2.2.0 
    @remix-run/node: ^2.2.0 => 2.2.0 
    @remix-run/react: ^2.2.0 => 2.2.0 
    @remix-run/serve: ^2.2.0 => 2.2.0 
    @t3-oss/env-core: ^0.7.1 => 0.7.1 
    @types/react: ^18.2.37 => 18.2.37 
    @types/react-dom: ^18.2.15 => 18.2.15 
    eslint: ^8.53.0 => 8.53.0 
    isbot: ^3.7.0 => 3.7.0 
    react: ^18.2.0 => 18.2.0 
    react-dom: ^18.2.0 => 18.2.0 
    typescript: ^5.2.2 => 5.2.2 
    vite: ^4.5.0 => 4.5.0 
    vite-tsconfig-paths: ^4.2.1 => 4.2.1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions