I wanted to run this locally. I am using yarn with Node.js v20.9.0, just did yarn install and yarn dev and i get this:
username@computer3:~/Desktop/website-thomas-astro$ yarn dev
yarn run v1.22.19
$ astro dev --host
Failed to load url ./integrations/astro-code-snippets.js.js.js (resolved id: ./integrations/astro-code-snippets.js.js.js) in /home/username/Desktop/website-thomas-astro/astro.config.ts. Does the file exist?
9:13:19 PM [vite] Error when evaluating SSR module /home/username/Desktop/website-thomas-astro/astro.config.ts: failed to import "@astrojs/tailwind"
|- Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'tailwindcss' imported from /home/username/Desktop/website-thomas-astro/node_modules/@astrojs/tailwind/dist/index.js
at new NodeError (node:internal/errors:406:5)
at packageResolve (node:internal/modules/esm/resolve:789:9)
at moduleResolve (node:internal/modules/esm/resolve:838:20)
at defaultResolve (node:internal/modules/esm/resolve:1043:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:383:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:352:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:228:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:39)
at link (node:internal/modules/esm/module_job:84:36)
[astro] Unable to load your Astro config
error Cannot find package 'tailwindcss' imported from /home/username/Desktop/website-thomas-astro/node_modules/@astrojs/tailwind/dist/index.js
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'tailwindcss' imported from /home/username/Desktop/website-thomas-astro/node_modules/@astrojs/tailwind/dist/index.js
at new NodeError (node:internal/errors:406:5)
at packageResolve (node:internal/modules/esm/resolve:789:9)
at moduleResolve (node:internal/modules/esm/resolve:838:20)
at defaultResolve (node:internal/modules/esm/resolve:1043:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:383:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:352:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:228:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:39)
at link (node:internal/modules/esm/module_job:84:36)
error Command failed with exit code 1.
I wanted to run this locally. I am using yarn with Node.js
v20.9.0
, just didyarn install
andyarn dev
and i get this: