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

webpack-cli Failed to load config file #69

Open
cameronsb opened this issue Apr 26, 2022 · 0 comments
Open

webpack-cli Failed to load config file #69

cameronsb opened this issue Apr 26, 2022 · 0 comments

Comments

@cameronsb
Copy link

cameronsb commented Apr 26, 2022

Node version: 14.19.1

Running on Ubuntu 20.04 in WSL2 (Windows 10). I don't think it's related to the OS setup, but you never know.

I've tried this with NPM as well as Yarn. In both cases, it seems that the Webpack CLI has an issue with how the Config files are set up.

This project looks awesome, and I'm bummed I was unable to get the webpack build working!

yarn start
yarn run v1.22.18
$ TAILWIND_MODE=watch webpack serve --mode=development --config webpack.dev.js
[webpack-cli] Failed to load '/home/cam/themekit-webpack/webpack.dev.js' config
[webpack-cli] Invalid options object. Mini CSS Extract Plugin has been initialized using an options object that does not match the API schema.
 - options.filename: A relative path is expected. However, the provided value "/assets/bundle.[name].css" is an absolute path!
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant