Open Fau57 opened 1 year ago
also seeing this problem in windows pip install --upgrade -r requirements.txt
figured out this issue! npm bin was depricated in npm +9.0, if you install Node.js <=16.20.2 you will get npm version <=8 https://github.com/grafana/grafana/issues/59425
im not sure if this issue is new or similar to the bin removed error previously posted if its the same thing ill just post a comment in the other issues post. This is also my first issues post so if i leave anything out please comment and ill edit the post. here is what my terminal spits out when i tried to python3 build.py. python3 isnt new on my system but node is, so perhaps thats the issue? anyway heres the terminal results: Traceback (most recent call last): File "/Users/user/screeps-starter-python/build.py", line 437, in
main()
File "/Users/user/screeps-starter-python/build.py", line 426, in main
install_node_dependencies(config)
File "/Users/user/screeps-starter-python/build.py", line 403, in install_node_dependencies
if config.rollup_executable() is not None:
File "/Users/user/screeps-starter-python/build.py", line 159, in rollup_executable
for path in possible_rollup_binary_paths(self):
File "/Users/user/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 '/usr/local/bin/npm' 'bin'. stderr: . stdout: Unknown command: "bin"
To see a list of supported npm commands, run: npm help
Thanks in advanced.