Skip to content

Conversation

@cscnk52
Copy link
Contributor

@cscnk52 cscnk52 commented Jun 30, 2025

Description

I'm using latest version of Node.js, i encounter below error.

@follow/ssr:dev: C:\code\clone\Folo\apps\ssr\src\router\static.ts:1
@follow/ssr:dev: import { legalHtml } from "@follow/legal"
@follow/ssr:dev:          ^
@follow/ssr:dev:
@follow/ssr:dev: SyntaxError: The requested module '@follow/legal' does not provide an export named 'legalHtml'
@follow/ssr:dev:     at #_instantiate (node:internal/modules/esm/module_job:249:21)
@follow/ssr:dev:     at async ModuleJob.run (node:internal/modules/esm/module_job:357:5)
@follow/ssr:dev:     at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:665:26)
@follow/ssr:dev:     at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:99:5)
@follow/ssr:dev:
@follow/ssr:dev: Node.js v24.3.0

this error appear in @follow/components and @follow/legal package, change two package to ESM to fix it.

PR Type

  • Feature
  • Bugfix
  • Hotfix
  • Other (please describe):

Screenshots (if UI change)

Demo Video (if new feature)

Linked Issues

Additional context

Changelog

  • I have updated the changelog/next.md with my changes.

@vercel
Copy link

vercel bot commented Jun 30, 2025

@cscnk52 is attempting to deploy a commit to the RSS3 Team on Vercel.

A member of the Team first needs to authorize it.

@Innei Innei merged commit a5b834b into RSSNext:dev Jun 30, 2025
4 of 6 checks passed
@cscnk52 cscnk52 deleted the esm branch July 2, 2025 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants