forked from farhoodlabs/paperclip
ddf36667f9
Adapters installed with the old --no-save flag are not tracked in package.json and get pruned when another adapter is installed. This adds ensurePackageOnDisk() which detects missing packages and reinstalls them from npm before reload or server boot attempts to import them, fixing ENOENT errors for previously-pruned adapters. Fixes FAR-47 Co-Authored-By: Paperclip <noreply@paperclip.ing>