Comments (7)
I also get the same error after fresh $ npm install -g less-watch-compiler
Line 15 of filesearch.js
let [ , filename ] = m;
Syntax error: Unexpected Token [
from deadsimple-less-watch-compiler.
/lib/filesearch.js commit version 1.5.1 is working, after this the code has the syntax error highlighted above
from deadsimple-less-watch-compiler.
@codedebug @brandon-morgan Thanks. which version of node and npm do you have installed?
from deadsimple-less-watch-compiler.
Using Node v4.4.7 and NPM v2.15.8 at the moment
from deadsimple-less-watch-compiler.
@codedebug Ah, the latest would work only with node v6+ since I'm using some ES2015 in it? Is it possible to upgrade or use nvm
?
from deadsimple-less-watch-compiler.
I'll spend some time to setup babel to make this node4 compatible. In the meantime, you could upgrade to node v6 and get this working immediately.
from deadsimple-less-watch-compiler.
1.6.13 fixes this issue (npm i -g [email protected]
)
from deadsimple-less-watch-compiler.
Related Issues (20)
- A small inaccuracy in the sample configuration file: less-watch-compiler.config.json HOT 1
- Can't use `rgba()` to modify a var HOT 4
- Node.js v14 Warning: Accessing non-existent property ___ of module exports inside circular dependency HOT 2
- Feature: Option "recursive" HOT 4
- Feature: --run-initially flag to compile once and then watch HOT 2
- .less extension in @import is not optional in watch mode under some file structures HOT 1
- less-watch-compiler.config.json not being loaded HOT 3
- --config switch no longer works HOT 2
- --run-once parameter is not working anymore HOT 2
- Dependency Dashboard
- Current version of less breaks media query aspect ratios HOT 8
- documentation on npm addition HOT 1
- Error if less file has space in name HOT 1
- Exlcude node_modules? HOT 1
- Unable to detect new directories
- Can't run "less-watch-compiler" command anymore HOT 2
- Feature: Option to include warning message in compiled CSS file
- less compilation with css-modules
- MaxListenersExceededWarning
- Remove unused dependency - opencollective ? HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deadsimple-less-watch-compiler.