Coder Social home page Coder Social logo

gulp-browser-compat's People

Contributors

arroo avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

spacenate lucasus

gulp-browser-compat's Issues

ReferenceError after the compatibility check

I got the following error after the compatibility check:

/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/foundation-sites/node_modules/gulp-browser-compat/index.js:132
				if (typeof browserConf.fail !== 'undefined' && (browserConf.report === versionRange[0] || browserConf.fail !== versionHigher([versionRange[0], conf[a].fail]))) {
				                                                                                                                                                    ^

ReferenceError: a is not defined
    at closure (/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/foundation-sites/node_modules/gulp-browser-compat/index.js:132:153)
    at Array.reduce (native)
    at closure (/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/foundation-sites/node_modules/gulp-browser-compat/index.js:184:52)
    at Array.reduce (native)
    at closure (/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/foundation-sites/node_modules/gulp-browser-compat/index.js:203:45)
    at Array.reduce (native)
    at compat (/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/foundation-sites/node_modules/gulp-browser-compat/index.js:262:25)
    at parseCompatFiles (/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/foundation-sites/node_modules/gulp-browser-compat/index.js:444:9)
    at Request._callback (/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/foundation-sites/node_modules/gulp-browser-compat/index.js:484:5)
    at Request.self.callback (/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/foundation-sites/node_modules/gulp-browser-compat/node_modules/request/request.js:200:22)

You can see the full log here : https://gist.github.com/ncoden/ea3e555f023e13112b9ff1e01f1765d2

Is this project still maintained ? If not, do you know an equivalent package ?

no such file or directory: additional.json

I have the following error after a fresh install.

➜  foundation-sites git:(chore/browser-compat) ✗ gulp lint:browserCompatibility
[23:34:56] Using gulpfile ~/Documents/Documents/Projects/Programmation/Web/Forks/foundation-sites/gulpfile.js
[23:34:56] Starting 'lint:browserCompatibility'...
[23:34:57] Finished 'lint:browserCompatibility' after 1.39 s
fs.js:549
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: ENOENT: no such file or directory, open 'node_modules/gulp-browser-compat/additional.json'
    at Error (native)
    at Object.fs.openSync (fs.js:549:18)
    at Object.fs.readFileSync (fs.js:397:15)
    at /Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/foundation-sites/node_modules/gulp-browser-compat/index.js:386:34
    at Array.map (native)
    at parseCompatFiles (/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/foundation-sites/node_modules/gulp-browser-compat/index.js:372:16)
    at Request._callback (/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/foundation-sites/node_modules/gulp-browser-compat/index.js:484:5)
    at Request.self.callback (/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/foundation-sites/node_modules/gulp-browser-compat/node_modules/request/request.js:200:22)
    at emitTwo (events.js:87:13)
    at Request.emit (events.js:172:7)

The package directory is:

➜  foundation-sites git:(chore/browser-compat) ✗ la node_modules/gulp-browser-compat
total 2576
-rw-r--r--  1 ncoden  admin   1.3K Jun 22 20:25 LICENCE
-rw-r--r--  1 ncoden  admin   2.0K Jun 22 20:26 README.md
-rw-r--r--  1 ncoden  admin    15B Nov 15 23:35 additional.json.new
-rw-r--r--  1 ncoden  admin    15B Nov 15 23:35 caniuse2.json.new
-rw-r--r--  1 ncoden  admin   1.2M Nov 15 23:35 data.json.new
-rw-r--r--  1 ncoden  admin    14K Nov 15 15:43 index.js
drwxr-xr-x  5 ncoden  admin   170B Nov 15 23:34 node_modules
-rw-r--r--  1 ncoden  admin   1.7K Nov 15 23:34 package.json
-rw-r--r--  1 ncoden  admin   7.4K Jun 22 20:25 rules.js

Distrobution Support

Can this module please be added to NPM? I would like to receive bug fixes and updates.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.