Fix babel core update error#20
Merged
Merged
Conversation
added 2 commits
November 5, 2021 15:56
Full error message: 🚨 Build failed. @parcel/transformer-babel: babelCore(...).loadPartialConfigAsync is not a function TypeError: babelCore(...).loadPartialConfigAsync is not a function at load (/workspaces/algorithms-exercises/node_modules/@parcel/transformer-babel/lib/config.js:115:41) at loadConfig (/workspaces/algorithms-exercises/node_modules/@parcel/transformer-babel/lib/BabelTransformer.js:66:30) at Transformation.loadTransformerConfig (/workspaces/algorithms-exercises/node_modules/@parcel/core/lib/Transformation.js:741:13) at Transformation.loadPipeline (/workspaces/algorithms-exercises/node_modules/@parcel/core/lib/Transformation.js:679:31) at async Transformation.loadNextPipeline (/workspaces/algorithms-exercises/node_modules/@parcel/core/lib/Transformation.js:717:24) at async Transformation.runPipelines (/workspaces/algorithms-exercises/node_modules/@parcel/core/lib/Transformation.js:434:24) at async Transformation.run (/workspaces/algorithms-exercises/node_modules/@parcel/core/lib/Transformation.js:316:19) at async Child.handleRequest (/workspaces/algorithms-exercises/node_modules/@parcel/workers/lib/child.js:255:9) @JackHowa ➜ /workspaces/algorithms-exercises (main ✗) $ npm i npm WARN @babel/helper-define-polyfill-provider@0.2.3 requires a peer of @babel/core@^7.4.0-0 but none is installed. You must install peer dependencies yourself. npm WARN @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.13.12 requires a peer of @babel/core@^7.13.0 but none is installed. You must install peer dependencies yourself. npm WARN @babel/plugin-proposal-class-static-block@7.14.3 requires a peer of @babel/core@^7.12.0 but none is installed. You must install peer dependencies yourself. npm WARN @parcel/babel-preset-env@2.0.0-beta.2 requires a peer of @babel/core@^7.12.0 but none is installed. You must install peer dependencies yourself. npm WARN @parcel/transformer-babel@2.0.0-beta.2 requires a peer of @babel/core@^7.12.0 but none is installed. You must install peer dependencies yourself. npm WARN algorithms-exercises@1.0.0 No repository field. npm WARN algorithms-exercises@1.0.0 No license field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) audited 1455 packages in 6.245s 142 packages are looking for funding run `npm fund` for details
This was referenced Nov 5, 2021
JackHowa
commented
Nov 5, 2021
| .DS_Store | ||
| .cache/ | ||
| public/ | ||
| .parcel-cache |
Contributor
Author
There was a problem hiding this comment.
also updated to gitignore these files on start locally. I used local because codesandbox was having some performance issues for me, possibly due to brave
Owner
|
thank you! |
Contributor
Author
|
Thanks @btholt for your work! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Was getting an error on start:
Noticed a peer dependency needed updating via
npm i