Skip to content

Commit

Permalink
update outdated install error log
Browse files Browse the repository at this point in the history
  • Loading branch information
FredKSchott committed Aug 21, 2020
1 parent 6950266 commit 07e4728
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/snowpack/src/commands/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -566,10 +566,8 @@ export async function command(commandOptions: CommandOptions) {
return resolvedImportUrl;
}
logger.error(`Import "${spec}" could not be resolved.
If this is a new package, restart your dev server to rebuild your dependencies.
If you think this is an error, add "${spec}" to ${colors.bold(
'config.install',
)} and Snowpack will include this dependency.`);
If this is a new package, re-run Snowpack with the ${colors.bold('--reload')} flag to rebuild.
If Snowpack is having trouble detecting the import, add ${colors.bold(`"install": ["${spec}"]`)} to your Snowpack config file.`);
return spec;
},
);
Expand Down

1 comment on commit 07e4728

@vercel
Copy link

@vercel vercel bot commented on 07e4728 Aug 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.