Comments (5)
@beeman I have updated the template file and released v4.0.0 to fix the issue.
Thank you for reporting. Much appreciated! 👍
from generator-angular2-library.
@beeman — Thank YOU Bram! 👍
from generator-angular2-library.
I am facing a similar problem. I have published the library to npm. I am trying to use it in my own application.
I did change export default class SampleModule
to export class SampleModule
I am using SystemJs and not Webpack, and importing it in my application like this
import { SampleModule } from "../node_modules/angular-sample-module/dist/index";
I am not sure if I have imported it correctly but when I run the application, i get the following error
zone.js:1382 GET http://localhost:3000/node_modules/angular-sample-module/dist/src/sample.component 404 (Not Found)
I have not made any change to the component, that came with angular2-generator-library
from generator-angular2-library.
@AbigailFernandes — Can you create a plunk with your sample application so we can have a look at it and create a new issue for it (the current issue is closed because it relates to a different issue that is now fixed)?
Thanks in advance! 👍
from generator-angular2-library.
Thanks for fixing @jvandemo 👍
from generator-angular2-library.
Related Issues (20)
- Routing with lazy loaded modules, AOT compilation HOT 2
- NullInjectorError: No provider for ElementRef! HOT 17
- NullInjectorError: No provider for AlertService!
- "npm run build" fails when source open with Visual Studio Code
- Livereload not working on components in root folder (Angular 5 & Cli 1.7)
- Angular 4
- #260 not resolved HOT 1
- playground doesn't work HOT 3
- Error: Unexpected token <
- Error: StaticInjectorError[SampleService-> HttpClient] HOT 2
- Update to angular 6 HOT 2
- npm ERR! notarget No compatible version found: [email protected]
- How can I route jumps in third-lib packages?
- Some *.ts files are packaged and do not generate *.ts files.
- Wrong filenames in src/package.json?
- gulp error after upgrading to nodejs v10.x and npm v6.4.0 HOT 1
- playground not working with 3rd party library HOT 1
- Could not resolve entry (C:\Users\bhawin.parkeria\Music\datepicker\build/index.js) Starting 'rollup:fesm'
- Update to angular 7
- Angular 8 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 generator-angular2-library.