# npm-helper > Manage Node.js dependencies and PWA-specific lifecycle tasks. Use this for package management, fixing module errors, or troubleshooting PWA service worker/cache issues. - Author: glenw921 - Repository: glenw921/PWAStarter01 - Version: 20260127141008 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-07 - Source: https://github.com/glenw921/PWAStarter01 - Web: https://mule.run/skillshub/@@glenw921/PWAStarter01~npm-helper:20260127141008 --- --- name: npm-helper description: Manage Node.js dependencies and PWA-specific lifecycle tasks. Use this for package management, fixing module errors, or troubleshooting PWA service worker/cache issues. --- # NPM & PWA Helper Skill **ID: 20260124.170000** - Created by Glen Warnes with the help of his "Antigravity Guide" Google Gem. ## Goal Enable the agent to manage the JavaScript environment and resolve PWA-specific development hurdles autonomously. ## Instructions 1. **Dependency Management:** Use `npm` to install missing modules or run scripts defined in `package.json`. 2. **PWA Troubleshooting:** If the user reports that "changes aren't showing" or "the app is stale": - Suggest a "Hard Reset" of the service worker. - Check the `manifest.json` for syntax errors. - Suggest running the build script with a `--clean` or equivalent flag if available. 3. **Integration:** Monitor the NPM Scripts view in the sidebar to identify available dev/build commands. 4. **Consistency:** Always prioritize `package-lock.json` versions to maintain container stability. ## Constraints - Do not use `sudo`. - Ask for confirmation before performing a `destructive` clean (e.g., deleting `node_modules`).