Tailwind CSS throws an error when Snowpacks cache is empty #2012
Unanswered
stefanfrede
asked this question in
Troubleshooting
Replies: 3 comments 3 replies
-
With streaming NPM imports the problem is gone:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
This is still a bug in local mode! Will want to fix this. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Apparently some configuration parameters have changed in the latest version of Snowpack. An updated version of @stefanfrede's workaround that solved this problem for me: // snowpack.config.js packageOptions: { source: 'remote', }, @FredKSchott should an issue still be opened for this? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When I run
snowpack dev
Tailwind CSS fails installing whennode_modules/.cache/snowpack/development
is empty (either on a fresh install or when I runsnowpack dev --reload
):snowpack build
runs just fine.Once there is a cache the setup runs flawlessly.
This is my repo: https://github.com/stefanfrede/11st-starter-kit.
And here are the changes which led to this behaviour: https://github.com/stefanfrede/11st-starter-kit/pull/61/files (only the changes regarding the style folder).
Any tip how to solve this is much appreciated because when it works it is blazingly fast and a lot of fun to work with.
Beta Was this translation helpful? Give feedback.
All reactions