Closed markgoho closed 7 years ago
make sure you have installed ng-pwa-tools
npm install ng-pwa-tools
if you are using windows, use bash shell or git bash to run command
./node_modules/.bin/ngu-sw-manifest
P.S.: this command wont run on windows cmd
Thanks a MILLION @mithilgotarne!!!
This worked perfectly using git bash. I have no idea how this works, but I'm thankful you supplied the answer! I'm guessing the other commands that @alxhub runs should be done in a similar fashion.
@markgoho, I've not tested on Windows. Also, I do:
$ export PATH="$PATH:$(npm bin)"
which allows me to run executable scripts in the project node_modules/.bin
directory without prefixing them.
Apparently, Windows doesn't like $(npm bin)
either -- I'll stick with the ./node_modules etc. way of doing it. Hopefully in future releases of the tools, we can figure out a platform-agnostic way of running the scripts.... but that's way beyond me :)
Thanks for the tip (Mac) export PATH="$PATH:$(npm bin)" fixed issue for running ngu-sw-manifest command from terminal. :-)
Is this supposed to be run in any kind of special way?