Can't install the cli

When I’m trying to run this command getting an error
npm install -g @lightningjs/cli

errors:
npm ERR! code FETCH_ERROR
npm ERR! errno FETCH_ERROR
npm ERR! invalid json response body at https://registry.npmjs.org/rollup-plugin-license reason: Unexpected end of JSON input

Hi @mahmudsg, that seems like either a network error or an issue with your NPM cache.

You might want to try running the following: npm cache clean --force and then try the install again.

-Michiel

1 Like

It worked, also had to work with mkdir permission, Thanks!