Skip to content
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

python manage.py tailwind start causes "sh: 1: cross-env: Permission denied" message #194

Open
jpham658 opened this issue Feb 1, 2024 · 1 comment

Comments

@jpham658
Copy link

jpham658 commented Feb 1, 2024

All the instructions in the installation guide were followed correctly. I use WSL, which uses Ubuntu 22.04.3, and I use nvm to download Node. Everything ran with no error messages or warnings up until python manage.py tailwind start which gives the following message:

[email protected] start
npm run dev

[email protected] dev
cross-env NODE_ENV=development tailwindcss --postcss -i ./src/styles.css -o ../static/css/dist/styles.css -w

sh: 1: cross-env: Permission denied

Does anyone know what's going on here? Any help would be appreciated!

@FreedSoul
Copy link

maybe I'm here late but for other people with that same issue, the problem comes when you want to execute code in Linux (run the servers) from a disk with a NTFS (Microsoft filesystem), i solved it copying the project folder to ext file system, in this case inside the wsl Ubuntu disk or virtual partition, to maintain the project updated use git, if that doesn't work check the permissions of the folder, and use chmod

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants