Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error Can't resolve 'spawn-sync' #550

Closed
2 tasks done
ganjarpanji opened this issue Feb 20, 2022 · 2 comments · Fixed by #559
Closed
2 tasks done

Build error Can't resolve 'spawn-sync' #550

ganjarpanji opened this issue Feb 20, 2022 · 2 comments · Fixed by #559

Comments

@ganjarpanji
Copy link

  • I am on the latest Cerebro.app version
  • I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: macOS 12.2.1 M1 Pro
  • Cerebro.app version: Checkout from master (606a1ba)
  • Relevant information from devtools (See above how to open it):

Issue

I got failed build error, tried to update manually execa as mentioned from here sindresorhus/shell-env#12

WARNING in ./node_modules/shell-env/node_modules/cross-spawn/index.js
Module not found: Error: Can't resolve 'spawn-sync' in '/Users/me/Project/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

@jaimegarjr
Copy link

Also ran into this error - installing spawn-sync by using npm i spawn-sync got rid of the error when compiling.

@Saltiola7
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants