You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bin/helpers/constants.js
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -196,6 +196,28 @@ const validationMessages = {
196
196
"You have specified '--record' flag but you've not provided the '--record-key' and we could not find any value in 'CYPRESS_RECORD_KEY' environment variable. Your record functionality on cypress.io dashboard might not work as it needs the key and projectId",
197
197
NODE_VERSION_PARSING_ERROR:
198
198
"We weren't able to successfully parse the specified nodeVersion. We will be using the default nodeVersion to run your tests.",
199
+
AUTO_IMPORT_CONFLICT_ERROR:
200
+
"Cannot use both 'auto_import_dev_dependencies' and manual npm dependency configuration. Please either set 'auto_import_dev_dependencies' to false or remove manual 'npm_dependencies', 'win_npm_dependencies', and 'mac_npm_dependencies' configurations.",
201
+
AUTO_IMPORT_INVALID_TYPE:
202
+
"'auto_import_dev_dependencies' must be a boolean value (true or false).",
203
+
PACKAGE_JSON_NOT_FOUND:
204
+
"package.json not found in project directory. Cannot auto-import devDependencies.",
205
+
PACKAGE_JSON_PERMISSION_DENIED:
206
+
"Cannot read package.json due to permission issues. Please check file permissions.",
207
+
PACKAGE_JSON_MALFORMED:
208
+
"package.json contains invalid JSON syntax. Please fix the JSON format.",
209
+
PACKAGE_JSON_NOT_OBJECT:
210
+
"package.json must contain a JSON object, not an array or other type.",
211
+
DEVDEPS_INVALID_FORMAT:
212
+
"devDependencies field in package.json must be an object, not an array or other type.",
213
+
EXCLUDE_DEPS_INVALID_TYPE:
214
+
"'exclude_dependencies' must be an array of strings.",
215
+
EXCLUDE_DEPS_INVALID_PATTERNS:
216
+
"'exclude_dependencies' must contain only string values representing regex patterns.",
217
+
INVALID_REGEX_PATTERN:
218
+
"Invalid regex pattern found in 'exclude_dependencies': {pattern}. Please provide valid regex patterns.",
0 commit comments