You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you don't have grunt-cli installed on your system, the prepare command breaks with an unexpected output.
Steps to reproduce:
(atramhasis) goessebr@aruna:~/dev/atramhasis$ npm uninstall -g grunt-cli
removed 59 packages in 0.293s
┌────────────────────────────────────────────────────────────┐
│ npm update check failed │
│ Try running with sudo or get access │
│ to the local update config store via │
│ sudo chown -R $USER:$(id -gn $USER) /home/goessebr/.config │
└────────────────────────────────────────────────────────────┘
(atramhasis) goessebr@aruna:~/dev/atramhasis$ npm list -g grunt-cli
/home/goessebr/.nvm/versions/node/v14.19.3/lib
└── (empty)
(atramhasis) goessebr@aruna:~/dev/atramhasis$ python setup.py prepare
running prepare
--------------------------------------------------
==> check npm dependencies
Traceback (most recent call last):
File "setup.py", line 72, in <module>
setup(name='atramhasis',
File "/home/goessebr/.virtualenvs/atramhasis/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "setup.py", line 41, in run
dojo_build()
File "setup.py", line 18, in dojo_build
libs = str(subprocess.check_output(["npm", "list", "-g", "grunt-cli"]))
File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['npm', 'list', '-g', 'grunt-cli']' returned non-zero exit status 1.
To fix it, install grunt-cli again (atramhasis) goessebr@aruna:~/dev/atramhasis$ npm install -g grunt-cli
The text was updated successfully, but these errors were encountered:
If you don't have grunt-cli installed on your system, the prepare command breaks with an unexpected output.
Steps to reproduce:
To fix it, install grunt-cli again
(atramhasis) goessebr@aruna:~/dev/atramhasis$ npm install -g grunt-cli
The text was updated successfully, but these errors were encountered: