-
-
Notifications
You must be signed in to change notification settings - Fork 384
Cannot read property 'split' of undefined #156
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
Comments
@paulius005 can you create minimum reproducible test repo? |
@paulius005 you missing |
@evilebottnawi That are really bad news... I've got the same exception. In my project we're loading css and scss files with the This means (with extract-text-webpack-plugin deprecation in mind) that there will be no future-safe solution for projects like ours which differs from default css-setup with If the |
@code-chris this setup worked for me:
|
@code-chris |
I was having the same issue, but ive found the solution. Before notice CleanCss Loader was between MiniCss, and css-loader, and this was causing the bug. After |
I had the same issue today, after long research, I found that you will get the same error if |
Somebody can create minimum reproducible test repo? |
You can just create a vue cli project and in vue.config.js add this
And you will get the issue |
bump, experiencing this issue also when using |
Me too, with |
This comment has been minimized.
This comment has been minimized.
I'm not sure why @KirillYoYo's comment was marked as spam, but downgrading the |
@arcanis Can you create reproducible test repo and open new issue? |
@arcanis Do you use |
Dunno if it matters in this case but as an additional input I got the same error after doing a npm install css-loader. This downloaded the version "css-loader": "^4.3.0" and made this error to start appearing. The way how I fixed is just reverting css-loder to it's previous version (I believe installed by node_modules/@vue/cli-service as a package dependency?), that in my case is "version": "1.0.1". In my case I'm using vue-cli services 3.3.1 I however understand that other people might not be able to revert their dependencies or use an old version of css-loader. |
Reverting back to the older version of
|
I seem to be getting
Cannot read property 'split' of undefined
on ubuntu 14.04 on node 8Here is the config:
Here is the output:
Do you see anything wrong with the config?
Between not being able to use https://github.com/webpack-contrib/extract-text-webpack-plugin and this error, it seems that upgrading to webpack 4 is not happening if one wants to take out their css into separate files
The text was updated successfully, but these errors were encountered: