Alfred plugin for https://github.com/popomore/projj
- Install projj
$ npm i projj -g
$ projj init
-
Install Alfred
-
Install Workflow:
$ npm i alfred-plugin-projj -g
Alfred plugin for https://github.com/popomore/projj
Alfred plugin for https://github.com/popomore/projj
$ npm i projj -g
$ projj init
Install Alfred
Install Workflow:
$ npm i alfred-plugin-projj -g
{ Error: Command failed: alfred-link
Error: Alfred preferences not found at location /Users/wangpeng/Library/Preferences/com.runningwithcrayons.Alfred-Preferences-3.plist
at pathExists.then.exists (/usr/local/lib/node_modules/alfred-plugin-projj/node_modules/resolve-alfred-prefs/index.js:15:10)
at makeError (/usr/local/lib/node_modules/alfred-plugin-projj/node_modules/execa/index.js:174:9)
at Promise.all.then.arr (/usr/local/lib/node_modules/alfred-plugin-projj/node_modules/execa/index.js:278:16)
at process._tickCallback (internal/process/next_tick.js:68:7)
code: 1,
stdout: '',
stderr:
'Error: Alfred preferences not found at location /Users/wangpeng/Library/Preferences/com.runningwithcrayons.Alfred-Preferences-3.plist\n at pathExists.then.exists (/usr/local/lib/node_modules/alfred-plugin-projj/node_modules/resolve-alfred-prefs/index.js:15:10)\n',
failed: true,
signal: null,
cmd: 'alfred-link',
timedOut: false,
killed: false }
环境:mac、node-v12.18.2、npm-6.14.5
已安装依赖:alfy(全局)、projj(全局)、alfred-link(全局)
已安装应用:alfred-v3.6
➜ ~ sudo npm i alfred-plugin-projj -g
> [email protected] postinstall /Users/yangran/.nvm/versions/node/v12.18.2/lib/node_modules/alfred-plugin-projj
> alfy-init
Error: Command failed with exit code 1 (EPERM): alfred-link
at makeError (/Users/yangran/.nvm/versions/node/v12.18.2/lib/node_modules/alfred-plugin-projj/node_modules/execa/lib/error.js:59:11)
at handlePromise (/Users/yangran/.nvm/versions/node/v12.18.2/lib/node_modules/alfred-plugin-projj/node_modules/execa/index.js:112:26)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async /Users/yangran/.nvm/versions/node/v12.18.2/lib/node_modules/alfred-plugin-projj/node_modules/alfy/init.js:7:3 {
command: 'alfred-link',
exitCode: 1,
exitCodeName: 'EPERM',
stdout: '',
stderr: 'Error: Permission denied to read Alfred preferences at location /Users/yangran/Library/Preferences/com.runningwithcrayons.Alfred-Preferences-3.plist\n' +
' at module.exports (/Users/yangran/.nvm/versions/node/v12.18.2/lib/node_modules/alfred-plugin-projj/node_modules/resolve-alfred-prefs/index.js:44:9)',
all: 'Error: Permission denied to read Alfred preferences at location /Users/yangran/Library/Preferences/com.runningwithcrayons.Alfred-Preferences-3.plist\n' +
' at module.exports (/Users/yangran/.nvm/versions/node/v12.18.2/lib/node_modules/alfred-plugin-projj/node_modules/resolve-alfred-prefs/index.js:44:9)',
failed: true,
timedOut: false,
isCanceled: false,
killed: false,
signal: undefined
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `alfy-init`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/yangran/.npm/_logs/2020-08-10T03_07_11_971Z-debug.log
➜ ~ alfy-init
Error: Command failed with exit code 1 (EPERM): alfred-link
at makeError (/Users/yangran/.nvm/versions/node/v12.18.2/lib/node_modules/alfy/node_modules/execa/lib/error.js:59:11)
at handlePromise (/Users/yangran/.nvm/versions/node/v12.18.2/lib/node_modules/alfy/node_modules/execa/index.js:112:26)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async /Users/yangran/.nvm/versions/node/v12.18.2/lib/node_modules/alfy/init.js:7:3 {
command: 'alfred-link',
exitCode: 1,
exitCodeName: 'EPERM',
stdout: '',
stderr: 'TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined\n' +
' at validateString (internal/validators.js:120:11)\n' +
' at Object.dirname (path.js:1128:5)\n' +
' at /Users/yangran/.nvm/versions/node/v12.18.2/lib/node_modules/alfy/node_modules/alfred-link/index.js:52:21 {\n' +
" code: 'ERR_INVALID_ARG_TYPE'\n" +
'}',
all: 'TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined\n' +
' at validateString (internal/validators.js:120:11)\n' +
' at Object.dirname (path.js:1128:5)\n' +
' at /Users/yangran/.nvm/versions/node/v12.18.2/lib/node_modules/alfy/node_modules/alfred-link/index.js:52:21 {\n' +
" code: 'ERR_INVALID_ARG_TYPE'\n" +
'}',
failed: true,
timedOut: false,
isCanceled: false,
killed: false,
signal: undefined
}
➜ ~ alfred-link
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at validateString (internal/validators.js:120:11)
at Object.dirname (path.js:1128:5)
at /Users/yangran/.nvm/versions/node/v12.18.2/lib/node_modules/alfred-link/index.js:52:21 {
code: 'ERR_INVALID_ARG_TYPE'
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.