codesandbox-client icon indicating copy to clipboard operation
codesandbox-client copied to clipboard

NPM dependency not install, receive CORS error when fetch `typings`

Open wztech0192 opened this issue 2 years ago • 3 comments

🐛 bug report

Preflight Checklist

  • [x] I have read the Contributing Guidelines for this project.
  • [x] I agree to follow the Code of Conduct that this project adheres to.
  • [x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Description of the problem

NPM dependency not install, receive CORS error when fetch typings image

How has this issue affected you? What are you trying to accomplish?

I am trying to create a demo using a new npm package, but codesandbox is not able to install that dependency. I have tried locally and it works.

To Reproduce

Publish new npm package and use it in codesandbox

Link to sandbox: link (optional)

https://codesandbox.io/s/jovial-moser-nz5qli?file=/src/App.tsx

Your Environment

Software Name/Version
Сodesandbox
Browser
Operating System

wztech0192 avatar Dec 27 '22 15:12 wztech0192

I can reproduce this, most likely a timeout in the packager making it not available on our s3 bucket. @CompuIves any idea what might be causing this?

DeMoorJasper avatar Jan 16 '23 09:01 DeMoorJasper

I cannot use codesandbox for a few weeks already.

Whenever I open a sandbox, I see something like this:

image

It doesn't seem that someone would even care about it.

OnkelTem avatar Sep 21 '23 12:09 OnkelTem

@OnkelTem could you share the version of the editor (shown in the bottom left)? I think we fixed this issue (https://github.com/codesandbox/codesandbox-client/issues/8078) recently but you might be stuck on an old version

CompuIves avatar Sep 21 '23 12:09 CompuIves