Codesandbox-client: Can't import from Github

Created on 11 Apr 2018  路  5Comments  路  Source: codesandbox/codesandbox-client

Hello,
My name is Marc. I'm pretty new to coding. Hopefully this is the right place for this.
I'm trying to import my existing repo on github to a new sandbox, and for some reason I always get a message similar to below.
"Something went wrong
should be at most 48 character(s)"
In the console I see a "failed to load resource: server responded with a status of 422" error.
I created a test repo and it seemed to import fine. for some reason it's not working with my existing code though. Any thoughts on why?
github: my repo

Most helpful comment

Hey @durkinio, I raised the limit!

All 5 comments

Hi! Thanks for letting me know, I updated our limits to make it work with your github repository. We had a limit of maximum 48 characters in a filename, I raised it to 64.

I think the sandbox will start working of you add parcel-bundler to your devDependencies in the package.json in your GitHub repository.

@CompuIves might it be possible to raise the limit again? Here's an example of a repo that's throwing the "should be at most 64 character(s)" error > https://github.com/netlify-templates/gatsby-starter-netlify-cms

Hey @durkinio, I raised the limit!

Hey @CompuIves I encountered the same problem today. When importing this repo: https://github.com/the-road-to-learn-react/react-interval-setstate-unmounted-component-performance I get an error "should be at most 64 character(s)".

The codesandbox in question: https://codesandbox.io/s/github/the-road-to-learn-react/react-interval-setstate-unmounted-component-performance

Is this 64-char limit related to filenames? Or the resulting URL? And is it something that has to be raised on per-repository case?

Anyway, I love this feature of CodeSanbox, really simplifies demoing of many repos! Hope this can be resolved.

Yep. Anything against raising the limit? I started to use CodeSandbox to mirror all my source code projects from GitHub, but ran into this issue with @rszalski

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MichMich picture MichMich  路  35Comments

Vill3m picture Vill3m  路  23Comments

Telokis picture Telokis  路  24Comments

YarivGilad picture YarivGilad  路  22Comments

kenyk7 picture kenyk7  路  22Comments