error while running `ng-packagr -p ng-package.json`
up vote
0
down vote
favorite
I'm trying to make an angular package with ng-packagr
.
but when I run this command : ng-packagr -p ng-package.json
I get this error:
cannot find module '@angular/compiler-cli'
I checked everything. I have the latest versions of all modules and @angular/cli
and node
. I installed tsickle
package too. but still getting this error and can't create a package.
can you suggest any other solutions?
angular package ng-packagr
add a comment |
up vote
0
down vote
favorite
I'm trying to make an angular package with ng-packagr
.
but when I run this command : ng-packagr -p ng-package.json
I get this error:
cannot find module '@angular/compiler-cli'
I checked everything. I have the latest versions of all modules and @angular/cli
and node
. I installed tsickle
package too. but still getting this error and can't create a package.
can you suggest any other solutions?
angular package ng-packagr
npm i @angular/compiler-cli -g ?
– junk
Nov 19 at 8:04
should@angular/compiler-cli
be installed globally?
– Nastaran Heydari
Nov 19 at 8:06
I don' think so, just a suggestion to try it.
– junk
Nov 19 at 8:07
it doesn't make any difference
– Nastaran Heydari
Nov 19 at 9:12
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm trying to make an angular package with ng-packagr
.
but when I run this command : ng-packagr -p ng-package.json
I get this error:
cannot find module '@angular/compiler-cli'
I checked everything. I have the latest versions of all modules and @angular/cli
and node
. I installed tsickle
package too. but still getting this error and can't create a package.
can you suggest any other solutions?
angular package ng-packagr
I'm trying to make an angular package with ng-packagr
.
but when I run this command : ng-packagr -p ng-package.json
I get this error:
cannot find module '@angular/compiler-cli'
I checked everything. I have the latest versions of all modules and @angular/cli
and node
. I installed tsickle
package too. but still getting this error and can't create a package.
can you suggest any other solutions?
angular package ng-packagr
angular package ng-packagr
asked Nov 19 at 8:01
Nastaran Heydari
14
14
npm i @angular/compiler-cli -g ?
– junk
Nov 19 at 8:04
should@angular/compiler-cli
be installed globally?
– Nastaran Heydari
Nov 19 at 8:06
I don' think so, just a suggestion to try it.
– junk
Nov 19 at 8:07
it doesn't make any difference
– Nastaran Heydari
Nov 19 at 9:12
add a comment |
npm i @angular/compiler-cli -g ?
– junk
Nov 19 at 8:04
should@angular/compiler-cli
be installed globally?
– Nastaran Heydari
Nov 19 at 8:06
I don' think so, just a suggestion to try it.
– junk
Nov 19 at 8:07
it doesn't make any difference
– Nastaran Heydari
Nov 19 at 9:12
npm i @angular/compiler-cli -g ?
– junk
Nov 19 at 8:04
npm i @angular/compiler-cli -g ?
– junk
Nov 19 at 8:04
should
@angular/compiler-cli
be installed globally?– Nastaran Heydari
Nov 19 at 8:06
should
@angular/compiler-cli
be installed globally?– Nastaran Heydari
Nov 19 at 8:06
I don' think so, just a suggestion to try it.
– junk
Nov 19 at 8:07
I don' think so, just a suggestion to try it.
– junk
Nov 19 at 8:07
it doesn't make any difference
– Nastaran Heydari
Nov 19 at 9:12
it doesn't make any difference
– Nastaran Heydari
Nov 19 at 9:12
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53370497%2ferror-while-running-ng-packagr-p-ng-package-json%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
npm i @angular/compiler-cli -g ?
– junk
Nov 19 at 8:04
should
@angular/compiler-cli
be installed globally?– Nastaran Heydari
Nov 19 at 8:06
I don' think so, just a suggestion to try it.
– junk
Nov 19 at 8:07
it doesn't make any difference
– Nastaran Heydari
Nov 19 at 9:12