openfn jobs/uk/tmp/cursor.js -ma common -o jobs/uk/tmp/cursor.json
[CLI] ♦ Versions:
▸ node.js 18.12.1
▸ cli 1.2.0
▸ @openfn/language-common monorepo
[CLI] ✔ Loading adaptors from monorepo at /Users/openfn/Workspace/adaptors
[CLI] ⚠ Skipping auto-install as monorepo is being used
[CLI] ✔ Compiled all expressions in workflow
Setting cursor "now" to: 11:04 17 Apr 2024 (GMT+3)
[R/T] ✔ Completed step job-1 in 262ms
[CLI] ✔ Cached output written to ./cli-cache (see info logs for details)
node:internal/errors:484
ErrorCaptureStackTrace(err);
^
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at new NodeError (node:internal/errors:393:5)
at validateString (node:internal/validators:163:11)
at Object.resolve (node:path:1098:7)
at ensureGitIgnore (file:///Users/openfn/.asdf/installs/nodejs/18.12.1/lib/node_modules/@openfn/cli/dist/process/runner.js:49:29)
at saveToCache (file:///Users/openfn/.asdf/installs/nodejs/18.12.1/lib/node_modules/@openfn/cli/dist/process/runner.js:66:5)
at async notify (file:///Users/openfn/.asdf/installs/nodejs/18.12.1/lib/node_modules/@openfn/cli/dist/process/runner.js:100:13) {
code: 'ERR_INVALID_ARG_TYPE'
}
Node.js v18.12.1
Additional Context
I have setup the always cache in my .zshrc file so that i don't have to specify --cache-steps every-time
User story
I tried running this job
cursor.js
👇🏽I am getting this error 👇🏽
Additional Context
I have setup the always cache in my
.zshrc
file so that i don't have to specify--cache-steps
every-time