Roland Levy

@rjlevy (5)
Full Stack Developer at Ontrack Management Solutions Ltd in London. www.linkedin.com/in/roland-levy
My Repl no longer commits and pushes to Github
posted to Ask by rjlevy

Solved

@replitjeremy kindly emailed me with the following solution:

This issue occurs when git is exited in the middle of doing some action. It creates an index.lock file in the .git folder of your project that prevents future commits.

Can you try opening the shell (cmd/ctrl + "." -> type "shell" ) and running rm .git/index.lock? I'm having trouble tracking down exactly what causes this. Have any of the following things possibly occurred?

  1. working with someone on this repl via multiplayer and trying to simultaneously commit
  2. closing the repl while a git action was still loading (the sidebar would be greyed out at that time)
  3. being forced to reconnect by us while using git (the editor will reload and show "offline" briefly, and then a reconnect message will appear)
Feedback for git support + the new GitHub integration

Solved

@replitjeremy kindly emailed me with the following solution:

This issue occurs when git is exited in the middle of doing some action. It creates an index.lock file in the .git folder of your project that prevents future commits.

Can you try opening the shell (cmd/ctrl + "." -> type "shell" ) and running rm .git/index.lock? I'm having trouble tracking down exactly what causes this. Have any of the following things possibly occurred?

  1. working with someone on this repl via multiplayer and trying to simultaneously commit
  2. closing the repl while a git action was still loading (the sidebar would be greyed out at that time)
  3. being forced to reconnect by us while using git (the editor will reload and show "offline" briefly, and then a reconnect message will appear)
Feedback for git support + the new GitHub integration

Hi @replitjeremy, thanks for looking into this issue. I am having the same problem. I emailed you my repl today - thanks, Roland

Feedback for git support + the new GitHub integration

Hi @CollinBrennan, I'm having the same issue with one of my repos. Do you know if this has been fixed? Thanks, Roland

Node.js Repl showing up as Bash
posted to Ask by rjlevy

Hi @Highwayman

Thanks for your help with this.

I fixed the problem. The .env file had been deleted so the omdb.com api key was missing - hence the lack of results from the request. I have added the .env file so this issue is now resolved :)

Node.js Repl showing up as Bash
posted to Ask by rjlevy

Thanks @Highwayman

Do you know the best way to contact moderators like @Vandesm14 directly?

Roland

Node.js Repl showing up as Bash
posted to Ask by rjlevy

hi @Highwayman

Do you know anyone that could help? The repl still doesn't work the way it used to.

Thanks
Roland

Node.js Repl showing up as Bash
posted to Ask by rjlevy

HI @Highwayman

Thanks so much for your help. I have installed all the node packages using run = "npm install node" etc

The contents of the replit file is now

language = "javascript"
run = "node index.js"

The repl works but is broken. When it was working it used to make a call to the www.omdbapi.com API using the node-fetch package but now nothing happens.

Do you know why this repl changed into a BASH file? It was previously a node file

Thanks
Roland

Node.js Repl showing up as Bash
posted to Ask by rjlevy

Hi @Highwayman

Thanks for your reply. I have added the .replit file and have this for the contents: run = "node index.js" but I get this error:

Error: Cannot find module 'express'

Do you know what I need to do to run node and express?

Many thanks for your help

Roland

Why can't my Express.js repls connect with my Github account?
posted to Ask by rjlevy

Hi @Vandesm14

Thanks for getting back to me. Gigadex looks like an interesting project - I'm interested and would like to find out more. Can you email me? [email protected]

By the way I made the repo in Node as you suggested: https://github.com/rolandjlevy/Node-Express-News-API-with-pagination-with-ejs

Thanks!
Roland

Why can't my Express.js repls connect with my Github account?
posted to Ask by rjlevy

Thank you for your very quick reply @Vandesm14

That's a great help. I will try what you said. Do you think it would help to let repl users who use Express.js know that they can't connect Express.js repls to Gihub? Just an icon or something to replace the Version control icon.