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

Cannot find module '@svgmoji/notomoji' #25

Open
mauriciabad opened this issue Nov 27, 2023 · 0 comments
Open

Cannot find module '@svgmoji/notomoji' #25

mauriciabad opened this issue Nov 27, 2023 · 0 comments

Comments

@mauriciabad
Copy link

mauriciabad commented Nov 27, 2023

Summary

The package @svgmoji/notomoji does not exist, but it is used in examples on the documentation, leading to errors.

Steps to reproduce

This code:

import { Notomoji } from '@svgmoji/notomoji';
import data from 'svgmoji/emoji.json';

const notomoji = new Notomoji({ data, type: 'individual' })

Produces this is the error:

Cannot find module '@svgmoji/notomoji' or its corresponding type declarations.ts(2307)

Expected results

No errors in examples on the documentation.

Possible Solution

Rename references to @svgmoji/noto instead. But there's a type error that rises then (#26)...

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

1 participant