You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Module build failed (from ./node_modules/thread-loader/dist/cjs.js):
Thread Loader (Worker 1)
[BABEL] /Users/myuser/Documents/github/mylib/packages/index.ts: Package exports for '/Users/myuser/Documents/github/mylib/node_modules/@babel/helper-compilation-targets' do not define a '.' subpath (While processing: "/Users/myuser/Documents/github/mylib/node_modules/@vue/cli-plugin-babel/preset.js")
at resolveExports (internal/modules/cjs/loader.js:419:17)
at Function.Module._findPath (internal/modules/cjs/loader.js:492:20)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:787:27)
at Function.Module._load (internal/modules/cjs/loader.js:693:27)
at Module.require (internal/modules/cjs/loader.js:864:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/Users/myuser/Documents/github/mylib/node_modules/@babel/preset-env/lib/debug.js:8:33)
at Module._compile (internal/modules/cjs/loader.js:971:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1011:10)
at Module.load (internal/modules/cjs/loader.js:822:32)
Version
4.1.2
Environment info
Steps to reproduce
What is expected?
DONE Compiled successfully in 4881ms 12:22:03
File Size Gzipped
dist/mylib.umd.min.js 31.88 KiB 11.44 KiB
dist/mylib.umd.js 117.09 KiB 27.96 KiB
dist/mylib.common.js 116.62 KiB 27.75 KiB
What is actually happening?
ERROR Failed to compile with 1 errors 下午12:13:16
error in ./packages/index.ts
Module build failed (from ./node_modules/thread-loader/dist/cjs.js):
Thread Loader (Worker 1)
[BABEL] /Users/myuser/Documents/github/mylib/packages/index.ts: Package exports for '/Users/myuser/Documents/github/mylib/node_modules/@babel/helper-compilation-targets' do not define a '.' subpath (While processing: "/Users/myuser/Documents/github/mylib/node_modules/@vue/cli-plugin-babel/preset.js")
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js 2:0-24 3:15-18 4:0-22 4:0-22
when i use node version 12.13.0 is ok! but 13.0.1 is error
https://stackoverflow.com/questions/59706130/error-package-exports-for-path-to-project-folder-node-modules-babel-helper-c
The text was updated successfully, but these errors were encountered: