When installing azunit, if npm has been installed as root then running:
npm install -g azunit
...will fail with the error "generated/aesprim-browser.js: Permission denied". This is an issue with the post install process for JsonPath, and there appear to be multiple open issues with that library to request that the issue is addressed.
In the short term this can be worked around by installing using the command:
npm install -g azunit --unsafe-perm=true --allow-root
When installing azunit, if npm has been installed as root then running:
npm install -g azunit...will fail with the error "generated/aesprim-browser.js: Permission denied". This is an issue with the post install process for JsonPath, and there appear to be multiple open issues with that library to request that the issue is addressed.
In the short term this can be worked around by installing using the command:
npm install -g azunit --unsafe-perm=true --allow-root