thanks, it works!
There is file icon I first time to see
thanks, it works!
Wow, the only thing I was suppose to do is to write code with space between touch and .babelrc
Maybe that’s stupid, but I’m a beginner and maybe somebody else have the same problem…
I tried to make this edit using vim and I was able to edit the file and save it right in bash. But it wasn’t enough to satisfy codecademy. This step definitely needs to debugging by the codecademy team.
Thanks a lot! This was so helpful
the real hero right here.
Thank you!!! Nothing else was making sense as I only had a main.js file.
I hope it helps someone in here. I struggled a lot wit the exercises. I do not use additional resources (other editors), I only use what Codecademy has to offer.
Here are some of my observations, which may come in handy:
- Disable your AdBlock (right click with the mouse on the AdBlock icon in the upper right corner of your browser window -> choose “Pause on this site” or other relevant option)
- To compete the first step, you need to type into “bash” tab:
touch .babelrc. Be aware or the space between touch and the dot. Now, hit enter. The .babelrc file should appear into the project directory.
- Completing the second step of the exercise got my head cracking. It is sayed: " Open the .babelrc file and add an object that specifies the preset to
I tried all the logical and not so logical options what popped into my mind, but wit no success at first. To open the .babelrc file, you need to click on it in the project directory. If it works, you should see next to your project directory between the “Main.js” tab and “bash” tab additional tab: “.babelrc” - this is the tab where you shoud type the
And hit “Run” at the bottom of this “.babelrc” tab.
If you do not see the “.babelrc”, click refresh on your web-browser and try again (It worked for me).
Big Agree with @codingcode I was like oh this was not covered in the single Bash course I took. The instructions need to be MUCH clearer. I didn’t notice that happy little folder icon until today years old. They could have mentioned it sooner and with much lower level material if this already doesn’t look like lower level stuff to Masters of Codes
This exercise is terrible and seriously needs to be reworked. They don’t provide you with any BASH syntax and I had no idea how to add the required text into the folder they wanted, which didn’t even appear at first! I had no clue you could use the GUI with main.js and that the folder button is how they wanted you to complete the lesson until I checked this post. This entire lesson is SERIOUSLY flawed in its instructions and execution.
I hate how they basically give you a fully-functional Linux terminal and then only want you to complete the assignment in a specific way.
and then adding the required code should have completed the assignment. It should check for the presence of a
.babelrc file in the root directory, and then should check that
.babelrc file against the assignment requirements.
You create it by typing “touch .babelrc” into the console.
This course has been great up until this section, this section just makes no sense and assumes way too much of the user.
Thanks a lot
Thank you sooooo much was stuck and this solved it
I get that it’s a beginner walk-through but having to use
touch to create
.babelrc is kind of a pain.
Biggest issue is that “Run the code” is so ambiguous whereas the entire step can just be completed with
or better yet
cat >> ./.babelrc << EOF
You’re a real one…thank you haha