Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Namespace 'LinkifyIt' has no exported member 'LinkifyIt' #111

Open
Wilkuuu opened this issue May 6, 2024 · 3 comments
Open

Error: Namespace 'LinkifyIt' has no exported member 'LinkifyIt' #111

Wilkuuu opened this issue May 6, 2024 · 3 comments

Comments

@Wilkuuu
Copy link

Wilkuuu commented May 6, 2024

Error: node_modules/@types/markdown-it/lib/index.d.ts:151:33 - error TS2694: Namespace 'LinkifyIt' has no exported member 'LinkifyIt'.
151 readonly linkify: LinkifyIt.LinkifyIt;

When i try build package i get this error. I think is related with last update (05/01/2024)

@Wilkuuu
Copy link
Author

Wilkuuu commented May 6, 2024

@KyleSmith0905
Copy link

I ran pnpm i @types/linkify-it@3.0.5 and it fixed the type safety issue. Not really a great solution, but at least I can build 😀.

@NiklasRosenstein
Copy link

Using @types/linkify-it@3.0.5 doesn't seem to work for me.

From my pnpm-lock.yaml:

  /@types/linkify-it@3.0.5:
    resolution: {integrity: sha512-yg6E+u0/+Zjva+buc3EIb+29XEg4wltq7cSmd4Uc2EE/1nUVmxyzpX6gUXD0V8jIrG0r7YeOGVIbYRkxeooCtw==}
    dev: true

  /@types/linkify-markdown@1.0.3:
    resolution: {integrity: sha512-BnuGqDmpzmXCDMXHzgle/vMRUnbFcWclts0+n7Or421exav3XG6efl9gsxamLET6QPhX+pMnxcsHgnAO/daj9w==}
    dev: true

And the error I get from pnpm build is:

#26 17.76 node_modules/.pnpm/@types+markdown-it@13.0.7/node_modules/@types/markdown-it/lib/index.d.ts(153,33): error TS2694: Namespace 'LinkifyIt' has no exported member 'LinkifyIt'.
#26 17.83  ELIFECYCLE  Command failed with exit code 2.
#26 17.84 ERROR: "compile:ts" exited with 1.
#26 17.84  ELIFECYCLE  Command failed with exit code 1.

manjeshbhargav added a commit to twilio/twilio-video.js that referenced this issue Aug 12, 2024
luisrivas pushed a commit to twilio/twilio-video.js that referenced this issue Oct 24, 2024
luisrivas pushed a commit to twilio/twilio-video.js that referenced this issue Oct 24, 2024
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

No branches or pull requests

3 participants