Open jasonxia23 opened 6 years ago
cat: node_modules/@babel/plugin-syntax-jsx: Is a directory
This message makes quite clear that the directory, in fact, exists? Or am I missing something? ...
My fault.
cat: node_modules/@babel/plugin-syntax-jsx: Is a directory
is after I install by yarn add --dev @babel/plugin-syntax-jsx
Do you want to request a feature or report a bug?
A bug.
What is the current behavior? Yarn will remove the
@babel/plugin-syntax-jsx
innode_modules
even if another package depend on this package.cat node_modules/@babel/plugin-syntax-jsx
npm ls @babel/plugin-syntax-jsx
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior? After running
yarn install
,@babel/plugin-syntax-jsx
should be innode_modules
Please mention your node.js, yarn and operating system version. Node v8.11.3 Npx v6.4.1 Yarn v1.12.3 Npm v6.4.1 System MacOS 10.13.4