'Allure Report commands don't work in bash

This is bizarre. If I run commands in powershell, it works fine, but if I run any allure commands in bash it throws the following errors:

$ allure generate allure-results --clean

C:\Users\MyName\AppData\Roaming\npm/node_modules/node/bin/node: line 1: This: command not found

Any allure command I run gives me that result. But it is installed and if I simply switch to powershell and run the exact same command in the same repository- it works as it's supposed to.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source