GithubHelp home page GithubHelp logo

atian25 / alfred-plugin-projj Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 1.0 386 KB

Alfred plugin for https://github.com/popomore/projj

JavaScript 100.00%
alfred alfred-workflow projj git vscode vscode-extension

alfred-plugin-projj's Introduction

alfred-plugin-projj's People

Contributors

atian25 avatar diamondyuan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

duncup

alfred-plugin-projj's Issues

I have a problem

{ 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 命令执行报错

➜  ~ 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 命令执行报错

➜  ~ 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'
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.