Giter Club home page Giter Club logo

Comments (6)

xz64 avatar xz64 commented on July 20, 2024

I am getting this error when I try to build the repository you linked to:

ERROR in ./src/main.ts
Module not found: Error: Can't resolve 'meteor-client' in '/tmp/angularcli-meteor/src'
 @ ./src/main.ts 1:0-23

It looks like meteor-client is not found in node_modules. Can you explain how the import to meteor-client gets resolved?

from license-webpack-plugin.

darkbasic avatar darkbasic commented on July 20, 2024

I'm sorry, I forgot to explain that part.
First you will have to install Meteor:

curl https://install.meteor.com/ | sh

Then meteor-client-bundler:

npm install -g meteor-client-bundler

Finally, inside the project folder, you will have to generate the meteor-client bundle:

meteor-client bundle -s api

Then revert the patch which removed LicenseWebpackPlugin from webpack.config.js:

cat webpack.config.js.LicenseWebpackPlugin.revert.patch | patch -p1 -R

Now you should be able to run the project with npm run start or npm run build.

Thanks

from license-webpack-plugin.

xz64 avatar xz64 commented on July 20, 2024

@darkbasic I made a change to fix this issue. Try out the dev branch and let me know if it working fine you. You can run npm install, npm run build followed by npm pack to generate a .tgz file which you can then install in your app via npm install ../path/to/license-webpack-plugin-1.0.0.tgz

from license-webpack-plugin.

darkbasic avatar darkbasic commented on July 20, 2024

Works flawlessly, thanks. Can you please tag a new version and release it on npm?

from license-webpack-plugin.

xz64 avatar xz64 commented on July 20, 2024

Published in 1.0.1

from license-webpack-plugin.

darkbasic avatar darkbasic commented on July 20, 2024

Thank you so much.

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.