yuguo / gulp-import-css

Import several css files into a single file
MIT License
15 stars 6 forks source link

SyntaxError: Use of const in strict mode. #2

Closed aleemb closed 10 years ago

aleemb commented 10 years ago

Encountered this as soon as I tried to install and execute:

/private/var/www/www.dawn.com/node_modules/gulp-import-css/index.js:10
const PLUGIN_NAME = 'gulp-import-css';
^^^^^
SyntaxError: Use of const in strict mode.
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (gulpfile.js:16:17)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
ts commented 10 years ago

Same here. The source in the repo looks to have been fixed, but it must not have made it to npm.

ghost commented 10 years ago

+1

lucacri commented 10 years ago

+1

sahina commented 10 years ago

+1

ghost commented 10 years ago

+1

jamesgroat commented 10 years ago

+1

tbredin commented 10 years ago

+1

madebyherzblut commented 10 years ago

:+1:

yuguo commented 10 years ago

Yes, I forgot to publish it to npm, really sorry about that! Not it should be OK, thank you guys!