Giter Club home page Giter Club logo

alfred-mdn's People

Contributors

dependabot[bot] avatar kiliman avatar klaascuvelier avatar peterbe avatar sonicdoe avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

alfred-mdn's Issues

Library not loaded error

Hi there,

The workflow doesn't seem to be working because of a library that isn't loaded:

image

Reinstalling didn't work, unfortunately.

Remove older version after update

I just installed a new release of this package, going from 2.1.1 to 2.1.5.
After updating, I saw that the older version still existed.

Is it possible to remove the older release after updating? That would be great!

Workflow stopped working?

Hi,

Thank you for creating and maintaining the workflow!

It seems that it stopped working recently:

mdn

Could you please take a look?

Thank you!

Cannot uninstall

I got this when trying to uninstall alfred-mdn:

 npm uninstall -g alfred-mdn

> [email protected] preuninstall /usr/local/lib/node_modules/alfred-mdn
> alfy-cleanup

npm ERR! code EEXIST
npm ERR! path /usr/local/lib/node_modules/alfred-mdn/node_modules/execa/node_modules/.bin/which
npm ERR! Refusing to delete /usr/local/lib/node_modules/alfred-mdn/node_modules/execa/node_modules/.bin/which: is outside /usr/local/lib/node_modules/alfred-mdn/node_modules/execa/node_modules/which and not a link
npm ERR! File exists: /usr/local/lib/node_modules/alfred-mdn/node_modules/execa/node_modules/.bin/which
npm ERR! Move it away, and try again.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/lucaban/.npm/_logs/2019-10-24T10_43_06_491Z-debug.log

I'm just throwing it out here, not sure if it's really an "issue", so i'll close it :D

ParseError: Unexpected token < in JSON at position 3

Hi Klaas,

Great alfred extension! I use this many times daily and just now received an error whenever I trigger a search:

ParseError: Unexpected token < in JSON at position 3 in "https://developer.mozilla.org/en-US/search.json?q=h": 
<!DOCTYPE html>
<html lang="en-US" dir="ltr" class="no-js">
<head prefix="...
    at stream.catch.then.data (/Users/peter/.nvm/versions/node/v12.4.0/lib/node_modules/alfred-mdn/node_modules/got/index.js:118:14)

Any idea how to resolve this?

Thanks

version info:

mdn 1.0.2
Alfred 4.0.3
darwin x64 18.7.0

Workflow doesn't work anymore

Workflow has stopped working since a couple of weeks ago. Initially thought the MDN site is down or something, but it has been like this for the past couple of weeks.

The following is the Alfred error that I got from running the mdn command.

TypeError: Cannot read property 'replace' of undefined
at stripHtml (/usr/local/lib/node_modules/alfred-mdn/index.js:37:17)
at /usr/local/lib/node_modules/alfred-mdn/index.js:10:26
at Array.map ()
at /usr/local/lib/node_modules/alfred-mdn/index.js:8:35

Reinstalling and updating the extension doesn't seem to fix it as well.

Currently running Node v14.15.4

RefferenceError: results is not defined on v2.0.2

Hi, I've just updated alfred-mdn to check if it's working after #6 fixin and got this error:

[11:38:57.374] Logging Started...
[11:39:06.348] mdn[Script Filter] Queuing argument 's'
[11:39:06.657] mdn[Script Filter] Queuing argument 'sl'
[11:39:06.857] mdn[Script Filter] Queuing argument 'sli'
[11:39:06.961] mdn[Script Filter] Queuing argument 'slic'
[11:39:07.049] mdn[Script Filter] Queuing argument 'slice'
[11:39:08.381] mdn[Script Filter] Script with argv 'slice' finished
[11:39:08.384] ERROR: mdn[Script Filter] Code 1: {
"items": [
{
"title": "ReferenceError: results is not defined\n at alfy.fetch.then.results (/Users/evanre/.nvm/versions/node/v10.13.0/lib/node_modules/alfred-mdn/index.js:9:23)\n at process._tickCallback (internal/process/next_tick.js:68:7)",
"subtitle": "Press โŒ˜L to see the full error and โŒ˜C to copy it.",
"valid": false,
"text": {
"copy": "\nReferenceError: results is not defined\n at alfy.fetch.then.results (/Users/evanre/.nvm/versions/node/v10.13.0/lib/node_modules/alfred-mdn/index.js:9:23)\n\n\n-\nmdn 2.0.2\nAlfred 4.0.3\ndarwin 18.7.0",
"largetype": "ReferenceError: results is not defined\n at alfy.fetch.then.results (/Users/evanre/.nvm/versions/node/v10.13.0/lib/node_modules/alfred-mdn/index.js:9:23)"
},
"icon": {
"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns"
}
}
]
}

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.