Skip to content
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

Most of the @gui/* packages cannot be built #80

Open
jswhisperer opened this issue Oct 5, 2020 · 0 comments
Open

Most of the @gui/* packages cannot be built #80

jswhisperer opened this issue Oct 5, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@jswhisperer
Copy link

Describe the bug
Currently you can't build most of the individual packages with the provided README instructions or npm scripts. Some seem to be missing deps.

packages/@guijs/frontend-core on  master [✘!?] is 📦 v0.1.22 via ⬢ v14.0.0 
❯ yarn build
yarn run v1.22.4
warning package.json: No license field
$ vue-cli-service build

⠦  Building for production...Browserslist: caniuse-lite is outdated. Please run the following command: `yarn upgrade`
⠧  Building for production...

 ERROR  Failed to compile with 1 errors                     3:09:58 PM

 error  in ./src/main.js

Module build failed (from /home/gnb/Sites/guijs/node_modules/thread-loader/dist/cjs.js):
Thread Loader (Worker 0)
[BABEL] /home/gnb/Sites/guijs/packages/@guijs/frontend-core/src/main.js: Cannot find module '@babel/compat-data/corejs3-shipped-proposals'
Require stack:
- /home/gnb/Sites/guijs/node_modules/@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js
- /home/gnb/Sites/guijs/node_modules/@babel/preset-env/lib/index.js
- /home/gnb/Sites/guijs/node_modules/@vue/babel-preset-app/index.js
- /home/gnb/Sites/guijs/node_modules/@vue/cli-plugin-babel/preset.js
- /home/gnb/Sites/guijs/node_modules/@babel/core/lib/config/files/plugins.js
- /home/gnb/Sites/guijs/node_modules/@babel/core/lib/config/files/index.js
- /home/gnb/Sites/guijs/node_modules/@babel/core/lib/index.js
- /home/gnb/Sites/guijs/node_modules/babel-loader/lib/index.js
- /home/gnb/Sites/guijs/node_modules/loader-runner/lib/loadLoader.js
- /home/gnb/Sites/guijs/node_modules/loader-runner/lib/LoaderRunner.js
- /home/gnb/Sites/guijs/node_modules/thread-loader/dist/worker.js (While processing: "/home/gnb/Sites/guijs/node_modules/@vue/cli-plugin-babel/preset.js")
    at PoolWorker.fromErrorObj (/home/gnb/Sites/guijs/node_modules/thread-loader/dist/WorkerPool.js:262:12)
    at /home/gnb/Sites/guijs/node_modules/thread-loader/dist/WorkerPool.js:204:29
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1014:15)
    at Function.Module._load (internal/modules/cjs/loader.js:884:27)
    at Module.require (internal/modules/cjs/loader.js:1074:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/home/gnb/Sites/guijs/node_modules/@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js:10:55)
    at Module._compile (internal/modules/cjs/loader.js:1185:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10)
    at Module.load (internal/modules/cjs/loader.js:1034:32)
    at Function.Module._load (internal/modules/cjs/loader.js:923:14)
    at Module.require (internal/modules/cjs/loader.js:1074:19)

 @ multi ./src/main.js

 ERROR  Build failed with errors.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

To Reproduce
yarn build

@jswhisperer jswhisperer added the bug Something isn't working label Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant