Skip to content

A fix for sinopia to download all missing tars to offline storage

Notifications You must be signed in to change notification settings

njenia/sinopia-offline-fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sinopia-offline-fix

A fix for sinopia to download all missing tars to offline storage.

When using the sinopia project for offline npm cache, there is a bug that prevents you from using it as a real offline cache. Some packages does not download, leaving the folder with only a package.json and no tarball. The bug is mentioned here.

This script simply goes through the sinopia storage folders, and downloads the latest dist file of these problematic packages.

Just take the app.js and package.json, run npm install, and run: node app.js STORAGE_FOLDER_PATH The missing tarballs will be downloaded.

About

A fix for sinopia to download all missing tars to offline storage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published