Skip to content

Trying to add to Ecency Vision #24

@shawnpringle

Description

@shawnpringle

Trying to add to project results in an error. After adding the module via yarn, I am told I don't have loaders I need from only including a symbol from the library. Additionally I see these errors outputted on to the terminal:

ERROR in /home/leprechaun/Source/ecency-vision-development/node_modules/nostr-tools/lib/filter.d.ts(10,15):
TS2693: 'string' only refers to a type, but is being used as a value here.
ERROR in /home/leprechaun/Source/ecency-vision-development/node_modules/nostr-tools/lib/filter.d.ts(10,26):
TS2693: 'string' only refers to a type, but is being used as a value here.
ERROR in /home/leprechaun/Source/ecency-vision-development/node_modules/nostr-tools/lib/nip21.d.ts(10,65):
TS2693: 'string' only refers to a type, but is being used as a value here.
ERROR in /home/leprechaun/Source/ecency-vision-development/node_modules/nostr-tools/lib/nip21.d.ts(14,19):
TS2693: 'string' only refers to a type, but is being used as a value here.
ERROR in /home/leprechaun/Source/ecency-vision-development/node_modules/nostr-tools/lib/nip21.d.ts(16,12):
TS2693: 'string' only refers to a type, but is being used as a value here.
ERROR in /home/leprechaun/Source/ecency-vision-development/node_modules/nostr-tools/lib/nip21.d.ts(18,20):
TS2339: Property 'DecodeResult' does not exist on type 'typeof import("/home/leprechaun/Source/ecency-vision-development/node_modules/nostr-tools/lib/nip19")'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions