Skip to content

ui build fails #2

@rabble

Description

@rabble

Running pnpm build at the root:

@nostr-stack/ui:build: cache miss, executing 9c03a7d74c807b93
@nostr-stack/ui:build:
@nostr-stack/ui:build: > @nostr-stack/[email protected] build /Users/rabble/code/experiments/nostr-stack/packages/ui
@nostr-stack/ui:build: > tsc && vite build
@nostr-stack/ui:build:
@nostr-stack/ui:build: src/feed-item/FeedItem.tsx(2,26): error TS7016: Could not find a declaration file for module 'remark-linkify-regex'. '/Users/rabble/code/experiments/nostr-stack/node_modules/.pnpm/[email protected]/node_modules/remark-linkify-regex/index.js' implicitly has an 'any' type.
@nostr-stack/ui:build: Try npm i --save-dev @types/remark-linkify-regex if it exists or add a new declaration (.d.ts) file containing declare module 'remark-linkify-regex';
@nostr-stack/ui:build:  ELIFECYCLE  Command failed with exit code 2.
@nostr-stack/ui:build: ERROR: command finished with error: command (/Users/rabble/code/experiments/nostr-stack/packages/ui) pnpm run build exited (1)
command (/Users/rabble/code/experiments/nostr-stack/packages/ui) pnpm run build exited (1)

Tasks: 2 successful, 3 total
Cached: 0 cached, 3 total
Time: 26.004s

ERROR run failed: command exited (1)
 ELIFECYCLE  Command failed with exit code 1

Metadata

Metadata

Assignees

No one assigned

    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