Giter Club home page Giter Club logo

Comments (5)

xz64 avatar xz64 commented on July 20, 2024 1

I pushed changes to the dev branch to resolve the issue. (using cross-env)

from license-webpack-plugin.

xz64 avatar xz64 commented on July 20, 2024

From the screenshot it appears you might be on Windows.

Unit tests don't run properly on Windows. I had tried to make it work but ran into some issue with mock-fs : tschaub/mock-fs#201

Next major release (you can try it out by installing license-webpack-plugin@next) should be able to run on windows but I haven't tested it.

from license-webpack-plugin.

xz64 avatar xz64 commented on July 20, 2024

@johannao76 If you don't mind, can you check out the dev branch and see if the tests work from windows?

from license-webpack-plugin.

johannao76 avatar johannao76 commented on July 20, 2024

I will try to get to it this weekend.

from license-webpack-plugin.

johannao76 avatar johannao76 commented on July 20, 2024

I checked out the dev branch but I am unable to build at all:
image

Looks like the problem is the single quotes, changing to double quotes addresses the issue. There is also a warning during linting:
Warning: The 'no-boolean-literal-compare' rule requires type information.

I fixed this by adding --project tsconfig.json to the tslint command, the following addresses both issues. BTW, the tests now work on Windows, thanks for fixing!

image

from license-webpack-plugin.

Related Issues (20)

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.