datacamp / datacamp/rdocumentation-2.0
Local Install isn't initializing
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 301
- Forks
- 54
- Avg merge
- 16h 19m
- Merged PRs (30d)
- 1
Description
Hello! I am trying to install a local version of the resource for an upcoming trip out of the country (so I will have fast and reliable reference resources) but when I follow the steps in the initial README, I am getting an error. I changed the name of .env.local.example to .env.local and updated the file with a personal access token I generated from my GH account with Public Repo access. Further, I have also installed yarn and node. When I run yarn dev, I am getting an error that starts with:
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
and ends with:
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Problem; I am not experienced with Node, Yarn or most all of the other tools used to here to launch and make the local resource available. It seems like yarn has been updated to a newer version, and that may be blocking part of the issue. I have tried running the browswerlist update but that did not resolve the issue or remove this portion of the error message. Any assistance you can provide would be amazing!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the initial README and the local setup using .env.local.example, then reproduce the failure with yarn dev. Check the reported Browserslist message and the command's final error output without assuming the update resolves it. Done means a documented local installation initializes successfully without exiting with code 1.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100