events.js:167 throw er; // Unhandled 'error' event at ionic framework
I am developing a simple mobile application using the ionic framework. And got this error on my CLI during the serve command ionic serve
Below I have mentioned the versions of my application
Ionic:
ionic (Ionic CLI) : 4.4.0 (C:UsersJahirnode_modulesionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.0
Cordova:
cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : not available
Cordova Plugins : not available
System:
Android SDK Tools : 26.1.1 (C:UsersJahirAppDataLocalAndroidSdk)
NodeJS : v11.2.0 (C:Program Filesnodejsnode.exe)
npm : 6.4.1
OS : Windows 7
I also posted my error elaborately from the CLI, please find it below
events.js:167
throw er; // Unhandled 'error' event
^
Error: spawn cmd ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:246:19)
at onErrorNT (internal/child_process.js:421:16)
at process.internalTickCallback (internal/process/next_tick.js:72:19)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:252:12)
at onErrorNT (internal/child_process.js:421:16)
at process.internalTickCallback (internal/process/next_tick.js:72:19)
Please give me the solution, I know it is a simple error, a solution will be much helpful.
ionic-framework
add a comment |
I am developing a simple mobile application using the ionic framework. And got this error on my CLI during the serve command ionic serve
Below I have mentioned the versions of my application
Ionic:
ionic (Ionic CLI) : 4.4.0 (C:UsersJahirnode_modulesionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.0
Cordova:
cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : not available
Cordova Plugins : not available
System:
Android SDK Tools : 26.1.1 (C:UsersJahirAppDataLocalAndroidSdk)
NodeJS : v11.2.0 (C:Program Filesnodejsnode.exe)
npm : 6.4.1
OS : Windows 7
I also posted my error elaborately from the CLI, please find it below
events.js:167
throw er; // Unhandled 'error' event
^
Error: spawn cmd ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:246:19)
at onErrorNT (internal/child_process.js:421:16)
at process.internalTickCallback (internal/process/next_tick.js:72:19)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:252:12)
at onErrorNT (internal/child_process.js:421:16)
at process.internalTickCallback (internal/process/next_tick.js:72:19)
Please give me the solution, I know it is a simple error, a solution will be much helpful.
ionic-framework
add a comment |
I am developing a simple mobile application using the ionic framework. And got this error on my CLI during the serve command ionic serve
Below I have mentioned the versions of my application
Ionic:
ionic (Ionic CLI) : 4.4.0 (C:UsersJahirnode_modulesionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.0
Cordova:
cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : not available
Cordova Plugins : not available
System:
Android SDK Tools : 26.1.1 (C:UsersJahirAppDataLocalAndroidSdk)
NodeJS : v11.2.0 (C:Program Filesnodejsnode.exe)
npm : 6.4.1
OS : Windows 7
I also posted my error elaborately from the CLI, please find it below
events.js:167
throw er; // Unhandled 'error' event
^
Error: spawn cmd ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:246:19)
at onErrorNT (internal/child_process.js:421:16)
at process.internalTickCallback (internal/process/next_tick.js:72:19)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:252:12)
at onErrorNT (internal/child_process.js:421:16)
at process.internalTickCallback (internal/process/next_tick.js:72:19)
Please give me the solution, I know it is a simple error, a solution will be much helpful.
ionic-framework
I am developing a simple mobile application using the ionic framework. And got this error on my CLI during the serve command ionic serve
Below I have mentioned the versions of my application
Ionic:
ionic (Ionic CLI) : 4.4.0 (C:UsersJahirnode_modulesionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.0
Cordova:
cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : not available
Cordova Plugins : not available
System:
Android SDK Tools : 26.1.1 (C:UsersJahirAppDataLocalAndroidSdk)
NodeJS : v11.2.0 (C:Program Filesnodejsnode.exe)
npm : 6.4.1
OS : Windows 7
I also posted my error elaborately from the CLI, please find it below
events.js:167
throw er; // Unhandled 'error' event
^
Error: spawn cmd ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:246:19)
at onErrorNT (internal/child_process.js:421:16)
at process.internalTickCallback (internal/process/next_tick.js:72:19)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:252:12)
at onErrorNT (internal/child_process.js:421:16)
at process.internalTickCallback (internal/process/next_tick.js:72:19)
Please give me the solution, I know it is a simple error, a solution will be much helpful.
ionic-framework
ionic-framework
asked Nov 27 '18 at 12:01
Niyaz AhamedNiyaz Ahamed
263
263
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
just add it to the PATH: C:WindowsSystem32 and start cmd as Administrator
Goto > Control PanelSystem and SecuritySystemAdvance system settingEnviroment variable and set system variables path C:WindowsSystem32 variable and restart your System.
Positively Hope, it will work
This procedure solve the issue? In my case no... Another idea? thans
– dadojar
Feb 13 at 14:28
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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%2f53499246%2fevents-js167-throw-er-unhandled-error-event-at-ionic-framework%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
just add it to the PATH: C:WindowsSystem32 and start cmd as Administrator
Goto > Control PanelSystem and SecuritySystemAdvance system settingEnviroment variable and set system variables path C:WindowsSystem32 variable and restart your System.
Positively Hope, it will work
This procedure solve the issue? In my case no... Another idea? thans
– dadojar
Feb 13 at 14:28
add a comment |
just add it to the PATH: C:WindowsSystem32 and start cmd as Administrator
Goto > Control PanelSystem and SecuritySystemAdvance system settingEnviroment variable and set system variables path C:WindowsSystem32 variable and restart your System.
Positively Hope, it will work
This procedure solve the issue? In my case no... Another idea? thans
– dadojar
Feb 13 at 14:28
add a comment |
just add it to the PATH: C:WindowsSystem32 and start cmd as Administrator
Goto > Control PanelSystem and SecuritySystemAdvance system settingEnviroment variable and set system variables path C:WindowsSystem32 variable and restart your System.
Positively Hope, it will work
just add it to the PATH: C:WindowsSystem32 and start cmd as Administrator
Goto > Control PanelSystem and SecuritySystemAdvance system settingEnviroment variable and set system variables path C:WindowsSystem32 variable and restart your System.
Positively Hope, it will work
answered Jan 4 at 13:23
Hector_GiraldoHector_Giraldo
113
113
This procedure solve the issue? In my case no... Another idea? thans
– dadojar
Feb 13 at 14:28
add a comment |
This procedure solve the issue? In my case no... Another idea? thans
– dadojar
Feb 13 at 14:28
This procedure solve the issue? In my case no... Another idea? thans
– dadojar
Feb 13 at 14:28
This procedure solve the issue? In my case no... Another idea? thans
– dadojar
Feb 13 at 14:28
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.
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%2f53499246%2fevents-js167-throw-er-unhandled-error-event-at-ionic-framework%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