This repository was archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 408
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Package breaks when depending on @babel/core 7.12.10 #2620
Copy link
Copy link
Open
Description
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
(Checklist is mostly not applicable to this issue.)
Description
CI fails and package stops working IRL when upgrading the @babel/core dependency to 7.12.10 (the latest published version).
Also filed as: babel/babel#12715
Steps to Reproduce
- Locally in this repository, run
npm install @babel/core@latest - Try to run the tests
OR
- Install
githubvia a git URL or tarball URL to the Atom repo or to one's.atom/packagesfolder
i. Example workflows:apm install atom/githubORnpm install atom/githubORnpm install https://github.com/atom/github/tarball/v0.36.7 - Try to use the package
Expected behavior:
Tests pass, package can be loaded in Atom
Actual behavior:
Error when trying to load the package:
Error: Cannot find module './assert-messages-plugin.js'
Full require stack (click to expand):
Error: Cannot find module './assert-messages-plugin.js'
Require stack:
- /home/runner/work/github/github/node_modules/@babel/core/lib/config/files/plugins.js
- /home/runner/work/github/github/node_modules/@babel/core/lib/config/files/index.js
- /home/runner/work/github/github/node_modules/@babel/core/lib/index.js
- /home/runner/work/github/github/node_modules/@atom/babel7-transpiler/lib/index.js
- /home/runner/work/_temp/atom/usr/share/atom-nightly/resources/app.asar/src/package-transpilation-registry.js
- /home/runner/work/_temp/atom/usr/share/atom-nightly/resources/app.asar/src/compile-cache.js
- /home/runner/work/_temp/atom/usr/share/atom-nightly/resources/app.asar/static/index.html
at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
at Module._resolveFilename (/home/runner/work/_temp/atom/usr/share/atom-nightly/resources/electron.asar/common/reset-search-paths.js:41:16)
at Function.Module._resolveFilename (/home/runner/work/_temp/atom/usr/share/atom-nightly/resources/app.asar/src/module-cache.js:336:28)
at require.resolve (/home/runner/work/_temp/atom/usr/share/atom-nightly/resources/app.asar/src/native-compile-cache.js:70:23)
at resolveStandardizedName (/home/runner/work/github/github/node_modules/@babel/core/lib/config/files/plugins.js:100:7)
at resolvePlugin (/home/runner/work/github/github/node_modules/@babel/core/lib/config/files/plugins.js:44:10)
at loadPlugin (/home/runner/work/github/github/node_modules/@babel/core/lib/config/files/plugins.js:52:20)
at createDescriptor (/home/runner/work/github/github/node_modules/@babel/core/lib/config/config-descriptors.js:154:9)
at /home/runner/work/github/github/node_modules/@babel/core/lib/config/config-descriptors.js:109:50
at Array.map (<anonymous>)
at createDescriptors (/home/runner/work/github/github/node_modules/@babel/core/lib/config/config-descriptors.js:109:29)
at createPluginDescriptors (/home/runner/work/github/github/node_modules/@babel/core/lib/config/config-descriptors.js:105:10)
at plugins (/home/runner/work/github/github/node_modules/@babel/core/lib/config/config-descriptors.js:40:19)
at mergeChainOpts (/home/runner/work/github/github/node_modules/@babel/core/lib/config/config-chain.js:415:26)
at /home/runner/work/github/github/node_modules/@babel/core/lib/config/config-chain.js:374:7
at Generator.next (<anonymous>)
at loadFileChain (/home/runner/work/github/github/node_modules/@babel/core/lib/config/config-chain.js:228:24)
at loadFileChain.next (<anonymous>)
at buildRootChain (/home/runner/work/github/github/node_modules/@babel/core/lib/config/config-chain.js:135:29)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig (/home/runner/work/github/github/node_modules/@babel/core/lib/config/partial.js:101:62)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig (/home/runner/work/github/github/node_modules/@babel/core/lib/config/full.js:57:46)
at loadFullConfig.next (<anonymous>)
at Object.transform (/home/runner/work/github/github/node_modules/@babel/core/lib/transform.js:25:45)
at transform.next (<anonymous>)
at evaluateSync (/home/runner/work/github/github/node_modules/gensync/index.js:251:28)
at Object.sync (/home/runner/work/github/github/node_modules/gensync/index.js:89:14)
at /home/runner/work/github/github/node_modules/@atom/babel7-transpiler/lib/index.js:54:28
at withBabelEnv (/home/runner/work/github/github/node_modules/@atom/babel7-transpiler/lib/index.js:18:15)
Reproduces how often:
100%
Versions
@babel/core 7.12.10
Additional Information
Also filed as an issue at the babel repo: babel/babel#12715
nicolo-ribaudo
Metadata
Metadata
Assignees
Labels
No labels