-
Notifications
You must be signed in to change notification settings - Fork 931
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When deps are updated Stackblitz can't find core-js #930
Comments
Hey @oleersoy I have seen the same issue, you can work around it by installing |
Hey @beeman - That was a sweet comment! It works now! Thanks! |
The same error in my https://github.com/kolkov/angular-editor library. |
Thanks @beeman.. in the right place in the right time |
HOW?? How to install anything in Stackblitz? Does it have CLI? |
@wzup You can change the versions of installed packages (or add new packages) for a project in the package.json file. Just change |
@wzup @nimirea You may also change it via the 'Dependencies' tab under the 'Project' tab (icon shaped like files) on the left sidebar. If you shorten the 'Files' tab and expand the 'Dependencies', you can see the text input with placeholder "enter package name". You may enter your desired package and version with the format So downgrading core-js to 2 is as simple as entering |
Downgrading to I'm very curious what bug would cause this. Doesn't stackblitz use the global npm registry? |
Your suggestion solved the problem. |
I had the same problem, this might be the same issue. if you open polyfills.ts in your angular project. You will have import 'core-js/es6/symbol'; here import 'core-js/es/symbol'; |
This is the best solution to the problem. With this solution, you can still use core-js current version without errors. According to @sibiraj-sr, core-js/es6 or core-js/es7 were removed from core-js v3. Editing polyfills.ts as stated removes the errors. |
Thank you for your patience - This issue has been resolved and will be closed accordingly. If this issue persists, feel free to tag me or ask to reopen this issue with screenshots of the error. Thank you! :) |
I have this project:
https://stackblitz.com/edit/slice-todo
It runs with the current dependency versions, but if I updated the deps I get the message:
Thoughts?
The text was updated successfully, but these errors were encountered: