Alfresco / alfresco-docker-installer

Generator to build Docker Compose templates to deploy Alfresco Community
Other
140 stars 57 forks source link

Error on generation. #164

Closed mjordan79 closed 1 year ago

mjordan79 commented 1 year ago

Hello, I've installed nodejs 18.16.0 LTS Yeoman is version: 4.3.1

I execute the project by launching: yo alfresco-docker-installer

I answer the questions (I'm on Windows, running docker desktop 4.19 (docker server v. 23.0.5)

The process go in error with the following error: × An error occured while running alfresco-docker-installer:app#writing Error alfresco-docker-installer

error:0308010C:digital envelope routines::unsupported

Nothing is being generated.

Any help? Thank you very much.,

aborroy commented 1 year ago

Depending on your terminal, run one of the commands below:

# macOS, Linux and Windows Git Bash
export NODE_OPTIONS=--openssl-legacy-provider

# Windows Command Prompt:
set NODE_OPTIONS=--openssl-legacy-provider

# Windows PowerShell:
$env:NODE_OPTIONS="--openssl-legacy-provider"
mjordan79 commented 1 year ago

Depending on your terminal, run one of the commands below:

# macOS, Linux and Windows Git Bash
export NODE_OPTIONS=--openssl-legacy-provider

# Windows Command Prompt:
set NODE_OPTIONS=--openssl-legacy-provider

# Windows PowerShell:
$env:NODE_OPTIONS="--openssl-legacy-provider"

Thank you very much, solved the issue greatly. I think if it worth mentioning in the README?

aborroy commented 1 year ago

Thanks @mjordan79

Mention added in the README at https://github.com/Alfresco/alfresco-docker-installer/commit/5af9f6ecd4bd731124a5cbc2f03a0556891158fb