datacamp / rdocumentation-2.0

📚 RDocumentation provides an easy way to search the documentation for every version of every R package on CRAN and Bioconductor.
https://rdocumentation.org
MIT License
285 stars 44 forks source link

Local Install isn't initializing #80

Open jonathonknudson opened 2 years ago

jonathonknudson commented 2 years ago

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!

ben-brooker commented 2 years ago

Hi are you still having this issue? What error did you receive when you ran npx browserslist@latest --update-db?

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!

jonathonknudson commented 2 years ago

Hi Ben,

It has unfortunately been over 6 mos since I returned from that trip, and I haven’t investigated this resource further in that time. I can tell you the issue was getting your local instance instructions up and running from the primary Index page, and so this is probably not well labeled as an “enhancement”. Thanks,

On Wed, Jul 6, 2022 at 7:28 AM ben-brooker @.***> wrote:

Hi are you still having this issue? What error did you receive when you ran npx @.*** --update-db?

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 @.*** --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!

— Reply to this email directly, view it on GitHub https://github.com/datacamp/rdocumentation-2.0/issues/80#issuecomment-1176222807, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALSBPCO77G24GHUQGECAIXLVSWCXPANCNFSM5J3LAB6Q . You are receiving this because you authored the thread.Message ID: @.***>