Varuk
Varuk3mo ago

Fresh issues out of the box?

I newly installed deno. I followed the instructions on Fresh's docs pages to get a new project started. I select yes when prompted to use a styling library. I select the recommended tailwindcss. I cd into my new fresh-project. Run deno task start then I get thrown this "error: Uncaught (in promise) TypeError: Could not resolve 'npm:tailwindcss@3.4.1'" I would appreciate any feedback on this because I can't get past the starting line
5 Replies
bartlomieju
bartlomieju3mo ago
@marvinh. please advise
marvinh.
marvinh.3mo ago
Do you happen to have a package.json in the same folder as the fresh project?
Varuk
VarukOP3mo ago
No
marvinh.
marvinh.3mo ago
any way we could reproduce the error on our end? Is the repository public?
Varuk
VarukOP3mo ago
I don’t think so. This issue is happening locally. I haven’t tried creating a repository since I can’t get the project to run. However, I created another project locally without including a styling library and the project works that way. I would like to include tailwind in my project though and can’t figure out why that inclusion breaks it.