sindresorhus / alfy

Create Alfred workflows with ease

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting alfy-init: command not found

urre opened this issue · comments

I was about to make an update to my Alfredinary, but now getting alfy-init: command not found. I have "postinstall": "alfy-init", in my package.json.

Using Node.js v14.8.0, Alfred 4.3.2 and these are my dependencies to the Alfred workflow

  "dependencies": {
    "alfy": "^0.10.0",
    "cloudinary": "^1.25.0",
    "dotenv": "^8.2.0"
  }

Running this manually seems to work: ./node_modules/alfy/init.js

Sounds like an npm issue.

"alfy-init": "init.js",
is correctly defined.

Yea I thought everything looked good. Wonder why I'm getting "command note found" on this.

@urre What command did you execute to cause this error?