Installing Arbitrary JavaScript Component on MacOS Ventura

Hi. For my app, I need to install the Arbitrary JavaScript component from PragmaFlow. I followed the Adalo and some other forums instructions on installing their components, but I keep getting errors when I publish (I redacted some personal information from the code)

{
  "author": "XXXXXX",
  "description": "Some times you just want to write code",
  "logo": "./example-logo.png",
  "displayName": "Adalo Arbitrary Javascript",
  "components": [
    {
      "name": "ArbitraryJavascript",
      "manifest": "./src/components/ArbitraryJavascript/manifest.json"
    }
  ],
  "name": "XXXXXX",
  "version": "1.0.6"
}

node:internal/crypto/hash:71
  this[kHandle] = new _Hash(algorithm, xofLen);
                  ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:71:19)
    at Object.createHash (node:crypto:133:10)
    at module.exports (/XXXXXX/lib/util/createHash.js:135:53)
    at Compilation.createHash (/XXXXXX/lib/Compilation.js:1918:16)
    at /XXXXXX/lib/Compilation.js:1386:9
    at AsyncSeriesHook.eval [as callAsync] (eval at create (/XXXXXX/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncSeriesHook.lazyCompileHook (/XXXXXX/lib/Hook.js:154:20)
    at Compilation.seal (/XXXXXX/lib/Compilation.js:1342:27)
    at /XXXXXX/lib/Compiler.js:675:18
    at /XXXXXX/lib/Compilation.js:1261:4
    at AsyncSeriesHook.eval [as callAsync] (eval at create (/XXXXXX/lib/HookCodeFactory.js:33:10), <anonymous>:24:1)
    at AsyncSeriesHook.lazyCompileHook (/XXXXXX/lib/Hook.js:154:20)
    at Compilation.finish (/XXXXXX/lib/Compilation.js:1253:28)
    at /XXXXXX/lib/Compiler.js:672:17
    at eval (eval at create (/XXXXXX/lib/HookCodeFactory.js:33:10), <anonymous>:11:1)
    at /XXXXXX/lib/Compilation.js:1185:12 {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Thank you!

Hi @ShumBuggie,

I don’t have any knowledge about this but thought to tag some component devs that might help here! : @njimmy10 , @James_App_Maker , @gskachkov , @Flawless

Thank you

If you’re using Node 17, I would suggest to downgrade at least to 16, or try to set in command export NODE_OPTIONS=--openssl-legacy-provider

See following discussion

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.