How to update npm on an OpenShift gear?

后端 未结 1 1072
Happy的楠姐
Happy的楠姐 2021-01-14 21:19

How can I update npm on OpenShift?

I\'m having problems while deploying because npm started using ^1.2.3 version notations and it\'s not compatible with the current

相关标签:
1条回答
  • 2021-01-14 22:12

    OpenShift does not provide root access to developers, but you can still select a custom version of npm by running your own nodejs binary in user space.

    Developers can also package up their own custom nodejs cartridge, allowing teams to define and standardize their dependencies in a reusable way.

    Here is an answer that helps you run a custom version of Nodejs on OpenShift

    You can also try working with user-defined npm globals on OpenShift

    0 讨论(0)
提交回复
热议问题