Cannot find module '@angular/elements' : Angular 7
up vote
0
down vote
favorite
I am new to angular right now angular 7 using.I want to create angular elements so importing import { createCustomElement } from '@angular/elements' but it giving error Cannot find module '@angular/elements'.
Any help will helpful.
angular typescript angular7
add a comment |
up vote
0
down vote
favorite
I am new to angular right now angular 7 using.I want to create angular elements so importing import { createCustomElement } from '@angular/elements' but it giving error Cannot find module '@angular/elements'.
Any help will helpful.
angular typescript angular7
Did you runnpm install
?
– Amit Chigadani
Nov 15 at 6:48
yes.I did upgrade angular 2 to 7.
– Raj
Nov 15 at 6:51
And do you see@angular/elements
installed inside node_modules folder? If not you have to install thatnpm install @angular/elements
– Amit Chigadani
Nov 15 at 6:54
1
done.i did npm install @angular/elements and new package elements added.Thank you!!.
– Raj
Nov 15 at 6:59
Ok I have added that as an answer. Please feel free to mark it.
– Amit Chigadani
Nov 15 at 8:26
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am new to angular right now angular 7 using.I want to create angular elements so importing import { createCustomElement } from '@angular/elements' but it giving error Cannot find module '@angular/elements'.
Any help will helpful.
angular typescript angular7
I am new to angular right now angular 7 using.I want to create angular elements so importing import { createCustomElement } from '@angular/elements' but it giving error Cannot find module '@angular/elements'.
Any help will helpful.
angular typescript angular7
angular typescript angular7
edited Nov 22 at 2:26
Goncalo Peres
1,2391314
1,2391314
asked Nov 15 at 6:45
Raj
84
84
Did you runnpm install
?
– Amit Chigadani
Nov 15 at 6:48
yes.I did upgrade angular 2 to 7.
– Raj
Nov 15 at 6:51
And do you see@angular/elements
installed inside node_modules folder? If not you have to install thatnpm install @angular/elements
– Amit Chigadani
Nov 15 at 6:54
1
done.i did npm install @angular/elements and new package elements added.Thank you!!.
– Raj
Nov 15 at 6:59
Ok I have added that as an answer. Please feel free to mark it.
– Amit Chigadani
Nov 15 at 8:26
add a comment |
Did you runnpm install
?
– Amit Chigadani
Nov 15 at 6:48
yes.I did upgrade angular 2 to 7.
– Raj
Nov 15 at 6:51
And do you see@angular/elements
installed inside node_modules folder? If not you have to install thatnpm install @angular/elements
– Amit Chigadani
Nov 15 at 6:54
1
done.i did npm install @angular/elements and new package elements added.Thank you!!.
– Raj
Nov 15 at 6:59
Ok I have added that as an answer. Please feel free to mark it.
– Amit Chigadani
Nov 15 at 8:26
Did you run
npm install
?– Amit Chigadani
Nov 15 at 6:48
Did you run
npm install
?– Amit Chigadani
Nov 15 at 6:48
yes.I did upgrade angular 2 to 7.
– Raj
Nov 15 at 6:51
yes.I did upgrade angular 2 to 7.
– Raj
Nov 15 at 6:51
And do you see
@angular/elements
installed inside node_modules folder? If not you have to install that npm install @angular/elements
– Amit Chigadani
Nov 15 at 6:54
And do you see
@angular/elements
installed inside node_modules folder? If not you have to install that npm install @angular/elements
– Amit Chigadani
Nov 15 at 6:54
1
1
done.i did npm install @angular/elements and new package elements added.Thank you!!.
– Raj
Nov 15 at 6:59
done.i did npm install @angular/elements and new package elements added.Thank you!!.
– Raj
Nov 15 at 6:59
Ok I have added that as an answer. Please feel free to mark it.
– Amit Chigadani
Nov 15 at 8:26
Ok I have added that as an answer. Please feel free to mark it.
– Amit Chigadani
Nov 15 at 8:26
add a comment |
1 Answer
1
active
oldest
votes
up vote
3
down vote
accepted
You have probably not installed @angular/elements
. Please install it.
Run
npm install @angular/elements
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
You have probably not installed @angular/elements
. Please install it.
Run
npm install @angular/elements
add a comment |
up vote
3
down vote
accepted
You have probably not installed @angular/elements
. Please install it.
Run
npm install @angular/elements
add a comment |
up vote
3
down vote
accepted
up vote
3
down vote
accepted
You have probably not installed @angular/elements
. Please install it.
Run
npm install @angular/elements
You have probably not installed @angular/elements
. Please install it.
Run
npm install @angular/elements
answered Nov 15 at 8:20
Amit Chigadani
8,16152147
8,16152147
add a comment |
add a comment |
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%2f53313833%2fcannot-find-module-angular-elements-angular-7%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
Did you run
npm install
?– Amit Chigadani
Nov 15 at 6:48
yes.I did upgrade angular 2 to 7.
– Raj
Nov 15 at 6:51
And do you see
@angular/elements
installed inside node_modules folder? If not you have to install thatnpm install @angular/elements
– Amit Chigadani
Nov 15 at 6:54
1
done.i did npm install @angular/elements and new package elements added.Thank you!!.
– Raj
Nov 15 at 6:59
Ok I have added that as an answer. Please feel free to mark it.
– Amit Chigadani
Nov 15 at 8:26