We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cb34ca commit 6565eebCopy full SHA for 6565eeb
lib/commands/pack.js
@@ -39,6 +39,7 @@ class Pack extends BaseCommand {
39
const manifest = await pacote.manifest(spec, {
40
...this.npm.flatOptions,
41
Arborist,
42
+ preferOnline: true,
43
_isRoot: true,
44
})
45
if (!manifest._id) {
@@ -56,6 +57,7 @@ class Pack extends BaseCommand {
56
57
foregroundScripts: this.npm.config.isDefault('foreground-scripts')
58
? true
59
: this.npm.config.get('foreground-scripts'),
60
61
prefix: this.npm.localPrefix,
62
workspaces: this.workspacePaths,
63
0 commit comments