A React component library for rendering common AT Protocol records for applications such as Bluesky and Leaflet.
40
fork

Configure Feed

Select the types of activity you want to include in your feed.

bug: Failed to resolve entry for package #8

open opened by haetae.tngl.sh

Hi, thanks for making this, it's saving my life.

But also, I'm struggling to update to the latest version (0.4.0 I think?). This is my setup:

When I update to the latest version, I keep running into an error that says:

Failed to resolve entry for package "atproto-ui". The package may have incorrect main/module/exports specified in its package.json

I've tried the following steps to see if I could resolve it by myself:

  • Using "overrides" in the package.json to override the "react" packages like this:
"overrides": {
  "react": "npm:@preact/compat@latest",
  "react-dom": "npm:@preact/compat@latest"
}
  • Using overrides in the pnpm-workspace.yaml to override the "react" packages like this:
overrides:
  react: "npm:@preact/compat@latest"
  react-dom: "npm:@preact/compat@latest"
  • Setting the vite.ssr.noExternal option in astro.config.mjs to include "atproto-ui"
vite: {
  ssr: {
    noExternal: ["atproto-ui"],
  },
}
  • Installing the React integration and setting that as the default

None of these options seemed to work? I tried looking at the package.json for atproto-ui too but I couldn't find anything odd? Not sure what happened... :/

[deleted by author]

Thank you so much! It's working on my setup now :)

sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:7tgvmrnxdj7q2tr7iemkikdv/sh.tangled.repo.issue/3m34sgjfwht22