-
Notifications
You must be signed in to change notification settings - Fork 213
"Cannot find module 'tailwindcss/package.json'" when using django-tailwind module #235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey @jbfriedrich. Are you able to share a repository with this file structure so I can take a look? It looks fine though 🤔 Here's a few things you can check:
|
i have the same message edit: everthing else works fine so far (like serve, build, lint ect). update: when i switch the project fully to admin for esting purpose, then everthing is fine. |
I reloaded VS Code, but that did not have the desired effect. It seems that the "django-tailwind" module, when it installs tailwind and all the required dependencies via npm, is not creating a package.json in that directory. The only file that exists |
I set up a new project with |
Closing this for inactivity but please open a new issue if you're still having problems 👍 |
I have same issue(whithout any framework) . I can't see my package.JSON when i want run tailwind.css |
hi guys here we see that the json files are not automatically appearing here
13)And in the terminal run the website using the followin and also make sure to disable/off the live server while using the below command |
I am currently getting more familiar with Django and I am trying to use the django-tailwind module. After following their instructions, I end up with the following file structure inside my project:
The extension does not seem to work properly with this file and folder structure. It can find the
tailwind.config.js
but expected thepackage.json
inside of thetailwindcss
directory. The Django module puts it into a different location though. The 'tailwind-intellisense' output in VS Code shows the following:Is there a way I can configure where to find the tailwind config and
package.json
?The text was updated successfully, but these errors were encountered: