Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update package.json #790

Closed
wants to merge 2 commits into from
Closed

Update package.json #790

wants to merge 2 commits into from

Conversation

entropyReverser
Copy link
Contributor

No description provided.

@harshith-venkatesh
Copy link
Contributor

@rawluck , Could you debug why this is failing
[20](https://github.com/Real-Dev-Squad/website-backend/actions/runs/3371626191/jobs/5608330420#step:5:21) Error: TIMEOUT: Port 8081 on localhost was not active within 60000ms [21](https://github.com/Real-Dev-Squad/website-backend/actions/runs/3371626191/jobs/5608330420#step:5:22) error Command failed with exit code 1. [22](https://github.com/Real-Dev-Squad/website-backend/actions/runs/3371626191/jobs/5608330420#step:5:23) info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. [23](https://github.com/Real-Dev-Squad/website-backend/actions/runs/3371626191/jobs/5608330420#step:5:24) error Command failed with exit code 1. [24](https://github.com/Real-Dev-Squad/website-backend/actions/runs/3371626191/jobs/5608330420#step:5:25) info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. [25](https://github.com/Real-Dev-Squad/website-backend/actions/runs/3371626191/jobs/5608330420#step:5:26) Error: Process completed with exit code 1.

@JAYATEJA04
Copy link
Contributor

Now I'm able to pass the integration tests and unit tests after changing the node-version from 14 to 18 in package.json and test.yml files.

Things I tried to make it work

  • Changing ports
  • Updating the firebase CLI.
  • Installing firebase through npm.
  • Changing the host address in the firebase.json file. (worked✅)

Before changing the host address in the firebase.json file.

{
  "emulators": {
    "firestore": {
      "port": 8081
    },
    "ui": {
      "enabled": true,
      "port": 4000
    }
  }
}

After changing the host address in firebase.json file

{
  "emulators": {
    "firestore": {
      "host": "0.0.0.0",
      "port": 8081
    },
    "ui": {
      "host": "0.0.0.0",
      "enabled": true,
      "port": 4200
    }
  }
}

@rawluck please try this and see if that resolves this issue.

Reference

1.) #918
2.) firebase/firebase-tools#4741

@prakashchoudhary07
Copy link
Contributor

Closing this, as this has been updated in other PR

@prakashchoudhary07 prakashchoudhary07 deleted the rawluck-patch-1 branch February 10, 2024 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants