community-app icon indicating copy to clipboard operation
community-app copied to clipboard

npm install giving error

Open mohitsinha opened this issue 3 years ago • 2 comments

npm install giving error both while executing command and in Docker build

Steps to Reproduce

Follow the steps and when npm install you will get error.

Even docker build -t community-app . will give the same error.

Expected Behaviour

npm install should run without errors.

Actual Behaviour

Getting error npm ERR! Invalid Version: 0.0.3a

Settings

  • Mifos X version: Latest develop branch as well as previous branches
  • OS: MacOS , as well as in Docker build

Screenshots

The following are the error screenshots for both executing the command npm install and Docker build

Screen Shot 2022-06-07 at 09 48 34 Screen Shot 2022-06-07 at 09 50 38 Screen Shot 2022-06-07 at 09 52 00

mohitsinha avatar Jun 07 '22 04:06 mohitsinha

i downgraded my Node all the way down to v10.18.0 and it worked for me .

44a6z22 avatar Jun 17 '22 22:06 44a6z22

This should also work properly with Dockerfile which isn't happening.

mohitsinha avatar Jun 22 '22 15:06 mohitsinha