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

Css doesn't get compiled from powershell #3161

Closed
mtsunu opened this issue Nov 13, 2021 · 3 comments
Closed

Css doesn't get compiled from powershell #3161

mtsunu opened this issue Nov 13, 2021 · 3 comments

Comments

@mtsunu
Copy link

mtsunu commented Nov 13, 2021

  • Laravel Mix Version: 6.0.39 (npm list --depth=0)
  • Node Version (node -v): v14.16.1
  • NPM Version (npm -v): 6.14.12
  • OS: Windows 10

Description:

On a fresh laravel breeze app.
When running npm run prod or npm run dev from powershell, the css doesn't get compiled. Only js files were compiled.
But when running it via windows command prompt the build run successfully.

Here's my webpack.mix.js
image

Steps To Reproduce:

  1. install laravel + breeze
  2. run npm run prod or npm run dev from powershell
@mtsunu
Copy link
Author

mtsunu commented Nov 20, 2021

It turns out this is because of symlink. Closing.

@mtsunu mtsunu closed this as completed Nov 20, 2021
@thecrypticace
Copy link
Collaborator

Where was the symlink in the path? I'm curious if it's something we can detect and possibly work around or throw an error on.

@mtsunu
Copy link
Author

mtsunu commented Nov 20, 2021

The link is in c:\Users\<username>\projects
It points to real path d:\projects

When opening powershell i usually cd to the projects folder directly (from user home dir).

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

2 participants