Container Sandboxes still have problems after changing dependencies :( #5395
-
Here is an example: https://codesandbox.io/s/modifier-error-stacktrace-test-zb5bl?file=/package.json I've refreshed the page, and tried clicking restart sandbox/server, but I'm stuck in this state: I think the only way out of this is if I leave the sandbox alone for 30 minutes (and if no one visits the URL for 30 minutes), so that the container is totally torn down. :-\ Questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
It seems something else has gone terribly wrong. Nothing will recover the sandbox |
Beta Was this translation helpful? Give feedback.
-
I thought the sandbox detected package changes and ran yarn for me. 🤔 I'll run yarn manually and see what happens |
Beta Was this translation helpful? Give feedback.
-
Something is still very wrong. Yarn. At runtime, thinks I don't have the new package, yet, when I just cut 'yarn', it says 'up to date', and when I try to install the new package via CLI, yarn... Can't find the list of packages? Also, ignore the triple dash, it seems there is a gross rendering disconnect between what in typed and what is displayed. When backspacing, I need to delete everything twice for some reason... But that's a separate issue |
Beta Was this translation helpful? Give feedback.
-
Does codesandbox override any node utils? These in particular? https://github.com/quaertym/ember-cli-dependency-checker/blob/master/lib/dependency-checker.js#L7 |
Beta Was this translation helpful? Give feedback.
-
@lbogdan and I chatted on discord, and they found that I had an extra space before the package name in package.json. Omg So, " package" in dependencies was causing all this. So much oof |
Beta Was this translation helpful? Give feedback.
@lbogdan and I chatted on discord, and they found that I had an extra space before the package name in package.json.
Omg
So, " package" in dependencies was causing all this.
Oof.
So much oof