Code Monkey home page Code Monkey logo

karma-lasso's People

Contributors

anfengi avatar dylanpiercey avatar kharish89 avatar msendlakowski avatar pranavjha avatar tws2000 avatar viviangledhill avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

karma-lasso's Issues

Does not work with lasso 3: plugin lasso-require not found

The new lasso 3, released 3 weeks ago, merged lasso-require into lasso (see CHANGELOG). This breaks karma-lasso, which I accidentally found while making PR to ebay-font (eBay/ebay-font#29).

When I run test that uses karma-lasso, I got the error "plugin module not found for lasso-require". Here's detailed error message from the last build of ebay-font:

04 12 2017 16:14:13.796:DEBUG [framework:lasso]: running command: node node_modules/karma-lasso/lib/helpers/lasso-command.js .test/lasso-config.json .test/lasso.json .test/output.json .test/watch.json 
	 Saving optimization output to: ./.test/static
(node:3932) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Error while applying option of "plugin". Cause: Error: Plugin module not found for "lasso-require". Searched from "/home/travis/build/eBay/ebay-font"
    at Object.plugin (/home/travis/build/eBay/ebay-font/node_modules/lasso/dist-compat/config-loader.js:292:43)
    at invokeHandlers (/home/travis/build/eBay/ebay-font/node_modules/property-handlers/lib/index.js:72:29)
    at Object.plugins (/home/travis/build/eBay/ebay-font/node_modules/lasso/dist-compat/config-loader.js:285:21)
    at invokeHandlers (/home/travis/build/eBay/ebay-font/node_modules/property-handlers/lib/index.js:72:29)
    at Object.load (/home/travis/build/eBay/ebay-font/node_modules/lasso/dist-compat/config-loader.js:381:5)
    at create (/home/travis/build/eBay/ebay-font/node_modules/lasso/dist-compat/index.js:89:31)
    at getDefaultLasso (/home/travis/build/eBay/ebay-font/node_modules/lasso/dist-compat/index.js:110:24)
    at Object.<anonymous> (/home/travis/build/eBay/ebay-font/node_modules/lasso/dist-compat/index.js:21:16)
    at next (native)
    at step (/home/travis/build/eBay/ebay-font/node_modules/lasso/dist-compat/index.js:39:191) (config.plugins)
fs.js:642
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^
Error: ENOENT: no such file or directory, open '.test/output.json'
    at Error (native)

...

I tried to remove lasso-require from karma plugin but it didn't work; I still got other error, complaining that .test/output.json is not existed.

Do you mind looking into this issue? Thanks a lot!

Lasso-require version too low

Lasso-require is now on version 3.1.3, which includes changes that are required by the eBay homepage team. However, karma-lasso sets lasso-require's version at ^1, giving us a peer dependency error. Can you use >=1 instead?

cc @patrick-steele-idem

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.