Skip to content

Commit 04621c3

Browse files
MatsuuudaKmoR
authored andcommitted
Update the error message on degit action
1 parent 1cd9508 commit 04621c3

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

packages/create/src/CreateCli.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,11 @@ export class CreateCli {
152152
await gitHandler.clone('./' + newFolderPath);
153153
cloneError = false;
154154
} catch (e) {
155-
console.log(`${red('✖')} Could not apply the template - maybe the url is wrong?`);
155+
console.log(
156+
`${red(
157+
'✖',
158+
)} Could not apply the template - maybe the url is wrong? If this problem persists, you could try clearing your .degit cache, usually located at ~/.degit`,
159+
);
156160
console.log(`${red('>')} ${e.message}`);
157161
const response = await prompts({
158162
type: 'text',

0 commit comments

Comments
 (0)