Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

babel-node program.js babel error #135

Open
luzac3 opened this issue Nov 8, 2021 · 0 comments
Open

babel-node program.js babel error #135

luzac3 opened this issue Nov 8, 2021 · 0 comments

Comments

@luzac3
Copy link

luzac3 commented Nov 8, 2021

When I tried to run the first test program, I got the following error

C:\Users{userName}\source\tower-of-babel-solutions>babel-node program.js babel
C:\Users{userName}\AppData\Roaming\npm\node_modules@babel\core\lib\config\files\configuration.js:273
throw new Error(${filepath}: Config returned typeof ${typeof options});
^

Error: C:\Users{userName}\source\tower-of-babel-solutions.babelrc: Config returned typeof string
at C:\Users{userName}\AppData\Roaming\npm\node_modules@babel\core\lib\config\files\configuration.js:273:11
at C:\Users{userName}\AppData\Roaming\npm\node_modules@babel\core\lib\config\files\utils.js:30:12
at Generator.next ()
at Function. (C:\Users{userName}\AppData\Roaming\npm\node_modules@babel\core\lib\gensync-utils\async.js:25:3)
at Generator.next ()
at evaluateSync (C:\Users{userName}\AppData\Roaming\npm\node_modules@babel\core\node_modules\gensync\index.js:251:28)
at Function.sync (C:\Users{userName}\AppData\Roaming\npm\node_modules@babel\core\node_modules\gensync\index.js:89:14)
at sync (C:\Users{userName}\AppData\Roaming\npm\node_modules@babel\core\lib\gensync-utils\async.js:68:25)
at sync (C:\Users{userName}\AppData\Roaming\npm\node_modules@babel\core\node_modules\gensync\index.js:182:19)
at onFirstPause (C:\Users{userName}\AppData\Roaming\npm\node_modules@babel\core\node_modules\gensync\index.js:210:24)

@luzac3 luzac3 changed the title babel-node program.js babel babel-node program.js babel error Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant