Building from source on Windows 10 produces 2 errors
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
Building from source on windows throws 2 errors.
First
yarn install
[4/4] Building fresh packages...
$ cp node_modules/pagedjs/dist/paged.polyfill.js public && cp -r node_modules/katex/dist/ public/katex && cp node_modules/markdown-it-texmath/css/texmath.css public/katex
'cp' is not recognized as an internal or external command,
operable program or batch file.
I edited the package.json replacing cp with copy but received a different error. I reverted and ran the command via WSL
Second
yarn dist
$ INLINE_RUNTIME_CHUNK=false react-scripts build
'INLINE_RUNTIME_CHUNK' is not recognized as an internal or external command, 'INLINE_RUNTIME_CHUNK' is not recognized as an internal or external command
Any advice would be appreciated.
Contributor guide
No contributing guide indexed for this repository
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 package.json scripts invoked by yarn install and yarn dist, including the cp commands and the react-scripts build entry point. Reproduce both failures on Windows 10, then verify that the install and distribution build complete without requiring WSL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100