Closed ganjarpanji closed 2 years ago
Also ran into this error - installing spawn-sync by using npm i spawn-sync
got rid of the error when compiling.
I got this on Fedora 36: WARNING in ./node_modules/shell-env/node_modules/cross-spawn/index.js Module not found: Error: Can't resolve 'spawn-sync' in '/home/tommi/cerebro/node_modules/shell-env/node_modules/cross-spawn' @ ./node_modules/shell-env/node_modules/cross-spawn/index.js 32:26-47 @ ./node_modules/shell-env/node_modules/execa/index.js @ ./node_modules/shell-env/index.js @ ./node_modules/shell-path/index.js @ ./node_modules/fix-path/index.js @ ./app/background/background.js @ multi webpack-hot-middleware/client?path=http://localhost:3000/__webpack_hmr ./app/background/background
Issue
I got failed build error, tried to update manually
execa
as mentioned from here https://github.com/sindresorhus/shell-env/issues/12