Closed
Description
Doing yarn
and npm install
produce different node_modules
(it can be tested on package named react-styleguidist)
What is the current behavior?
With yarn, ls node_modules/react-styleguidist/node_modules/.bin
:
acorn -> ../../../acorn/bin/acorn
webpack-dev-server -> ../../../webpack-dev-server/bin/webpack-dev-server.js
react-docgen -> ../../../react-docgen/bin/react-docgen.js
findup -> ../../../findup/bin/findup.js
esgenerate -> ../../../escodegen/bin/esgenerate.js
escodegen -> ../../../escodegen/bin/escodegen.js
buble -> ../../../buble/bin/buble
With npm, ls node_modules/react-styleguidist/node_modules/.bin
:
acorn -> ../../../acorn/bin/acorn
If the current behavior is a bug, please provide the steps to reproduce.
mkdir -p ~/tmp
cd ~/tmp
git clone git@github.com:bootstrap-styled/rsg-components.git
cd rsg-components
git checkout testing-broken-v9
npm install # or `yarn`
npm run styleguide
What is the expected behavior?
We expect to have the same result between npm and yarn.
Versions
yarn -v 1.13.0
npm -v 6.8.0
- Linux dev-11 4.9.0-8-amd64 Add throttling to tarball requests #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux
Related issues
- How can I import 'antd' or any other lib ? styleguidist/react-styleguidist#1278
- [Regression v8 to v9] Example can't import itself anymore. moduleAliases/WebpackConfig.resolve.alias is broken => import or require() statements can be added only by editing a Markdown example file styleguidist/react-styleguidist#1310
- Error: import or require() statements can be added only by editing a Markdown styleguidist/react-styleguidist#1312
Metadata
Metadata
Assignees
Labels
No labels