Comments (5)
Do you have a sample repository I can debug this with? If not I can create a sample project but it may take more time.
from license-webpack-plugin.
I set up a minimal example project here. It is a frankenstein mashup of the Angular 2 quickstart example project and an actual stripped down webpack production configuration I use in a real project.
from license-webpack-plugin.
I was getting this error on Windows 10: EntryModuleNotFoundError: Entry module not found: Error: Can't resolve 'ts' in 'C:\Users\Me\git\license-webpack-plugin-debug'
It appears to be a problem with your module resolution in webpack, as I have turned off the LicenseWebpackPlugin in your sample repo and still got the error.
In NodeJS, if a module cannot be resolved, it will keep searching the parent directories' node_modules
folder (if it exists) until it reaches the file system root.
Let me know if I am missing something here.
from license-webpack-plugin.
Sorry about that. It seems that ts-loader
was missing from package.json
and it's been included now. I tested it this time by removing the node_modules directory so it should work if LicenseWebpackPlugin is commented out and otherwise fail the right way.
from license-webpack-plugin.
Try version 0.2.1 and let me know if it works. Looks like I was not ignoring files coming outside of node_modules.
from license-webpack-plugin.
Related Issues (20)
- 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
- Support UNLICENSE file
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.