-
-
Notifications
You must be signed in to change notification settings - Fork 65
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 read properties of undefined (reading 'info') #220
Comments
upgrading astro to astro v4.7.0 solved this issue using |
I still get this:
Adding it to integrations solved it. import icon from "astro-icon";
export default defineConfig({
integrations: [icon()],
}); But this remains:
|
@nemanjam using manual installation. can lead to misconfiguration. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of
astro-icon
are you using?v1.9.2
Astro Info
If this issue only occurs in one browser, which browser is a problem?
chrome, Firefox
Describe the Bug
After installing astro-icon and creating a /src/icons/plus-circle.svg file
I have the following code:
`---
const { sectionName, sectionUrl, sectionItems } = Astro.props;
import { Icon } from 'astro-icon/components'
I have the follkowing issue executing 'npm run dev';
What's the expected result?
Not having this message "Cannot read properties of undefined (reading 'info')" which is displayed in the browser
Link to Minimal Reproducible Example
https://stackblitz.com/edit/astro-f8ywpn?file=src%2Fpages%2Findex.astro
The text was updated successfully, but these errors were encountered: