Yes
macOS Mojave (10.14)
The npx create-react-app --info command doesn't work for me.
No node_modules folder anymore (duh ;) )
node_modules folder was present with both stable yarn as nightly version.
cc @arcanis
Hey @saberone! You need Yarn 1.12+ (currently in rc) to use --use-pnp. Installing it should be quite easy, we have instructions on the website 馃檪
@gaearon Do you think it would be worthwhile to detect Yarn's version and print a notice if the current version doesn't support PnP when --use-pnp is used?
Wait I didn't see you tried with both the regular and nightly versions. Can you share:
create-react-app commands (in particular the "yarn add v1.x.y" part)which yarn and which yarnpkgMaybe the way it's been installed has an issue that prevents create-react-app from correctly picking up the right version? I know it uses the yarnpkg binary instead of yarn, so that might be a factor.
I assume this will be fixed via https://github.com/facebook/create-react-app/pull/5269. Let us know if it still isn't working (releasing in a few minutes)!
Yes it works correctly with yarn v1.13.0-20181002.2034. Sweeet! The speed of this thing is crazy ;)
Not working for me on 1.13.0-20181006.0201.
node_modules is present and installConfig.pnp is missing from my package.json.
I tested and it worked for me. Please file a new bug report if you are having difficulties.
@elken I had some trouble where the check for version was having problems with nightly build versions. the semver package was being used and the .xxxx was causing it to fail, thus failing the check.
Most helpful comment
Yes it works correctly with yarn v1.13.0-20181002.2034. Sweeet! The speed of this thing is crazy ;)