Setting up FCC locally but getting punycode warning

Hello! I am getting this error:
pnpm run seed

gives me:


> @freecodecamp/freecodecamp@0.0.1 preseed /home/asia/freeCodeCamp
> npm-run-all create:shared


> @freecodecamp/freecodecamp@0.0.1 create:shared /home/asia/freeCodeCamp
> tsc -p shared


> @freecodecamp/freecodecamp@0.0.1 seed /home/asia/freeCodeCamp
> pnpm seed:surveys && pnpm seed:exams && cross-env DEBUG=fcc:* node ./tools/scripts/seed/seed-demo-user


> @freecodecamp/freecodecamp@0.0.1 seed:surveys /home/asia/freeCodeCamp
> cross-env DEBUG=fcc:* node ./tools/scripts/seed/seed-surveys

  fcc:tools:seedSurveyInfo Connected successfully to mongo +0ms
(node:31301) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Oh noes!! Error seeding survey info.
MongoServerSelectionError: Server selection timed out after 30000 ms
    at Timeout._onTimeout (/home/asia/freeCodeCamp/node_modules/.pnpm/mongodb@5.9.1/node_modules/mongodb/lib/sdam/topology.js:278:38)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7) {
  reason: TopologyDescription {
    type: 'Single',
    servers: Map(1) { '127.0.0.1:27017' => [ServerDescription] },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: null,
    maxElectionId: null,
    maxSetVersion: null,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [Symbol(errorLabels)]: Set(0) {}
}
 ELIFECYCLE  Command failed with exit code 1.
 ELIFECYCLE  Command failed with exit code 1.

Any help please? When I try pnpm run start it loads a page with this message on localhost:8000

Error: ENOENT: no such file or directory, stat ‘/home/asia/freeCodeCamp/client/public/404.html’

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.