Run NodeJS server with ES6 feature











up vote
0
down vote

favorite












I use NodeJS 0.12.7 version.
I have a question related launch NodeJS server with ES6 feature.
I need to transpile node_modules packages from ES6 to ES5 to run NodeJS.
How can I do it?










share|improve this question
























  • Node understands es6
    – smnbbrv
    Nov 17 at 19:55










  • I use 0.12.7 version
    – Maksim
    Nov 17 at 19:57










  • upgrade node to latest or LTS version
    – Maielo
    Nov 17 at 20:06










  • Using 0.12.7 in a current project is a bad idea. Please upgrade to a modern LTS release.
    – loganfsmyth
    Nov 17 at 20:28










  • Node.js 0.12.7 is ancient. Upgrade to node version 8.x or 10.x which natively support ES6.
    – jfriend00
    Nov 17 at 21:03















up vote
0
down vote

favorite












I use NodeJS 0.12.7 version.
I have a question related launch NodeJS server with ES6 feature.
I need to transpile node_modules packages from ES6 to ES5 to run NodeJS.
How can I do it?










share|improve this question
























  • Node understands es6
    – smnbbrv
    Nov 17 at 19:55










  • I use 0.12.7 version
    – Maksim
    Nov 17 at 19:57










  • upgrade node to latest or LTS version
    – Maielo
    Nov 17 at 20:06










  • Using 0.12.7 in a current project is a bad idea. Please upgrade to a modern LTS release.
    – loganfsmyth
    Nov 17 at 20:28










  • Node.js 0.12.7 is ancient. Upgrade to node version 8.x or 10.x which natively support ES6.
    – jfriend00
    Nov 17 at 21:03













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I use NodeJS 0.12.7 version.
I have a question related launch NodeJS server with ES6 feature.
I need to transpile node_modules packages from ES6 to ES5 to run NodeJS.
How can I do it?










share|improve this question















I use NodeJS 0.12.7 version.
I have a question related launch NodeJS server with ES6 feature.
I need to transpile node_modules packages from ES6 to ES5 to run NodeJS.
How can I do it?







node.js babeljs transpiler






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 17 at 19:56

























asked Nov 17 at 19:51









Maksim

75216




75216












  • Node understands es6
    – smnbbrv
    Nov 17 at 19:55










  • I use 0.12.7 version
    – Maksim
    Nov 17 at 19:57










  • upgrade node to latest or LTS version
    – Maielo
    Nov 17 at 20:06










  • Using 0.12.7 in a current project is a bad idea. Please upgrade to a modern LTS release.
    – loganfsmyth
    Nov 17 at 20:28










  • Node.js 0.12.7 is ancient. Upgrade to node version 8.x or 10.x which natively support ES6.
    – jfriend00
    Nov 17 at 21:03


















  • Node understands es6
    – smnbbrv
    Nov 17 at 19:55










  • I use 0.12.7 version
    – Maksim
    Nov 17 at 19:57










  • upgrade node to latest or LTS version
    – Maielo
    Nov 17 at 20:06










  • Using 0.12.7 in a current project is a bad idea. Please upgrade to a modern LTS release.
    – loganfsmyth
    Nov 17 at 20:28










  • Node.js 0.12.7 is ancient. Upgrade to node version 8.x or 10.x which natively support ES6.
    – jfriend00
    Nov 17 at 21:03
















Node understands es6
– smnbbrv
Nov 17 at 19:55




Node understands es6
– smnbbrv
Nov 17 at 19:55












I use 0.12.7 version
– Maksim
Nov 17 at 19:57




I use 0.12.7 version
– Maksim
Nov 17 at 19:57












upgrade node to latest or LTS version
– Maielo
Nov 17 at 20:06




upgrade node to latest or LTS version
– Maielo
Nov 17 at 20:06












Using 0.12.7 in a current project is a bad idea. Please upgrade to a modern LTS release.
– loganfsmyth
Nov 17 at 20:28




Using 0.12.7 in a current project is a bad idea. Please upgrade to a modern LTS release.
– loganfsmyth
Nov 17 at 20:28












Node.js 0.12.7 is ancient. Upgrade to node version 8.x or 10.x which natively support ES6.
– jfriend00
Nov 17 at 21:03




Node.js 0.12.7 is ancient. Upgrade to node version 8.x or 10.x which natively support ES6.
– jfriend00
Nov 17 at 21:03

















active

oldest

votes











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',
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
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53354963%2frun-nodejs-server-with-es6-feature%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53354963%2frun-nodejs-server-with-es6-feature%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Ottavio Pratesi

Tricia Helfer

15 giugno