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
I'm submitting a ...
[ ] bug report
[x] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
I think URL is a relatively newer field. My code looks like this:
// with JavaScript
const reminders = require("node-reminders");
async function run() {
// get lists
// const lists = await reminders.getLists();
// const list = await reminders.getList("EBF92994-1DF8-47C5-B318-BA9228C13D9C");
const listOfReminders = await reminders.getReminders(
"EBF92994-1DF8-47C5-B318-BA9228C13D9C",
["name", "remindMeDate", "completed", "body"]
);
console.dir(listOfReminders);
}
run();
But when I try to add the url field it gives me an error.
/Users/jhart/workspace/instagram-recipe-extractor/node_modules/execa/lib/error.js:59
error = new Error(message);
^
Error: Command failed with exit code 1: osascript -l JavaScript /Users/jhart/workspace/instagram-recipe-extractor/node_modules/node-reminders/build/main/jxa/get-reminders.jxa {"id":"EBF92994-1DF8-47C5-B318-BA9228C13D9C","props":["name","remindMeDate","completed","body","URL"]}
/Users/jhart/workspace/instagram-recipe-extractor/node_modules/node-reminders/build/main/jxa/get-reminders.jxa: execution error: Error: Error: Can't get object. (-1728)
at makeError (/Users/jhart/workspace/instagram-recipe-extractor/node_modules/execa/lib/error.js:59:11)
at handlePromise (/Users/jhart/workspace/instagram-recipe-extractor/node_modules/execa/index.js:114:26)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.execJXA (/Users/jhart/workspace/instagram-recipe-extractor/node_modules/node-reminders/build/main/lib/utils.js:31:24)
at async Object.getReminders (/Users/jhart/workspace/instagram-recipe-extractor/node_modules/node-reminders/build/main/lib/reminders.js:20:23)
at async run (/Users/jhart/workspace/instagram-recipe-extractor/bin/main.js:8:27) {
shortMessage: 'Command failed with exit code 1: osascript -l JavaScript /Users/jhart/workspace/instagram-recipe-extractor/node_modules/node-reminders/build/main/jxa/get-reminders.jxa {"id":"EBF92994-1DF8-47C5-B318-BA9228C13D9C","props":["name","remindMeDate","completed","body","URL"]}',
command: 'osascript -l JavaScript /Users/jhart/workspace/instagram-recipe-extractor/node_modules/node-reminders/build/main/jxa/get-reminders.jxa {"id":"EBF92994-1DF8-47C5-B318-BA9228C13D9C","props":["name","remindMeDate","completed","body","URL"]}',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: '',
stderr: "/Users/jhart/workspace/instagram-recipe-extractor/node_modules/node-reminders/build/main/jxa/get-reminders.jxa: execution error: Error: Error: Can't get object. (-1728)",
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
I've tried url, uri, URL, link... Any thoughts?
The text was updated successfully, but these errors were encountered:
I'm submitting a ...
[ ] bug report
[x] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
I think URL is a relatively newer field. My code looks like this:
But when I try to add the
url
field it gives me an error.I've tried
url
,uri
,URL
,link
... Any thoughts?The text was updated successfully, but these errors were encountered: