alxhub / io17

106 stars 21 forks source link

Failing on windows #9

Closed BorntraegerMarc closed 7 years ago

BorntraegerMarc commented 7 years ago

I get this error on Windows:

D:\projects\komed-health-web>ngu-sw-manifest
'node_modules' is not recognized as an internal or external command,
operable program or batch file.
BorntraegerMarc commented 7 years ago

Solved it by adding a npm script "ngu-sw-manifest": "node ./node_modules/ng-pwa-tools/bin/ngu-sw-manifest.js"

BorntraegerMarc commented 7 years ago

Also with the suggested way of running it from windows I get:

D:\projects\komed-health-web>./node_modules/.bin/ngu-sw-manifest
'.' is not recognized as an internal or external command,
operable program or batch file.
markgoho commented 7 years ago

Hey @BorntraegerMarc are you running these commands inside Bash? They will not work from Windows Command prompt or Powershell

BorntraegerMarc commented 7 years ago

@markgoho Thanks for the reply. I have the same issues with git bash...

jamajamik commented 7 years ago

Replacing all "/" with "\" in node_modules\.bin\ngu_XX_command.cmd seems to resolve that for bash.