I am having an issue the preserve-symlink proxy file.
When using create-react-app:
Error: Cannot find module '../react-scripts/bin/react-scripts.js'
node_modules/react-scripts/bin/react-scripts.js
#!/bin/sh
":" //# comment; exec /usr/bin/env node --preserve-symlinks "$0" "$@"
require('../react-scripts/bin/react-scripts.js')
It should be: https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/bin/react-scripts.js
This looks like a bug. The bin dir shouldn't be touched, only the top-level .bin.
pnpm version: 0.42.4
Code to reproduce the issue:
create-react-app
npm start
Expected behavior:
No errors when visiting localhost:3000.
Actual behavior:
Error: Cannot find module '../react-scripts/bin/react-scripts.js'
Additional information:
node -v prints: 6.5.0
- Windows, OS X, or Linux?: macOS
I am having an issue the preserve-symlink proxy file.
When using create-react-app:
It should be: https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/bin/react-scripts.js
This looks like a bug. The bin dir shouldn't be touched, only the top-level
.bin.pnpm version: 0.42.4
Code to reproduce the issue:
Expected behavior:
No errors when visiting localhost:3000.
Actual behavior:
Additional information:
node -vprints: 6.5.0