How to fix npm run serve in vue js
up vote
1
down vote
favorite
I use cli3 vue, when running npm run serve
there is an error even though nothing happened before. error code is
npm ERR! code ELIFECYCLE
cmd error:
E:tugas kuliahRahmatMI 3 B 2016SM 6TAadminweb>npm run serve
adminweb@0.1.0 serve E:tugas kuliahRahmatMI 3 B 2016SM 6TAadminweb
vue-cli-service serve
E:tugas kuliahRahmatMI 3 B 2016SM 6TAadminwebnode_modules@vuecli-servicebinvue-cli-service.js:1
(function (exports, require, module, __filename, __dirname) {
))})),"JSON",{stringify:function(e){if(void 0!==e&&!W(e)){for(var
t,r,n=[e],i=1;arguments.length>i;)n.push(arguments[i++]);return
t=n[1],"function"==typeof
t&&(r=t),!r&&b(t)||(t=function(e,t){if(r&&(t=r.call(this,e,t)),!W(t))return t}),n[1]=t,O.apply(B,n)}}}),P.prototype[N]||e("./_hide")(P.prototype,N,P.prototype.valueOf),p(P,"Symbol"),p(Math,"Math",!0),p(n.JSON,"JSON",!0)},{"./_an-object":205,"./_descriptors":220,"./_enum-keys":223,"./_export":224,"./_fails":225,"./_global":227,"./_has":228,"./_hide":229,"./_is-array":234,"./_keyof":241,"./_library":242,"./_meta":243,"./_object-create":245,"./_object-dp":246,"./_object-gopd":248,"./_object-gopn":250,"./_object-gopn-ext":249,"./_object-gops":251,"./_object-keys":254,"./_object-pie":255,"./_property-desc":257,"./_redefine":259,"./_set-to-string-tag":262,"./_shared":264,"./_to-iobject":268,"./
SyntaxError: Unexpected token )
at new Script (vm.js:79:7)
at createScript (vm.js:251:10)
at Object.runInThisContext (vm.js:303:10)
at Module._compile (internal/modules/cjs/loader.js:656:28)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
at startup (internal/bootstrap/node.js:285:19) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! adminweb@0.1.0 serve:
vue-cli-service serve
npm ERR! Exit status 1 npm ERR! npm ERR!
Failed at the adminweb@0.1.0 serve script. npm ERR! This is probably
not a problem with npm. There is likely additional logging output
above.
npm ERR! A complete log of this run can be found in: npm ERR!
C:UsersAbdul
RahmatAppDataRoamingnpm-cache_logs2018-11-09T03_32_10_174Z-debug.log
node.js npm vue-cli-3
add a comment |
up vote
1
down vote
favorite
I use cli3 vue, when running npm run serve
there is an error even though nothing happened before. error code is
npm ERR! code ELIFECYCLE
cmd error:
E:tugas kuliahRahmatMI 3 B 2016SM 6TAadminweb>npm run serve
adminweb@0.1.0 serve E:tugas kuliahRahmatMI 3 B 2016SM 6TAadminweb
vue-cli-service serve
E:tugas kuliahRahmatMI 3 B 2016SM 6TAadminwebnode_modules@vuecli-servicebinvue-cli-service.js:1
(function (exports, require, module, __filename, __dirname) {
))})),"JSON",{stringify:function(e){if(void 0!==e&&!W(e)){for(var
t,r,n=[e],i=1;arguments.length>i;)n.push(arguments[i++]);return
t=n[1],"function"==typeof
t&&(r=t),!r&&b(t)||(t=function(e,t){if(r&&(t=r.call(this,e,t)),!W(t))return t}),n[1]=t,O.apply(B,n)}}}),P.prototype[N]||e("./_hide")(P.prototype,N,P.prototype.valueOf),p(P,"Symbol"),p(Math,"Math",!0),p(n.JSON,"JSON",!0)},{"./_an-object":205,"./_descriptors":220,"./_enum-keys":223,"./_export":224,"./_fails":225,"./_global":227,"./_has":228,"./_hide":229,"./_is-array":234,"./_keyof":241,"./_library":242,"./_meta":243,"./_object-create":245,"./_object-dp":246,"./_object-gopd":248,"./_object-gopn":250,"./_object-gopn-ext":249,"./_object-gops":251,"./_object-keys":254,"./_object-pie":255,"./_property-desc":257,"./_redefine":259,"./_set-to-string-tag":262,"./_shared":264,"./_to-iobject":268,"./
SyntaxError: Unexpected token )
at new Script (vm.js:79:7)
at createScript (vm.js:251:10)
at Object.runInThisContext (vm.js:303:10)
at Module._compile (internal/modules/cjs/loader.js:656:28)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
at startup (internal/bootstrap/node.js:285:19) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! adminweb@0.1.0 serve:
vue-cli-service serve
npm ERR! Exit status 1 npm ERR! npm ERR!
Failed at the adminweb@0.1.0 serve script. npm ERR! This is probably
not a problem with npm. There is likely additional logging output
above.
npm ERR! A complete log of this run can be found in: npm ERR!
C:UsersAbdul
RahmatAppDataRoamingnpm-cache_logs2018-11-09T03_32_10_174Z-debug.log
node.js npm vue-cli-3
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I use cli3 vue, when running npm run serve
there is an error even though nothing happened before. error code is
npm ERR! code ELIFECYCLE
cmd error:
E:tugas kuliahRahmatMI 3 B 2016SM 6TAadminweb>npm run serve
adminweb@0.1.0 serve E:tugas kuliahRahmatMI 3 B 2016SM 6TAadminweb
vue-cli-service serve
E:tugas kuliahRahmatMI 3 B 2016SM 6TAadminwebnode_modules@vuecli-servicebinvue-cli-service.js:1
(function (exports, require, module, __filename, __dirname) {
))})),"JSON",{stringify:function(e){if(void 0!==e&&!W(e)){for(var
t,r,n=[e],i=1;arguments.length>i;)n.push(arguments[i++]);return
t=n[1],"function"==typeof
t&&(r=t),!r&&b(t)||(t=function(e,t){if(r&&(t=r.call(this,e,t)),!W(t))return t}),n[1]=t,O.apply(B,n)}}}),P.prototype[N]||e("./_hide")(P.prototype,N,P.prototype.valueOf),p(P,"Symbol"),p(Math,"Math",!0),p(n.JSON,"JSON",!0)},{"./_an-object":205,"./_descriptors":220,"./_enum-keys":223,"./_export":224,"./_fails":225,"./_global":227,"./_has":228,"./_hide":229,"./_is-array":234,"./_keyof":241,"./_library":242,"./_meta":243,"./_object-create":245,"./_object-dp":246,"./_object-gopd":248,"./_object-gopn":250,"./_object-gopn-ext":249,"./_object-gops":251,"./_object-keys":254,"./_object-pie":255,"./_property-desc":257,"./_redefine":259,"./_set-to-string-tag":262,"./_shared":264,"./_to-iobject":268,"./
SyntaxError: Unexpected token )
at new Script (vm.js:79:7)
at createScript (vm.js:251:10)
at Object.runInThisContext (vm.js:303:10)
at Module._compile (internal/modules/cjs/loader.js:656:28)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
at startup (internal/bootstrap/node.js:285:19) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! adminweb@0.1.0 serve:
vue-cli-service serve
npm ERR! Exit status 1 npm ERR! npm ERR!
Failed at the adminweb@0.1.0 serve script. npm ERR! This is probably
not a problem with npm. There is likely additional logging output
above.
npm ERR! A complete log of this run can be found in: npm ERR!
C:UsersAbdul
RahmatAppDataRoamingnpm-cache_logs2018-11-09T03_32_10_174Z-debug.log
node.js npm vue-cli-3
I use cli3 vue, when running npm run serve
there is an error even though nothing happened before. error code is
npm ERR! code ELIFECYCLE
cmd error:
E:tugas kuliahRahmatMI 3 B 2016SM 6TAadminweb>npm run serve
adminweb@0.1.0 serve E:tugas kuliahRahmatMI 3 B 2016SM 6TAadminweb
vue-cli-service serve
E:tugas kuliahRahmatMI 3 B 2016SM 6TAadminwebnode_modules@vuecli-servicebinvue-cli-service.js:1
(function (exports, require, module, __filename, __dirname) {
))})),"JSON",{stringify:function(e){if(void 0!==e&&!W(e)){for(var
t,r,n=[e],i=1;arguments.length>i;)n.push(arguments[i++]);return
t=n[1],"function"==typeof
t&&(r=t),!r&&b(t)||(t=function(e,t){if(r&&(t=r.call(this,e,t)),!W(t))return t}),n[1]=t,O.apply(B,n)}}}),P.prototype[N]||e("./_hide")(P.prototype,N,P.prototype.valueOf),p(P,"Symbol"),p(Math,"Math",!0),p(n.JSON,"JSON",!0)},{"./_an-object":205,"./_descriptors":220,"./_enum-keys":223,"./_export":224,"./_fails":225,"./_global":227,"./_has":228,"./_hide":229,"./_is-array":234,"./_keyof":241,"./_library":242,"./_meta":243,"./_object-create":245,"./_object-dp":246,"./_object-gopd":248,"./_object-gopn":250,"./_object-gopn-ext":249,"./_object-gops":251,"./_object-keys":254,"./_object-pie":255,"./_property-desc":257,"./_redefine":259,"./_set-to-string-tag":262,"./_shared":264,"./_to-iobject":268,"./
SyntaxError: Unexpected token )
at new Script (vm.js:79:7)
at createScript (vm.js:251:10)
at Object.runInThisContext (vm.js:303:10)
at Module._compile (internal/modules/cjs/loader.js:656:28)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
at startup (internal/bootstrap/node.js:285:19) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! adminweb@0.1.0 serve:
vue-cli-service serve
npm ERR! Exit status 1 npm ERR! npm ERR!
Failed at the adminweb@0.1.0 serve script. npm ERR! This is probably
not a problem with npm. There is likely additional logging output
above.
npm ERR! A complete log of this run can be found in: npm ERR!
C:UsersAbdul
RahmatAppDataRoamingnpm-cache_logs2018-11-09T03_32_10_174Z-debug.log
node.js npm vue-cli-3
node.js npm vue-cli-3
edited Nov 9 at 5:15
Tân Nguyễn
4,33332451
4,33332451
asked Nov 9 at 3:44
Abdul Rahmat
214
214
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f53219561%2fhow-to-fix-npm-run-serve-in-vue-js%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