question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

mix-entry.js missing on less compile

See original GitHub issue
  • Laravel Mix Version: 0.7.4
  • Node Version (node -v): v7.5.0
  • NPM Version (npm -v): 4.2.0
  • OS: macOS Sierra 10.12.3

Description:

Everytime I try to compile my less files this error comes up. I tried to compile sass files on another project and there it is working, seems to be an issue with less files.

Setup is fresh and without any changes to the webpack.mix.js besides compiling less instead of sass.

 ERROR  Failed to compile with 1 errors

 error  in ./mix-entry.js

Module build failed: Error: ENOENT: no such file or directory, open '/Users/Brian/Sites/project/mix-entry.js'

 @ multi ./mix-entry.js ./resources/assets/less/app.less

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
JeffreyWaycommented, Feb 11, 2017

This is fixed in #366.

0reactions
Turbotailzcommented, Feb 11, 2017

Also getting this issue, all I’m using is SASS:

const { mix } = require('laravel-mix');

mix.sass('resources/assets/sass/app.scss', 'public/css');

Getting this error:

ERROR  Failed to compile with 1 errors

error  in ./mix-entry.js

Module build failed: Error: ENOENT: no such file or directory, open 'E:\Laravel\helpr\mix-entry.js' at Error (native)

            Asset       Size  Chunks             Chunk Names
           mix.js     2.9 kB       0  [emitted]  mix
     /css/app.css  823 bytes       0  [emitted]  mix
mix-manifest.json   58 bytes          [emitted]

It seems to work fine the first couple of times after running npm run watch but then it just keeps giving this error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

mix-entry.js missing on less compile · Issue #359 - GitHub
Everytime I try to compile my less files this error comes up. I tried to compile sass files on another project and there...
Read more >
Less loop missing ")" when compiling - css - Stack Overflow
So it seems that I found the issue. It seems that the problem is with less itself regarding the use of variables inside...
Read more >
Command Line Usage - Less CSS
Less runs on both the server-side (with Node.js and Rhino) or client-side (modern browsers only). ... Compile .less files to .css using the...
Read more >
less-watch-compiler - npm
A command that watches folders(and subfolders) for file changes and automatically compile the less css files into css.
Read more >
Compile .less files into .css after every update - Ask Ubuntu
Simply put, the -w argument doesn't exist. $ lessc --help usage: lessc [option option=parameter ...] <source> [destination] If source is set to `-'...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found