I am trying to install google-closure-compiler. I start with this command
yarn global add google-closure-compiler
The response was
yarn global v1.22.19
warning package.json: No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "[email protected]" with binaries:
- google-closure-compiler
Done in 0.51s.
Then I run:
google-closure-compiler
and I get this error:
'google-closure-compiler' is not recognized as an internal or external command,
operable program or batch file.
When an administrator logs in to Windows, it works, so I can use GCC (google-closure-compiler). However, I need GCC to work in user mode on Windows.
I also attempted the following without any difference:
npm i -g google-closure-compiler