diff --git a/packages/ui/atomic/create-atomic-component-project/index.js b/packages/ui/atomic/create-atomic-component-project/index.js index cccdcea8b5..6997b47bc7 100755 --- a/packages/ui/atomic/create-atomic-component-project/index.js +++ b/packages/ui/atomic/create-atomic-component-project/index.js @@ -48,7 +48,7 @@ const main = () => { } else { handleErrors( new InvalidProjectDirectory( - 'Current working directory is either not empty or not an npm project (no package.json found). Please try again in an empty directory.' + 'Current working directory is either not empty or not an npm project (no package.json found). Please try again in a valid project (see [When to Use the Coveo CLI](https://docs.coveo.com/en/cli/#when-to-use-the-coveo-cli).' ) ); } diff --git a/packages/ui/atomic/create-atomic-component/index.js b/packages/ui/atomic/create-atomic-component/index.js index d6ce57d546..e50a787fea 100755 --- a/packages/ui/atomic/create-atomic-component/index.js +++ b/packages/ui/atomic/create-atomic-component/index.js @@ -144,7 +144,7 @@ const ensureDirectoryValidity = () => { if (cwdFiles.length > 0 && !hasPackageInCwd) { handleErrors( new InvalidProjectDirectory( - 'Current working directory is either not empty or not an npm project (no package.json found). Please try again in an empty directory.' + 'Current working directory is either not empty or not an npm project (no package.json found). Please try again in a valid project (see [When to Use the Coveo CLI](https://docs.coveo.com/en/cli/#when-to-use-the-coveo-cli).' ) ); } diff --git a/packages/ui/atomic/create-atomic-result-component/index.js b/packages/ui/atomic/create-atomic-result-component/index.js index 32affc9cf6..a1b3bd9190 100755 --- a/packages/ui/atomic/create-atomic-result-component/index.js +++ b/packages/ui/atomic/create-atomic-result-component/index.js @@ -144,7 +144,7 @@ const ensureDirectoryValidity = () => { if (cwdFiles.length > 0 && !hasPackageInCwd) { handleErrors( new InvalidProjectDirectory( - 'Current working directory is either not empty or not an npm project (no package.json found). Please try again in an empty directory.' + 'Current working directory is either not empty or not an npm project (no package.json found). Please try again in a valid project (see [When to Use the Coveo CLI](https://docs.coveo.com/en/cli/#when-to-use-the-coveo-cli).' ) ); }