Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work on Node 21.5.0 #30

Open
aik099 opened this issue Jan 8, 2024 · 1 comment
Open

Doesn't work on Node 21.5.0 #30

aik099 opened this issue Jan 8, 2024 · 1 comment

Comments

@aik099
Copy link

aik099 commented Jan 8, 2024

I'm getting the following output, when attempting to use this workflow on Node 21.5.0:

[13:23:31.249] Logging Started...
[13:23:35.121] Currency Converter[Script Filter] Queuing argument ''
[13:23:35.236] Currency Converter[Script Filter] Script with argv '' finished
[13:23:35.241] ERROR: Currency Converter[Script Filter] Code 1: /Users/user/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.8832B357-1BEE-458A-B5D0-4F8B15B7C329/node_modules/esm/esm.js:1
const __global__ = this;(function (require, module, __shared__) { var __shared__;const e=module,t={Array:global.Array,Buffer:global.Buffer,Error:global.Error,EvalError:global.EvalError,Function:global.Function,JSON:global.JSON,Object:global.Object,Promise:global.Promise,RangeError:global.RangeError,ReferenceError:global.ReferenceError,Reflect:global.Reflect,SyntaxError:global.SyntaxError,TypeError:global.TypeError,URIError:global.URIError,eval:global.eval},r=global.console;module.exports=(function(e){var t={};function r(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.d=function(e,t,r){Reflect.defineProperty(e,t,{configurable:!0,enumerable:!0,get:r})},r.n=function(e){return e.a=e,function(){return e}},r(r.s=2)})([(function(e,t){var r;t=e.exports=$,"object"==typeof process&&process,r=function(){},t.SEMVER_SPEC_VERSION="2.0.0";var .....

It seems, that esm module needs to be updated to support that Node version.

@shinshow
Copy link

shinshow commented Mar 8, 2024

I also have the same issue. I've been using it well so far, so someone please fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants