ngx-lite | lightweight Angular libraries in a single mono repo | Frontend Utils library
kandi X-RAY | ngx-lite Summary
kandi X-RAY | ngx-lite Summary
:package: A collection of lightweight Angular libraries in a single mono repo
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ngx-lite
ngx-lite Key Features
ngx-lite Examples and Code Snippets
Community Discussions
Trending Discussions on ngx-lite
QUESTION
I've always been using the @ngx/json-ld package from Cory Rylan to render LD+json on my angular components. Today I tried upgrading my angular app to angular 12, but now it's giving errors. So I decided to create a new project with an angular library containing this component. The demo project in the same repository is working perfectly fine. But when I'm using my own library in my project I'm getting the same error as well.
Uncaught TypeError: Cannot read property 'ɵmod' of undefined
How can I solve this? Is this a problem with angular itself?
...ANSWER
Answered 2021-May-29 at 08:38I don't know who posted the comment, but you were right. The installed package should contain the folders bundles
, esm2015
, fesm2015
, lib
. Apparently I was npm publish
ing the wrong folder.
All I needed to do was change my workflow to publish package
= dist/path/to/package.json
instead of projects/path/to/package.json
.
My final workflow is:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ngx-lite
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page