timonweb / django-tailwind

Django + Tailwind CSS = 💚
https://django-tailwind.readthedocs.io
MIT License
1.45k stars 89 forks source link

Problem on python manage.py tailwind start #136

Closed mdsnabb closed 2 years ago

mdsnabb commented 2 years ago

Hello, Can't really find the reason of this error. Any idea ? Thanks

Traceback (most recent call last): File "manage.py", line 9, in execute_from_command_line(sys.argv) File "C:\Users\user\Desktop\Projets\afufmedia1\venv\lib\site-packages\django\core\management__init.py", line 419, in execute_from_command_line utility.execute() File "C:\Users\user\Desktop\Projets\afufmedia1\venv\lib\site-packages\django\core\management__init__.py", line 413, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "C:\Users\user\Desktop\Projets\afufmedia1\venv\lib\site-packages\django\core\management\base.py", line 354, in run_from_argv self.execute(*args, cmd_options) File "C:\Users\user\Desktop\Projets\afufmedia1\venv\lib\site-packages\django\core\management\base.py", line 398, in execute output = self.handle(*args, *options) File "C:\Users\user\Desktop\Projets\afufmedia1\venv\lib\site-packages\tailwind\management\commands\tailwind.py", line 55, in handle return self.handle_labels(labels, options) File "C:\Users\user\Desktop\Projets\afufmedia1\venv\lib\site-packages\tailwind\management\commands\tailwind.py", line 63, in handlelabels getattr(self, "handle" + labels[0].replace("-", "_") + "_command")( File "C:\Users\user\Desktop\Projets\afufmedia1\venv\lib\site-packages\tailwind\management\commands\tailwind.py", line 103, in handle_start_command self.npm_command("run", "start") File "C:\Users\user\Desktop\Projets\afufmedia1\venv\lib\site-packages\tailwind\management\commands\tailwind.py", line 113, in npm_command self.npm.command(args) File "C:\Users\user\Desktop\Projets\afufmedia1\venv\lib\site-packages\tailwind\npm.py", line 23, in command subprocess.run([self.npm_bin_path] + list(args), cwd=self.cwd) File "c:\program files\miniconda\lib\subprocess.py", line 489, in run with Popen(popenargs, **kwargs) as process: File "c:\program files\miniconda\lib\subprocess.py", line 854, in init__ self._execute_child(args, executable, preexec_fn, close_fds, File "c:\program files\miniconda\lib\subprocess.py", line 1247, in _execute_child args = list2cmdline(args) File "c:\program files\miniconda\lib\subprocess.py", line 549, in list2cmdline for arg in map(os.fsdecode, seq): File "c:\program files\miniconda\lib\os.py", line 818, in fsdecode filename = fspath(filename) # Does type-checking of filename. TypeError: expected str, bytes or os.PathLike object, not NoneType