DEV Community

loading...

Discussion on: PWAs with Angular: Being Reliable

Collapse
stephaneeybert profile image
Stephane Eybert

Thank you for the update. I git cloned it again then, but ended up in the ditch again.

$ npm-run ngu-sw-manifest --module src/app/app.module.ts
/usr/bin/env: «node_modules/.bin/ts-node»: Aucun fichier ou dossier de ce type

Sorry for being an PWA noob.

Thread Thread
michaelsolati profile image
Michael Solati Author

Are you on Windows? Also the following command should work... ./node_modules/.bin/ngu-sw-manifest --module src/app/app.module.ts

Thread Thread
stephaneeybert profile image
Stephane Eybert

I'm on Linux, a 30 year man. I first coded on our Atari 800XL in 1984. I did use Windows at times though, on some contract jobs.

I get the same response with your command:
$ ./node_modules/.bin/ngu-sw-manifest --module src/app/app.module.ts
/usr/bin/env: «node_modules/.bin/ts-node»: Aucun fichier ou dossier de ce type
[stephane@stephane-ThinkPad-X201 ng-popular-movies-pwa ((v0.0))]
$ npm-run ngu-sw-manifest --module src/app/app.module.ts
/usr/bin/env: «node_modules/.bin/ts-node»: Aucun fichier ou dossier de ce type

I feel like this issue of mine is not related to the actual content of your tutorial, and thus don't want to bother you with it. I shall post on SO if that is of interest to the Javascript Angular crowd.

Thread Thread
michaelsolati profile image
Michael Solati Author

Haha, ok, well I have one more idea... node ./node_modules/.bin/ngu-sw-manifest --module src/app/app.module.ts

Thread Thread
stephaneeybert profile image
Stephane Eybert

I posted on SO so as not to hijack your comments thread here.

stackoverflow.com/questions/455714...