I’m getting the error below when trying to run pnpm run seed I followed the guide to start contributing and this is the step I’m stuck in. Has anyone run into this issue before?
Unfortunately, I haven’t run into this issue before but maybe someone else has.
Do you have the mongo service running?
The error message seem to keep pointing to an issue with the connection string.
maybe you can try stopping the service and starting it again.
hope that helps
Yep, mongo is running, tried restarting it and it still didnt work.
hmmm… ok
I tried searching the forum for similar issues but wasn’t able to find any.
Hopefully someone else will chime if they have run into that issue.
But what kind of contribution were you looking to make?
Because depending on the type of contribution you are doing for freeCodeCamp, you could technically work on some of the open help wanted issues while having the mongo server running and your local dev environment running with pnpm run develop
.
If the type of contribution you are working requires you to be signed in, then you will need to wait to hear back from other contributors about possible fixes.
But if you are looking to update some of the tests for project challenges, then you should be able to test everything with just having a running mongo and localhost working
Any contribution, if you can point on what have more priority and I could try helping there. Ill try again tomorrow and see what I can run or not run.
Any of these would be good to start with.
As long as you can run it locally, then you don’t need to be signed in to work on these issues.
All of these issues involve updating the directions to make them more clear
opened 09:10PM - 15 Jan 24 UTC
type: bug
help wanted
scope: curriculum
new javascript course
### Describe the Issue
The text `You attack it with your <weapon>.` has a space… in front of it that you can't see in the challenge text.
Not sure if it has to be a fenced code block (three backticks) for the space to show up. I assume it is because it is missing the `pre` element when it is just a single backtick code block. Maybe there is a setting as well that we can enable for it?
> On a new line, add the string
>
> ```
> You attack it with your <weapon>
> ```
>
> to the text value, replacing `<weapon>` with the player's current weapon.
That or we need to mention it in the text or hints.
### Affected Page
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/learn-basic-javascript-by-building-a-role-playing-game/step-120
### Your code
```
```
### Expected behavior
To see the spaces in the required text.
### Screenshots
_No response_
### System
- Device: [e.g. iPhone 6, Laptop]
- OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04]
- Browser: [e.g. Chrome, Safari]
- Version: [e.g. 22]
### Additional context
Forum: https://forum.freecodecamp.org/t/learn-basic-javascript-by-building-a-role-playing-game-step-120
opened 12:47AM - 17 Jan 24 UTC
type: bug
help wanted
scope: curriculum
new javascript course
### Describe the Issue
We received this comment on the [forum](https://forum.… freecodecamp.org/t/feedback-learn-functional-programming-by-building-a-spreadsheet/663204) concerning the hint text for step 81 of the spreadsheet project
>Improve message in check code dialog.
>The code:
```js
const toNumberList = args => args.split(',').map(el => parseFloat(el));
```
>is erroring because .map() doesn’t need a callback parameter but just a reference to callback and I think that is a good opportunity to reinforce an earlier point.
The instructions say:
> Declare a toNumberList function which takes an args parameter, and returns the result of splitting the args by commas, and mapping the resulting array to parseFloat.
but it doesn't mention what should specifically be passed in for the `map` method and I can see a lot of campers resulting in the code above.
We should update the instructions to better clarify what should be passed into the `map` method
### Affected Page
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/learn-functional-programming-by-building-a-spreadsheet/step-81
### Your code
see explanation above
### Expected behavior
see explanation above
### Screenshots
_No response_
### System
- Device: [e.g. iPhone 6, Laptop]
- OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04]
- Browser: [e.g. Chrome, Safari]
- Version: [e.g. 22]
### Additional context
_No response_
opened 12:20AM - 17 Jan 24 UTC
type: bug
help wanted
scope: curriculum
new javascript course
### Describe the Issue
We got this feedback on the forum for step 58 of the spr… eadsheet
https://forum.freecodecamp.org/t/feedback-learn-functional-programming-by-building-a-spreadsheet/663204
Here is direct quote from the learner on the forum
>Chain a function call to what function? I think chaining a function call is the wrong terminology. I thought what is depicted in example is currying, not most people would call function chaining. i.e. func1().func2()
>I guess you could consider currying function chaining, but it might be a point of confusion.
### Affected Page
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/learn-functional-programming-by-building-a-spreadsheet/step-58
### Your code
see explanation above
### Expected behavior
see explanation above
### Screenshots
_No response_
### System
- Device: [e.g. iPhone 6, Laptop]
- OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04]
- Browser: [e.g. Chrome, Safari]
- Version: [e.g. 22]
### Additional context
_No response_
this one involves adding some missing tests
opened 03:09PM - 16 Jan 24 UTC
type: bug
help wanted
scope: curriculum
This step is passing even if protein is not bold
https://www.freecodecamp.org… /learn/2022/responsive-web-design/learn-typography-by-building-a-nutrition-label/step-61
> Use the necessary classes to remove the bottom border, and a span to make the Protein bold.
```
<p class="no-divider">Protein 3g</p>
<div class="divider large"></div>
```
Using Gitpod is always an option.
I think when you do the setup it should copy the sample.env
to .env
but maybe check if you have the .env
file in your root folder. If not, create it and copy the content from the sample file into it.
https://github.com/freeCodeCamp/freeCodeCamp/blob/main/tools/scripts/seed/seed-surveys.js
1 Like
I forgot to add the dot in front of “env” Thanks for your help, now I’m up and running