If I install manually css-loader & style-loader I get other errors that seem to be from post-css and vue-loader: CSS Loader has been initialized using an options object that does not match the API schema. Try several optimization methods (usually slower, sometimes better. Also uses transparency to shrink the file further. Stores only the changed portion of each image. The optimization level determines how much optimization is done higher levels take longer, but may have better results. You do not need more than one tool that resolves import rules. Select an optimization level between 1 and 3. I thought those dependencies would be installed through laravel-mix? First of all, if you are using both postcss-loader with the postcss-import plugin, AND css-loader, turn off / delete the postcss-import plugin.
Style-loader is not installed it seems, and is listed under laravel-mix, but it is not installed. This shows the actually installed versions.Įdit: if I uninstall those three packages, I get "Can't resolve 'style-loader'" and css-loader in addition to errors of not finding the missing packages. cjs, change the requiring code to use import(), or remove 'type': 'module' from PATHTOPROJECTDIRECTORYnodemodulesgulp-imageminpackage.json. There are 409 other projects in the npm registry using image-webpack-loader. Start using image-webpack-loader in your project by running npm i image-webpack-loader. I include my full dependencies list, generated with npm ls -depth=1, but I removed the direct children (except for laravel-mix and a few others). Latest version: 8.1.0, last published: 6 months ago.
Because it should be added like how can I make dependencies work if they are using an older babel version? Summernote uses "^7.9.5", and it has the dependency: "babel-plugin-module-resolver" which causes an error for me.
warning gulp > vinyl-fs > glob-stream > minimatch2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue warning gulp-buffer > through2 > xtend > object-keys0.4.0: warning gulp > vinyl-fs > glob-watcher > gaze > globule > minimatch0.2. 1.vue error:cannot find module imagemin -gifsicle packgae.json imagemin -gifsicle, error:cannot find module gifsicle node. "cannot find module 'babel-plugin-transform-object-rest-spread'". yarn yarn install v0.15.1 info No lockfile found.