Giter Club home page Giter Club logo

Comments (5)

xz64 avatar xz64 commented on June 16, 2024

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.

0xs avatar 0xs commented on June 16, 2024

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.

xz64 avatar xz64 commented on June 16, 2024

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.

0xs avatar 0xs commented on June 16, 2024

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.

xz64 avatar xz64 commented on June 16, 2024

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)

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.