ameerthehacker / blazepack

⚡ Blazing fast dev server powered by sandpack
GNU Lesser General Public License v3.0
234 stars 17 forks source link

Unhandled Sandpack error while running the app. #36

Closed Logan1x closed 3 years ago

Logan1x commented 3 years ago

I created a new sandbox on code sandbox and clone the sandbox using blazepack clone. And when I am trying to run the project, with blazepack start command, it shows

$ blazepack start
⚡ Blazepack dev server running at http://localhost:3000
❌ Unhandled Sandpack error while running the app.
❌ e['/package.json'] is undefined
Terminating the server

package.json is available in the folder. Also, the 2nd and 3rd line error doesn't load till I visit the http://localhost:3000 in the browser.

Sandbox link : https://codesandbox.io/s/random-user-3cvug

Logan1x commented 3 years ago

Its not just with codesandbox clone, I am getting even when creating new project with blazepack create and running.

Blazepack dev server running at http://localhost:3000
❌ Unhandled Sandpack error while running the app.
❌ Cannot read property 'code' of undefined
Terminating the server
ameerthehacker commented 3 years ago

@Logan1x what is the version of blazepack you are using? I cannot replicate the same on v0.0.45

Logan1x commented 3 years ago

I am on version v0.0.45. Is there a way I can send you logs?

ameerthehacker commented 3 years ago

@Logan1x please share info on your os, node and npm version

Logan1x commented 3 years ago

Node version : v14.5.0 NPM : 7.6.3 OS : Manjaro 20.0.3

ameerthehacker commented 3 years ago

@Logan1x this looks little tricky and machine specific, it would be great if you can join our discord channel and we can meet to investigate the issue on your machine

Logan1x commented 3 years ago

Sure. I'll connect with you there.

ameerthehacker commented 3 years ago

@all-contributors please add @Logan1x for bug

allcontributors[bot] commented 3 years ago

@ameerthehacker

I've put up a pull request to add @Logan1x! :tada:

ameerthehacker commented 3 years ago

@Logan1x have released a fix for this, do try out and let me know.

Logan1x commented 3 years ago

Thank you for the update. My issue is solved now 🍻