react-static: Using yarn workspaces the build does not contain expected `Head` usage
Are you reporting a bug?
Yes
When using yarn workspaces the build does not contain expected <Head/>
usage. I.e. expected <title/>
is not in the build output.
It seems that this package or an upstream package requires physical presence of dependencies within the cwd. The build works, but the <Head />
is not applied.
See synopsis at https://github.com/AubreyHewes/react-static-yarn-workspaces-build-error
Environment
react-static -v
:
$ react-static -V # you need to update the issue template as it is a capital V ;-)
5.9.7
node -v
:
$ node -v
v8.12.0
yarn --version or npm -v
:
$ yarn --version
1.9.4
- Operating system:
$ lsb_release --description && uname -a
Description: Ubuntu 17.10
Linux alita 4.13.0-46-generic #51-Ubuntu SMP Tue Jun 12 12:36:29 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Steps to Reproduce the problem
See https://github.com/AubreyHewes/react-static-yarn-workspaces-build-error
Base your steps off of any freshly installed react-static template!
See above repo (react-static basic template)
Expected Behavior
Build output contains <Head/>
i.e. custom <title/>
Reproducible Demo
https://github.com/AubreyHewes/react-static-yarn-workspaces-build-error
git checkout tags/step2
as master is the workaround (nohoist)
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 1
- Comments: 15 (4 by maintainers)
Wow, this rabbit hole is deep! Keep digging!
On Oct 3 2018, at 2:01 pm, Aubrey Hewes notifications@github.com wrote: