Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation contributor - Error: Cannot find module 'C:\Users\tonyh\Documents\vscode\jest\website/backers.json' #9809

Closed
tonyhallett opened this issue Apr 14, 2020 · 2 comments

Comments

@tonyhallett
Copy link

馃悰 Bug Report

docusaurus-start error

To Reproduce

Follow the guidelines

$ cd website # Only needed if you are not already in the website directory
$ yarn
$ yarn start

Error: Cannot find module 'C:\Users\tonyh\Documents\vscode\jest\website/backers.json'

Expected behavior

Documentation server starts

Reason for the error

backers.json is required in jest\website\pages\en\index.js
backers.json is not in the repo ( gitignore ), it is generated by fetchSupporters.js
https://github.com/facebook/jest/blob/99c6fb1e5d5db037ab42ea12ddc6cb9ed16e3785/website/fetchSupporters.js#L44
This is not a problem for circleci.
But it is an issue when following the contributing guidelines as yarn start does not ensure the file has been generated
https://github.com/facebook/jest/blob/99c6fb1e5d5db037ab42ea12ddc6cb9ed16e3785/website/package.json#L6

envinfo

System:
OS: Windows 10 10.0.18363
CPU: (4) x64 Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz
Binaries:
Node: 12.13.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.4 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.9.0 - C:\Users\tonyh\AppData\Roaming\npm\npm.CMD


@jeysal
Copy link
Contributor

jeysal commented Oct 13, 2020

Fixed by #10631

@jeysal jeysal closed this as completed Oct 13, 2020
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants