-
Notifications
You must be signed in to change notification settings - Fork 809
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
Windows Git Bash: mix.sass() Failed to compile: dependency not found #974
Windows Git Bash: mix.sass() Failed to compile: dependency not found #974
Comments
Update
Full
|
Can you break this down to a small reproducible setup that I can try out? |
Welp, issue cleared up while hunting down conflicting package / trying to create a reproducible setup. I think it may have been related to an old, unused Anyway, I deleted that and a few other unused packages, then nuked node_modules and reinstalled. Sorry to bother you-- thanks for the continued great tools & quick support as always. you're the best! |
I'm still seeing this. Laravel Mix Version: 1.2.0
|
I am seeing the same issue. Tried the usual wipe of node_modules and a fresh npm install (as well as several other things) but I can't figure it out. From what I can tell so far, mix.copy() and mix.scripts() are working but mix.sass() and mix.js() are throwing the same error as @mediabeastnz Node Version: 6.11.0 |
@mediabeastnz if you are still experiencing issues I finally got this to work. It seems like the package-lock.json file was giving me issues: The steps I took to finally fix it were: |
^ Ah yes, rm'ing package-lock and forcing npm cache clean is something I had to do as well. |
Description:
I'm seeing the following error when calling mix.sass() from Git Bash Shell on Windows after upgrading from Laravel Mix 0.12.1 -> 1.1.0
Webpack CMD
node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=development webpack --config=node_modules/laravel-mix/setup/webpack.config.js --progress --hide-modules
Error Output
webpack.mix.js
pwd
in the shell is something more unix-like:/e/Code/project/
E:\Code\project\
mix.sass(path.resolve('resources/assets/sass/home.scss'), 'dist/home/index.css')
mix.sass
calls,mix.js
calls resolve fine (maybe a sass-loader issue?)dependency was not found
ordependencies were not found
depending on the number of times mix.sass() is called (included for posterity)The text was updated successfully, but these errors were encountered: