Comments (6)
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.
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.
@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.
Works flawlessly, thanks. Can you please tag a new version and release it on npm?
from license-webpack-plugin.
Published in 1.0.1
from license-webpack-plugin.
Thank you so much.
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.