Unknown error in <anonymous>
See original GitHub issueJust installed alfred-polyglot@1.2.0
via NPM and I’m getting this error:
Error
at /Users/eom/.nvm/versions/node/v8.12.0/lib/node_modules/alfred-polyglot/node_modules/google-translate-api/index.js:105:17
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)
The full log from the Alfred debugger:
[2018-10-14 20:56:11][input.scriptfilter] Queuing argument ''
[2018-10-14 20:56:11][input.scriptfilter] Script with argument '' finished
[2018-10-14 20:56:11][input.scriptfilter] {
"items": [
{
"title": "Translate '...'"
}
]
}
[2018-10-14 20:56:11][input.scriptfilter] Queuing argument 'h'
[2018-10-14 20:56:11][input.scriptfilter] Queuing argument 'he'
[2018-10-14 20:56:11][input.scriptfilter] Queuing argument 'hej'
[2018-10-14 20:56:12][input.scriptfilter] Script with argument 'hej' finished
[2018-10-14 20:56:12][input.scriptfilter] {
"items": [
{
"title": "Error: ",
"subtitle": "Activate this item to try again. | ⌘L to see the stack trace",
"autocomplete": "",
"icon": {
"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns"
},
"valid": false,
"text": {
"largetype": "Error\n at /Users/eom/.nvm/versions/node/v8.12.0/lib/node_modules/alfred-polyglot/node_modules/google-translate-api/index.js:105:17\n at <anonymous>\n at process._tickCallback (internal/process/next_tick.js:189:7)",
"copy": "Error\n at /Users/eom/.nvm/versions/node/v8.12.0/lib/node_modules/alfred-polyglot/node_modules/google-translate-api/index.js:105:17\n at <anonymous>\n at process._tickCallback (internal/process/next_tick.js:189:7)"
}
}
]
}
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Unknown error in upload image :class anonymous class ...
The error says that AsyncHttpResponseHandler must implement the onSuccess function. Edit: After checking your, imports as commented by other ...
Read more >Unknown(Script Error) - Rollbar Docs
This happens when your JS code is hosted on a different domain (i.e. a CDN). To fix, set. Access-Control-Allow-Origin: * on the JS...
Read more >Issue #97418 · flutter/flutter - unknown error - GitHub
Steps to Reproduce Execute flutter run on the code sample ... ... Expected results: Actual results: Code sample Logs.
Read more >Login after anonymous search leads to unknown error
As the topic describes: When I try to login after a topic search while I am not logged in, then the first login...
Read more >"Unknown error! Please contact your administrator" message ...
This is usually caused by a connectivity issue between the Salesforce site and your Jira server instance. Something might be blocking the connection...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey, thanks creating the issue - the errors you’re having might be caused by the tkk regex token used by
google-translate-api
having been updated for some people (the workflow still works good for me) and not being valid anymore.There is a possible fix floating around created by @vitalets on his fork of
google-translate-api
which might help you.Since I can’t reproduce the issue myself yet, before taking some real action I’ve created a temporary branch with the dependency switched to the fork which might work for you, you can install it via running the following commands:
Please install the fork and let me know if that fixes it for you, thanks in advance! 😃
Fixed in https://github.com/nikersify/alfred-polyglot/commit/be554915ce9363433771941f7da9ae5d9463277a, thanks for the reports!