cd Wake/npm
npm publishThat's it! The package will be updated to version 0.1.4.
If this is your first time publishing:
# 1. Login to npm
npm login
# 2. Navigate to npm directory
cd Wake/npm
# 3. Publish the package
npm publish --access public✅ Windows Compatibility Fixed
- The "spawn UNKNOWN" error on Windows has been resolved
- Binary wrapper now properly handles Windows process spawning
- Better error messages for debugging
✅ Improved Installation
- Better binary download verification
- Shows binary size after download
- Skips re-downloading if binary already exists
- Better error handling for network issues
✅ Enhanced Debugging
- Set
WAKE_DEBUG=1environment variable for verbose output - Shows binary path and existence status on errors
After publishing, test on Windows:
# Uninstall old version
npm uninstall -g @trywind/wake
# Install new version
npm install -g @trywind/wake
# Test it works
wake --helpFor users who already have the package installed:
- They need to manually update:
npm update -g @trywind/wake - npm does NOT auto-update global packages
- Consider notifying users about the update
To check current npm version:
npm view @trywind/wake versionIf you get any errors during publishing:
-
"You cannot publish over the previously published versions"
- The version has already been published
- Bump the version in package.json to 0.1.5
-
"402 Payment Required"
- Add
--access publicflag when publishing
- Add
-
"You do not have permission"
- Make sure you're logged in:
npm whoami
- Make sure you're logged in:
- Verify the package: https://www.npmjs.com/package/@trywind/wake
- Test installation on a clean system
- Update any documentation if needed
Current Status:
- GitHub Release: ✅ v0.1.4 created with binaries
- npm Package: 📦 Ready to publish v0.1.4
- Binaries: ✅ Linux and Windows available