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

Error when executing "bulma start" #78

Open
EnriqueRBT opened this issue Mar 21, 2023 · 0 comments · May be fixed by #84
Open

Error when executing "bulma start" #78

EnriqueRBT opened this issue Mar 21, 2023 · 0 comments · May be fixed by #84

Comments

@EnriqueRBT
Copy link

Hi there:

in a fresh installation over windows 11 I cannot execute "python manage.py bulma install"

(venv) PS C:\sites\testbulma> py manage.py bulma install
Traceback (most recent call last):
  File "C:\sites\testbulma\manage.py", line 22, in <module>
    main()
  File "C:\sites\testbulma\manage.py", line 18, in main
    execute_from_command_line(sys.argv)
  File "C:\sites\testbulma\venv\Lib\site-packages\django\core\management\__init__.py", line 446, in execute_from_command_line
    utility.execute()
  File "C:\sites\testbulma\venv\Lib\site-packages\django\core\management\__init__.py", line 440, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "C:\sites\testbulma\venv\Lib\site-packages\django\core\management\base.py", line 402, in run_from_argv
    self.execute(*args, **cmd_options)
  File "C:\sites\testbulma\venv\Lib\site-packages\django\core\management\base.py", line 448, in execute
    output = self.handle(*args, **options)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\sites\testbulma\venv\Lib\site-packages\django\core\management\base.py", line 666, in handle
    label_output = self.handle_label(label, **options)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\sites\testbulma\venv\Lib\site-packages\bulma\management\commands\bulma.py", line 31, in handle_label
    getattr(self, 'handle_' + label)(**options)
    self.npm_run(['install'])
  File "C:\sites\testbulma\venv\Lib\site-packages\bulma\management\commands\bulma.py", line 66, in npm_run
    subprocess.run(['npm'] + commands, cwd=self.bulma_dir)
  File "C:\Users\Enrique\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Enrique\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1024, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\Enrique\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1493, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] El sistema no puede encontrar el archivo especificado

Enviroment:

OS Windows 11
Python 3.11
Django 4.1.7
npm 8.8.0
node 16.0

Thanks

@devsxeed devsxeed linked a pull request Aug 25, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant