ForgeRock / fr-config-manager

ForgeRock config manager
MIT License
6 stars 7 forks source link

Deployment Issue on Azure Pipeline - 'Cannot find module axios' #161

Closed almedinaMezit closed 1 month ago

almedinaMezit commented 1 month ago

Hello,

We are currently facing a deployment issue on our Azure Pipeline related to the ForgeRock Config Manager. The error message we are encountering is:

Error: Cannot find module 'axios'

We are using fr-config-pull.

Thank you

christian-brindley commented 1 month ago

Hi - did you run npm install (or npm install --ws for previous versions) as per the README?

almedinaMezit commented 1 month ago

Yes, and everything was working fine until Friday.

christian-brindley commented 1 month ago

The dependencies are now in the base package.json for ease of installing the tools as a whole. This means that when installing the individual packages via npm link, the dependencies are not installed properly.

We will work on a fix for backward compatibility. In the meantime, workarounds include

christian-brindley commented 1 month ago

Another workaround

almedinaMezit commented 1 month ago

Thank you very much. I checked again readme file and updated pipeline with those instructions.