\n```\n\nProduces this error:\n\n **ERROR Pre-transform error: Failed to resolve entry for package \"@appwrite.io/pink\". The package may have incorrect main/module/exports specified in its package.json: Missing \".\" specifier in \"@appwrite.io/pink\" package**\n\nSearching the web for answers, I came across this support thread: https://appwrite.io/threads/1089527424523440148\n\nI've tried importing those style modules in the css property of `nuxt.config.ts`, as suggested:\n\n```\nexport default {\n // ....\n\n // Global CSS: https://go.nuxtjs.dev/config-css\n css: ['@appwrite.io/pink'],\n\n // ...\n}\n```\n\nBut, the same error still appears.\n\nIn the thread, the error is attributed to some issue with `Nuxt 2.15.8`, but I'm using `Nuxt 3.13` and still getting it (not sure if it's the exact same error, though, since the thread didn't include the error message).\n\nI could use the Pink style modules from the CDN, but am worried of going deeper into Appwrite if I run into an error like this just by following the tutorial in Appwrite's own docs.\n\nDoes anyone know if there's anything I can do to fix the error? Do you also run into it just by following the instructions in the Nuxt with Appwrite tutorial? (I followed it step by step, from scratch. I didn't have any pre-existing project nor setup)\n\nAdditional Context:\n- OS: macOS Sonoma 14.4.1\n- Node Version: v20.17.0\n- package.json Dependencies:\n\n```\n \"dependencies\": {\n \"@appwrite.io/pink\": \"^1.0.0-next.10\",\n \"appwrite\": \"^14.0.1\",\n \"nuxt\": \"^3.13.0\",\n \"vue\": \"latest\"\n }\n```\n\nAny help is appreciated. Thank you for your time!","author":{"@type":"Person","name":"deusMarte"},"datePublished":"2024-08-25T03:24:18.579Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/LikeAction","userInteractionCount":0}}}
Skip to content
Back
WebCloud

Cannot follow Nuxt tutorial. Importing "@appwrite.io/pink" leads to error.

Votes

0

Replies

0

Participants

Unknown

Messages

1

deusMarteOriginal post

Web Developer

Join the discussion

Reply to this thread by joining our Discord.

Reply on Discord