helios
June 18, 2021, 12:27pm
1
i’ve been trying to connect FCC to github but i’m getting a bootstrap issue
**➜** **~** npm run bootstrap
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /Users/joshrai/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/Users/joshrai/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
helios
June 18, 2021, 3:41pm
2
**➜** **freeCodeCamp** **git:(** **main** **)** npm run bootstrap
> @freecodecamp/freecodecamp@0.0.1 bootstrap
> lerna bootstrap --ci
lerna notice cli v4.0.0
lerna info versioning independent
lerna info ci enabled
lerna notice filter excluding ["tools/contributor","tools/contributor/dashboard-app/client","tools/contributor/dashboard-app/server","tools/contributor/lib/","tools/contributor/one-off-scripts","tools/crowdin","tools/ui-components"]
lerna info filter [
lerna info filter '!tools/contributor',
lerna info filter '!tools/contributor/dashboard-app/client',
lerna info filter '!tools/contributor/dashboard-app/server',
lerna info filter '!tools/contributor/lib/',
lerna info filter '!tools/contributor/one-off-scripts',
lerna info filter '!tools/crowdin',
lerna info filter '!tools/ui-components'
lerna info filter ]
lerna info Bootstrapping 16 packages
lerna info Installing external dependencies
lerna ERR! npm ci exited 1 in '@freecodecamp/curriculum'
lerna ERR! npm ci stderr:
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@freecodecamp/curriculum@0.0.0-next.4',
npm WARN EBADENGINE required: { node: '>= 14.0.0', npm: '^6.14.12' },
npm WARN EBADENGINE current: { node: 'v12.18.4', npm: '7.15.1' }
npm WARN EBADENGINE }
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! <https://github.com/npm/cli/issues>
lerna ERR! npm ci exited 1 in '@freecodecamp/curriculum'
lerna WARN complete Waiting for 2 child processes to exit. CTRL-C to exit immediately.
ilenia
June 22, 2021, 5:17pm
3
in what way are you trying to connect FCC to GitHub?
Did you follow the step shown in the guide ?
Why are you running npm run bootstrap
manually? As far as I know, that is part of the postinstall script which runs after install.
Also it looks like you are running npm
version 7 and node
version 12.
Note that our codebase officially supports node
version 14, and only npm
version 6.
system
Closed
December 22, 2021, 12:29pm
6
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.