question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Facing Issue while Importing my GitHub repo into stackblitz.

See original GitHub issue

When Importing this repo https://stackblitz.com/github/atulpatill/SuperChat, I got following error.

The dependencies for this project couldn’t be resolved. This usually means that a dependency in your package.json is incorrect.

I think this error is from your end so Please tell how to resolve this?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:10

github_iconTop GitHub Comments

2reactions
pawellenartcommented, Nov 7, 2021

Same here.

Tried with two repos: pawellenart/lenart-in pawellenart/revents

I’m sure they are OK, because they run fine locally and also deployed to Vercel.

1reaction
markwhitfeldcommented, Jan 19, 2022

@atulpatill @pawellenart Your projects aren’t quite in the right format for StackBlitz v1, but StackBlitz v2 will handle anything you throw at it! Try adding the ?preset=node query string to your imports. I have also added terminal=start so that it runs npm start too!

https://stackblitz.com/github/atulpatill/SuperChat?preset=node&terminal=start and https://stackblitz.com/github/pawellenart/lenart-in?preset=node&terminal=start https://stackblitz.com/github/pawellenart/revents?preset=node&terminal=start

This should get you sorted out too @XsongyangX (with a slight tweak of the start command to serve): https://stackblitz.com/github/XsongyangX/universalqc-vue?preset=node&terminal=serve

@ron2015schmitt it looks like you repos are importing ok now, but they may have some dependencies issue.

Closing this, because using WebContainer resolves the primary issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Importing projects - StackBlitz Docs
1. Go to your dashboard and open a new JavaScript blank project. Dashboard for JavaScript Blank Project · 2. Click on 'Connect repository'...
Read more >
I can't import a project from github repository to stackblitz if I ...
I log into statckbliz when trying to import the github project ... In visual studio code the code is executed without problems. import...
Read more >
Top StackBlitz Alternatives in 2022 - Slashdot
Create custom environments for Vue, Angular and other platforms. You can import and run repos directly from GitHub. Export your sandbox directly to...
Read more >
angular/angular - Gitter
hello all.. i am facing one issue while using popover in ng repeat, i have created ... how do you think, can I...
Read more >
Best StackBlitz Alternatives & Competitors - SourceForge
Custom environments built specifically for React, Vue, Angular, and many more. Import and run repos direct from GitHub. Or export your sandbox to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found