RocketChat / EmbeddedChat

An easy to use full-stack component (ReactJS) embedding Rocket.Chat into your webapp
https://rocketchat.github.io/EmbeddedChat/docs
126 stars 252 forks source link

Installation errors with packages not found in registry. #58

Closed pvvramakrishnarao234 closed 2 years ago

pvvramakrishnarao234 commented 2 years ago

Description:

When we clone the project and followed the steps in the README file. It is throwing errors that some packages are not found in the registry.

Steps to reproduce:

  1. git clone the EmbeddedChat project.
  2. npm i (at root) or (any command regarding node js)

Expected behavior:

Completed Installation of the node_modules.

Actual behavior:

image
pvvramakrishnarao234 commented 2 years ago

To Resolve:

Execute the following commands:

  1. npm config set registry http://registry.npmjs.org
  2. npm -g install npm
  3. npm cache clean -f
  4. npm install -g win-node-env (if you are having issue with NODE_ENV)
pvvramakrishnarao234 commented 2 years ago

If the top steps did not resolve your issue, then change your node version to ----> 16.17.0