Error and Warnings Encountered in makeNodeJsLock Script Execution #1317

Closed
opened 2024-04-12 17:17:30 +02:00 by mandresuri · 0 comments
mandresuri commented 2024-04-12 17:17:30 +02:00 (Migrated from github.com)

When running the makeNodeJsLock script with the following command:

m github:fluidattacks/makes@24.02 /utils/makeNodeJsLock 21 "${package_json_dir}" 2

The following warnings are produced:

npm WARN invalid config lockfile-version="" set in command line options
npm WARN invalid config Must be one of: null, 1, 2, 3

Additionally, when removing the last parameter:

m github:fluidattacks/makes@24.02 /utils/makeNodeJsLock 21 "${package_json_dir}"

The following error is encountered:

make-node-js-lock: line 79: 3: unbound variable

This issue needs to be addressed to ensure the correct execution of the script.

When running the makeNodeJsLock script with the following command: `m github:fluidattacks/makes@24.02 /utils/makeNodeJsLock 21 "${package_json_dir}" 2` The following warnings are produced: `npm WARN invalid config lockfile-version="" set in command line options` `npm WARN invalid config Must be one of: null, 1, 2, 3` Additionally, when removing the last parameter: `m github:fluidattacks/makes@24.02 /utils/makeNodeJsLock 21 "${package_json_dir}"` The following error is encountered: `make-node-js-lock: line 79: 3: unbound variable` This issue needs to be addressed to ensure the correct execution of the script.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
justin/makes#1317
No description provided.