-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Hi team,
I’m running into an issue while integrating glyphwald into my Next.js project. After following the installation and setup instructions provided in the documentation, I encounter the following error when attempting to use the library’s components:
Module not found: Can't resolve 'glyphwald'
Expected Behavior:
The components should render without errors, and the application should compile successfully.
Actual Behavior:
Module not found: Can't resolve 'glyphwald'
Steps to Reproduce
Initialized a fresh Next.js project with npx create-next-app@latest
.
Installed glyphwald as outlined in the npmjs.org or also on the GitHub repo README.md.
Imported and used a component from 'glyphwald'
in a page or component file.
Error Details
The error triggers during development (e.g., npm run dev), specifically when the component is imported. Example:
Module not found: Can't resolve 'glyphwald' in '/path/to/project/node_modules/[UI Library Name]/dist'
Environment:
Next.js version: 15.2.2
Node.js version: 22.12.0
Operating System: Windows 11
glyphwald version: 0.0.1
Tailwind CSS version: 4
What might be the problem
The tailwind
version I am using is v4
and in the docs I saw the tailwind configurations are mentioned for the tailwind v3
(because I saw the import statements of Tailwind into CSS which were supported in v3 and are no longer the way to import Tailwind in CSS in version 4). I believe support for the latest tailwind version i.e. tailwind v4
would be a better thing as the new and latest updates to frameworks are quickly shifting to tailwind v4
.