atom won't compile - code code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
by maschelsea from LinuxQuestions.org on (#5JHYD)
The title of this post pretty much says it all. I have tried five times to install this package tonight. www.slackbuilds.com said that it might fail the first time, and if so, to try it again. I have tried five times tonight. I think that's enough...
Code:apm 2.5.0
npm 6.14.5
node 10.20.1 x64
atom unknown
python 2.7.17
git 2.17.6
Installing modules a
Wrote Dependencies Fingerprint: /tmp/SBo/atom-1.50.0/node_modules/.dependencies-fingerprint 7ec0f84fd3d56aa5b0f01048a39d0905ae20be58
Copying assets to /tmp/SBo/atom-1.50.0/out/app
Transpiling packages with custom transpiler configurations in /tmp/SBo/atom-1.50.0/out/app
transpiling for package github
Installing modules a
internal/modules/cjs/loader.js:430
throw e;
^
[Error [ERR_PACKAGE_PATH_NOT_EXPORTED] [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/helper-compilation-targets/package.json
at throwExportsNotFound (internal/modules/esm/resolve.js:285:9)
at packageExportsResolve (internal/modules/esm/resolve.js:508:3)
at resolveExports (internal/modules/cjs/loader.js:424:36)
at Function.Module._findPath (internal/modules/cjs/loader.js:464:31)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:802:27)
at Function.Module._load (internal/modules/cjs/loader.js:667:27)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/preset-env/lib/debug.js:8:33)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (/tmp/SBo/atom-1.50.0/script/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/preset-env/lib/index.js:11:14)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (/tmp/SBo/atom-1.50.0/script/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at requireModule (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/config/files/plugins.js:165:12)
at loadPreset (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/config/files/plugins.js:83:17)
at createDescriptor (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/config/config-descriptors.js:154:9)
at /tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/config/config-descriptors.js:109:50
at Array.map (<anonymous>:null:null)
at createDescriptors (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/config/config-descriptors.js:109:29)
at createPresetDescriptors (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/config/config-descriptors.js:101:10)
at presets (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/config/config-descriptors.js:47:19)
at mergeChainOpts (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/config/config-chain.js:320:26)
at /tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/config/config-chain.js:283:7
at buildRootChain (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/config/config-chain.js:120:22)
at loadPrivatePartialConfig (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/config/partial.js:85:55)
at loadFullConfig (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/config/full.js:43:39)
at Object.transformSync (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/transform.js:41:38)
at /tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@atom/babel7-transpiler/lib/index.js:54:28
at withBabelEnv (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@atom/babel7-transpiler/lib/index.js:18:15)
at Object.transpile (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@atom/babel7-transpiler/lib/index.js:53:12)
at PackageTranspilationRegistry.transpileWithPackageTranspiler (/tmp/SBo/atom-1.50.0/src/package-transpilation-registry.js:158:33)
at Object.compile (/tmp/SBo/atom-1.50.0/src/package-transpilation-registry.js:59:23)
at compileFileAtPath (/tmp/SBo/atom-1.50.0/src/compile-cache.js:109:31)
at Object.exports.addPathToCache (/tmp/SBo/atom-1.50.0/src/compile-cache.js:82:14)
at transpilePath (/tmp/SBo/atom-1.50.0/script/lib/transpile-packages-with-custom-transpiler-paths.js:86:18)
at Array.forEach (<anonymous>:null:null)
at module.exports (/tmp/SBo/atom-1.50.0/script/lib/transpile-packages-with-custom-transpiler-paths.js:64:24)
at Object.<anonymous> (/tmp/SBo/atom-1.50.0/script/build:75:3)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47
] {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}
Code:apm 2.5.0
npm 6.14.5
node 10.20.1 x64
atom unknown
python 2.7.17
git 2.17.6
Installing modules a
Wrote Dependencies Fingerprint: /tmp/SBo/atom-1.50.0/node_modules/.dependencies-fingerprint 7ec0f84fd3d56aa5b0f01048a39d0905ae20be58
Copying assets to /tmp/SBo/atom-1.50.0/out/app
Transpiling packages with custom transpiler configurations in /tmp/SBo/atom-1.50.0/out/app
transpiling for package github
Installing modules a
internal/modules/cjs/loader.js:430
throw e;
^
[Error [ERR_PACKAGE_PATH_NOT_EXPORTED] [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/helper-compilation-targets/package.json
at throwExportsNotFound (internal/modules/esm/resolve.js:285:9)
at packageExportsResolve (internal/modules/esm/resolve.js:508:3)
at resolveExports (internal/modules/cjs/loader.js:424:36)
at Function.Module._findPath (internal/modules/cjs/loader.js:464:31)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:802:27)
at Function.Module._load (internal/modules/cjs/loader.js:667:27)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/preset-env/lib/debug.js:8:33)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (/tmp/SBo/atom-1.50.0/script/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/preset-env/lib/index.js:11:14)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (/tmp/SBo/atom-1.50.0/script/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at requireModule (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/config/files/plugins.js:165:12)
at loadPreset (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/config/files/plugins.js:83:17)
at createDescriptor (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/config/config-descriptors.js:154:9)
at /tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/config/config-descriptors.js:109:50
at Array.map (<anonymous>:null:null)
at createDescriptors (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/config/config-descriptors.js:109:29)
at createPresetDescriptors (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/config/config-descriptors.js:101:10)
at presets (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/config/config-descriptors.js:47:19)
at mergeChainOpts (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/config/config-chain.js:320:26)
at /tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/config/config-chain.js:283:7
at buildRootChain (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/config/config-chain.js:120:22)
at loadPrivatePartialConfig (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/config/partial.js:85:55)
at loadFullConfig (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/config/full.js:43:39)
at Object.transformSync (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@babel/core/lib/transform.js:41:38)
at /tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@atom/babel7-transpiler/lib/index.js:54:28
at withBabelEnv (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@atom/babel7-transpiler/lib/index.js:18:15)
at Object.transpile (/tmp/SBo/atom-1.50.0/out/app/node_modules/github/node_modules/@atom/babel7-transpiler/lib/index.js:53:12)
at PackageTranspilationRegistry.transpileWithPackageTranspiler (/tmp/SBo/atom-1.50.0/src/package-transpilation-registry.js:158:33)
at Object.compile (/tmp/SBo/atom-1.50.0/src/package-transpilation-registry.js:59:23)
at compileFileAtPath (/tmp/SBo/atom-1.50.0/src/compile-cache.js:109:31)
at Object.exports.addPathToCache (/tmp/SBo/atom-1.50.0/src/compile-cache.js:82:14)
at transpilePath (/tmp/SBo/atom-1.50.0/script/lib/transpile-packages-with-custom-transpiler-paths.js:86:18)
at Array.forEach (<anonymous>:null:null)
at module.exports (/tmp/SBo/atom-1.50.0/script/lib/transpile-packages-with-custom-transpiler-paths.js:64:24)
at Object.<anonymous> (/tmp/SBo/atom-1.50.0/script/build:75:3)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47
] {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}