Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save danivijay/72ef275578f9301f46086974ae897eb0 to your computer and use it in GitHub Desktop.
Save danivijay/72ef275578f9301f46086974ae897eb0 to your computer and use it in GitHub Desktop.
Errors when cloning Wittr or starting Server

Errors when cloning Wittr or starting Server

Error - Facing-warnings or errors after running server(npm run serve)

Possible Solutions

  • Forgot the npm install command.
  • Clone again.
  • Change the current working directory to wittr.
  • Correct: npm run serve Incorrect: npm run server.
  • Delete the current folder and try installing from scratch.
  • Uninstalling and reinstalling the dependencies from Json file.

Error: opening the link https://localhost:8888 - error that says that the localhost refused to connect.

Possible Solutions

Correct: http://localhost:8888/, Incorrect: https://localhost:8888/ you selected the offline mode in the localhost:8889 just change that one to perfect to make the server online.

Error - Facing error when running git clone ‘git’ is not recognized as an internal or external command.

Possible Solutions

Correct: https://github.com/jakearchibald/wittr Incorrect: http://github.com/jakearchibald/wittr

  • Use git bash or cmd terminal instead of node.js terminal.
  • Install git on your system and choose the option 'Use git from git bash only during installation '.
  • Set the path in the environment variables to the complete directory path in which your git is installed(mine is C:\Program Files\Git\cmd)
  • Node is not added to your system environment variables.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment