apify-cli 0.19.2-beta.2 → 0.19.2-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/commands/create.js +2 -1
package/package.json
CHANGED
package/src/commands/create.js
CHANGED
|
@@ -70,7 +70,7 @@ class CreateCommand extends ApifyCommand {
|
|
|
70
70
|
try {
|
|
71
71
|
fs.mkdirSync(actFolderDir);
|
|
72
72
|
} catch (err) {
|
|
73
|
-
if (err
|
|
73
|
+
if (err?.code === 'EEXIST') {
|
|
74
74
|
outputs.error(`Cannot create new actor, directory '${actorName}' already exists. `
|
|
75
75
|
+ 'You can use "apify init" to create a local actor environment inside an existing directory.');
|
|
76
76
|
return;
|
|
@@ -162,6 +162,7 @@ class CreateCommand extends ApifyCommand {
|
|
|
162
162
|
|
|
163
163
|
if (dependenciesInstalled) {
|
|
164
164
|
outputs.success(`Actor '${actorName}' was created. To run it, run "cd ${actorName}" and "apify run".`);
|
|
165
|
+
outputs.success('To run your code in the cloud, run "apify push" and deploy your code to Apify Console.');
|
|
165
166
|
if (messages?.postCreate) {
|
|
166
167
|
outputs.info(messages?.postCreate);
|
|
167
168
|
}
|