-
Notifications
You must be signed in to change notification settings - Fork 57
No npm link Support? #2
Comments
You can use link, if you want. It doesn't need a support. In my experience, link does not simulate well the installation of the package like pack, for example if the test application is built with webpack or rollup. |
Using
If I use I had worked with a few libraries and client applications using ES6 and AngularJS (1.x). It was really simple to It seems like with the move to Angular (2.x) and TypeScript the |
I see. As I said, I have given up using npm link in Angular projects: I wasted a lot of time looking for the right configuration of the client, because the Angular configuration changes constantly. If you search angular 2 npm link doesn't work on Google, you will find a lot of issues about that. |
I've been using npm link without issues. This is what I'm doing. Ng serve should watch both myapp and mylibrary changes. Im using angular 4 Edit: Some have told me that this no longer works in Angular 5. I haven't tested it myself. Let us know if you have. |
Sort of related to this, I thought I'd chime in with an issue regarding Interestingly this happens even if one does npm link inside the Edit: Ah, this is actually related to what @FortinFred described in "4-" |
As I said, this kind of problems are non related to this starter (or to other starters), but to the host apps. You can find a lot of issues and the current status in the official repositories (or on StackOverflow). About This starter suggests using other methods and not |
To
|
Just for the sake of completeness, for the error:
for me starting with |
Closed due to the #72 |
Is there any reason why the build seems to be structured to require the use of npm pack and then npm install .tgz in client applications? This makes developing libraries pretty cumbersome as compared to the npm link method.
The text was updated successfully, but these errors were encountered: