Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

safari "@solana/spl-token": "^0.4.6", getAssociatedTokenAddress error #6811

Closed
@amshiro

Description

@amshiro

SyntaxError: Invalid regular expression: invalid group specifier name

I commented out this section and the page is normal

Safari: 14.1.2 (14611.3.10.1.7)

import { getAssociatedTokenAddress } from "@solana/spl-token"; const associatedTokenAccount = await getAssociatedTokenAddress(new PublicKey(mintAddrStore.value), new PublicKey(addressStore.value));
please help me

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions