Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package location different than workflow location #162

Open
lucasrabiec opened this issue Nov 9, 2022 · 0 comments
Open

Package location different than workflow location #162

lucasrabiec opened this issue Nov 9, 2022 · 0 comments

Comments

@lucasrabiec
Copy link

Hi, I have Alfred's settings synced and placed on Google Drive. When I am creating a blank workflow it lands also on google drive. My repository is placed on my local drive, so I set Script Filter like this:

/Users/user/path/to/local/repo/node_modules/.bin/run-node /Users/user/path/to/local/repo/index.js "$1"

and this configuration prints an error:

TypeError: Cannot destructure property 'package' of '(intermediate value)' as it is undefined.\n at updateNotification (file: [...]/node_modules/.pnpm/alfy@1.0.0/node_modules/alfy/lib/update-notification.js:5:18)",

When I move all files to the workflow's directory on Google Drive it works, because read-pkg-up sees package.json.

Is it possible to develop a workflow which files are placed in another location than the workflow and alfred preferences?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant