We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have got an error If i remove yarn.lock, reinstall dependencies and run yarn build:
lit-loader-example git:(master) ✗ rm -rf yarn.lock node_modules && yarn && yarn build yarn run v1.17.3 $ webpack Hash: 3e62e3a7d9b5ae6f1900 Version: webpack 4.16.1 Time: 331ms Built at: 07/24/2019 12:36:13 PM Asset Size Chunks Chunk Names bundle.js 136 KiB 0 [emitted] main index.html 334 bytes [emitted] [0] ./src/index.js 66 bytes {0} [built] [1] ./src/app.js 379 bytes {0} [built] + 18 hidden modules ERROR in ./src/components/CounterElement.lit Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: Cannot find module 'babel-core' Require stack: - /home/user/Projects/lit-loader-example/node_modules/babel-loader/lib/index.js - /home/user/Projects/lit-loader-example/node_modules/loader-runner/lib/loadLoader.js - /home/user/Projects/lit-loader-example/node_modules/loader-runner/lib/LoaderRunner.js - /home/user/Projects/lit-loader-example/node_modules/webpack/lib/NormalModule.js - /home/user/Projects/lit-loader-example/node_modules/webpack/lib/NormalModuleFactory.js - /home/user/Projects/lit-loader-example/node_modules/webpack/lib/Compiler.js - /home/user/Projects/lit-loader-example/node_modules/webpack/lib/webpack.js - /home/user/Projects/lit-loader-example/node_modules/webpack-cli/bin/convert-argv.js - /home/user/Projects/lit-loader-example/node_modules/webpack-cli/bin/cli.js - /home/user/Projects/lit-loader-example/node_modules/webpack/bin/webpack.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:625:15) at Function.Module._load (internal/modules/cjs/loader.js:527:27) at Module.require (internal/modules/cjs/loader.js:683:19) at require (/home/user/Projects/lit-loader-example/node_modules/v8-compile-cache/v8-compile-cache.js:161:20) at Object.<anonymous> (/home/user/Projects/lit-loader-example/node_modules/babel-loader/lib/index.js:3:13) at Module._compile (/home/user/Projects/lit-loader-example/node_modules/v8-compile-cache/v8-compile-cache.js:192:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10) at Module.load (internal/modules/cjs/loader.js:643:32) at Function.Module._load (internal/modules/cjs/loader.js:556:12) at Module.require (internal/modules/cjs/loader.js:683:19) at require (/home/user/Projects/lit-loader-example/node_modules/v8-compile-cache/v8-compile-cache.js:161:20) at loadLoader (/home/user/Projects/lit-loader-example/node_modules/loader-runner/lib/loadLoader.js:18:17) at iteratePitchingLoaders (/home/user/Projects/lit-loader-example/node_modules/loader-runner/lib/LoaderRunner.js:169:2) at runLoaders (/home/user/Projects/lit-loader-example/node_modules/loader-runner/lib/LoaderRunner.js:365:2) at NormalModule.doBuild (/home/user/Projects/lit-loader-example/node_modules/webpack/lib/NormalModule.js:263:3) at NormalModule.build (/home/user/Projects/lit-loader-example/node_modules/webpack/lib/NormalModule.js:410:15) at Compilation.buildModule (/home/user/Projects/lit-loader-example/node_modules/webpack/lib/Compilation.js:616:10) at /home/user/Projects/lit-loader-example/node_modules/webpack/lib/Compilation.js:857:14 at /home/user/Projects/lit-loader-example/node_modules/webpack/lib/NormalModuleFactory.js:405:6 at /home/user/Projects/lit-loader-example/node_modules/webpack/lib/NormalModuleFactory.js:155:13 at AsyncSeriesWaterfallHook.eval [as callAsync] (eval at create (/home/user/Projects/lit-loader-example/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1) at /home/user/Projects/lit-loader-example/node_modules/webpack/lib/NormalModuleFactory.js:138:29 at /home/user/Projects/lit-loader-example/node_modules/webpack/lib/NormalModuleFactory.js:342:9 at processTicksAndRejections (internal/process/task_queues.js:75:11) @ ./src/app.js 5:0-41 @ ./src/index.js Child html-webpack-plugin for "index.html": 1 asset [0] ./node_modules/html-webpack-plugin/lib/loader.js!./src/index.html 538 bytes {0} [built] [2] (webpack)/buildin/global.js 489 bytes {0} [built] [3] (webpack)/buildin/module.js 497 bytes {0} [built] + 1 hidden module error Command failed with exit code 2. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have got an error If i remove yarn.lock, reinstall dependencies and run yarn build:
The text was updated successfully, but these errors were encountered: