-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
What component (if applicable)
- URL for category: https://tailwindui.com/templates/radiant
Describe the bug
-
I downloaded the Radiant template, ran
npm start, setupsanityas stated in the README and rannpm run devbut there seems to be an issue with the css and it's not loading. -
Additionally,
npm run buildfails in the typescript version with the following error
➜ npm run build
> [email protected] build
> next build
▲ Next.js 14.2.11
- Environments: .env.local
Creating an optimized production build ...
✓ Compiled successfully
Linting and checking validity of types .Failed to compile.
./src/sanity/lib/image.ts:2:10
Type error: 'SanityImageSource' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
1 | import createImageUrlBuilder from '@sanity/image-url'
> 2 | import { SanityImageSource } from "@sanity/image-url/lib/types/types";
| ^
3 |
4 | import { dataset, projectId } from '../env'
5 |
To Reproduce
Steps to reproduce the behavior:
- Download Radiant template
- Run either radiant-js or ts template
- Navigate to
http://localhost:3000 - See error
Expected behavior
CSS should load and it should look exactly like the demo
Screenshots
This is how it looks like after following the README steps

Browser/Device (if applicable)
- OS: Manjaro(Arch) with i3 WM
- Browser Google Chrome
- Version Version 131.0.6778.85 (Official Build) (64-bit)
Additional context
➜ npm --version
10.5.0
➜ node --version
v21.7.1
Please refer to package-lock.json file for module versions
package-lock.json
Metadata
Metadata
Assignees
Labels
No labels