Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

python build.py #46

Open
doubravap opened this issue Nov 8, 2023 · 1 comment
Open

python build.py #46

doubravap opened this issue Nov 8, 2023 · 1 comment

Comments

@doubravap
Copy link

this same problem in python 3.12 and in conda python 3.11

d:\anaconda3\envs\screeps\Library\screeps-starter-python>python build.py
Traceback (most recent call last):
File "d:\anaconda3\envs\screeps\Library\screeps-starter-python\build.py", line 437, in
main()
File "d:\anaconda3\envs\screeps\Library\screeps-starter-python\build.py", line 426, in main
install_node_dependencies(config)
File "d:\anaconda3\envs\screeps\Library\screeps-starter-python\build.py", line 403, in install_node_dependencies
if config.rollup_executable() is not None:
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\anaconda3\envs\screeps\Library\screeps-starter-python\build.py", line 159, in rollup_executable
for path in possible_rollup_binary_paths(self):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\anaconda3\envs\screeps\Library\screeps-starter-python\build.py", line 52, in possible_rollup_binary_paths
raise Exception("npm bin failed. exit code: {}. command line '{}'. stderr: {}. stdout: {}"
Exception: npm bin failed. exit code: 1. command line 'C:\Program Files\nodejs\npm.CMD' 'bin'. stderr: . stdout: Unknown command: "bin"

To see a list of supported npm commands, run:
npm help

@StardustRevelry
Copy link

npm bin was depricated in npm +9.0, if you install Node.js <=16.20.2 you will get npm version <=8
grafana/grafana#59425

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

No branches or pull requests

2 participants