Comments (5)
I pushed changes to the dev branch to resolve the issue. (using cross-env)
from license-webpack-plugin.
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.
@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.
I will try to get to it this weekend.
from license-webpack-plugin.
I checked out the dev branch but I am unable to build at all:
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!
from license-webpack-plugin.
Related Issues (20)
- Does not add a banner on webpack 5 HOT 2
- when module.resource startsWith `delegated` and throw error HOT 1
- incompatible with webpack 5.47.0 HOT 3
- missing webpack-sources in dependencies HOT 3
- Add loader to load the generated licenses report HOT 1
- Improve pathExists and isDirectory performance once graceful-fs supports it HOT 1
- Support inclusion of extra licenses HOT 1
- plugin will throw error with virtual file
- Type 'LicenseWebpackPlugin' is not assignable to type 'WebpackPluginInstance'.
- Licenses of ES modules in concatenated modules are not emitted HOT 1
- [Webpack 5] Banner rendered, but license file not created
- Version 4.0.1 doesn't respect the excludedPackageTest option HOT 4
- Version 4.0.1 fails when using dynamic imports HOT 2
- make it possible to define lines in `licenseFileOverrides` HOT 2
- turn off warnings for specific packets HOT 1
- License whitelist HOT 1
- ENOENT: No such file or directory, scandir (only on windows) HOT 5
- Suggestion: adjustment for license filename match
- Packages with similar names cause `Multiple assets emit different content to the same filename` error. HOT 1
- Could not find any license file for vega-lite HOT 1
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 license-webpack-plugin.