babel-node Questions
2
I am upgrading my nodejs version from 8 to 10. after upgraded, i can't run my application in any browsers right now. so i've been googled my issue and found out that header size of node 10 has been...
Bleacher asked 29/8, 2019 at 7:37
7
I want to manage my node process with pm2 package.
If I don't have any es6 syntax in my code so I don't need to add babel-node, and without any es6 syntax code is am able to run my code with pm2 wi...
Champollion asked 6/2, 2018 at 6:58
1
I have a node js script with an async main method. Sometimes the script terminates fine, other times it hangs.
const main = async () => {
let updates = []
// ... add a bunch of promises to up...
Fechter asked 17/10, 2018 at 18:14
3
Solved
We are in the midst of updating our API, and Henry Zhu from Babel alerted me to this preset called babel-preset-env to replace need for babel-preset-es2015 and babel-preset-es2018.
Now, I am encou...
Arletha asked 22/7, 2017 at 22:9
6
Solved
In my package.json I have a start-script which I'm using for my dev enviroment. It looks like this:
"scripts": {
"dev": "NODE_PATH=src nodemon --watch src/ --exec babel-node src/app.js"
}
When ...
Apocryphal asked 7/10, 2016 at 12:29
2
I need to use lodash-es in my project, but I can't configure my babel correctly, it always reports errors like SyntaxError: Unexpected identifier
hello.js
import upperCase from 'lodash-es/upperCa...
Plonk asked 17/10, 2018 at 9:43
6
Solved
I'm using:
VS Code v1.3.1
node v6.3.1
babel-node v6.11.4
Windows 10
I'm unable to get a stop at a breakpoint with the following launch file.
The debugger runs and attaches to a port, but when...
Joellajoelle asked 24/7, 2016 at 23:20
0
Using babel-watch, when debugging through the Chrome inspector, I don't have source maps available.
When running the same code using babel-node, with the same .babelrc, source maps are available.
...
Impostor asked 23/4, 2019 at 10:26
1
Solved
I'm trying to use babel-node with nodemon for the hot-reloading.
I've basically followed this repo.
My dev script in package.json looks like that:
"dev": "nodemon app.js --exec babel-node --prese...
Gargan asked 15/3, 2018 at 14:6
1
Solved
Is there any difference between using babel-register or babel-node when running my code in development? The two options are:
require('babel-register')({
"presets": ["es2015"]
}); at entry-point.j...
Ticktacktoe asked 20/2, 2017 at 3:20
1
I'm having trouble installing babel-node
npm i -g babel-node
> [email protected] postinstall /Users/.../.../node_modules/babel-node
> node message.js; sleep 10; exit 1;
/Users/.../......
Scarlet asked 29/11, 2016 at 21:51
1
Solved
Normally to start up via command line, I can type:
babel-node server.js
When I try to set this up so that breakpoints and what not work in visual studio code I receive:
/Users/me/proj/node_modu...
Augustusaugy asked 13/3, 2016 at 20:49
1
© 2022 - 2024 — McMap. All rights reserved.