jsonpath icon indicating copy to clipboard operation
jsonpath copied to clipboard

Can't install this package globally

Open natarajanmca11 opened this issue 7 years ago • 1 comments

Hi,

I can not install this package globally even though running the command in sudo privilege.

screen shot 2018-06-21 at 19 52 25

natarajanmca11 avatar Jun 21 '18 14:06 natarajanmca11

I had the same problem with other projects which depend on jsonpath; see https://github.com/LucyBot-Inc/api-spec-converter/issues/132 for example. I'm on Mac with npm 5.6.0 and node 8.11.3

Adding --unsafe-perm=true --allow-root to the command seems to workaround the problem, but seems like that is not the best solution.

DavidBiesack avatar Aug 13 '18 13:08 DavidBiesack