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

Error: spawnSync #335

Closed
daniele-zurico opened this issue Mar 14, 2018 · 2 comments
Closed

Error: spawnSync #335

daniele-zurico opened this issue Mar 14, 2018 · 2 comments

Comments

@daniele-zurico
Copy link

Hi guys,
I'm trying to follow the tutoria to install a project. I run this command:

create-nx-workspace support-ticket-suite --directory=ticket-suite --npm-scope=suite

But I'm getting this error:

Project 'support-ticket-suite' successfully created.
child_process.js:533
    throw err;
    ^

Error: spawnSync /bin/sh ENOENT
    at exports._errnoException (util.js:1028:11)
    at spawnSync (child_process.js:468:20)
    at Object.execSync (child_process.js:524:13)
    at Object.<anonymous> (/Users/danielezurico/.nvm/versions/node/v7.6.0/lib/node_modules/@nrwl/schematics/bin/create-nx-workspace.js:68:21)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.runMain (module.js:605:10)

OS: Mac Os High Sierra (10.13.3)
Angular CLI: 1.7.3
Node: 7.6.0
bs-dzurico:Desktop danielezurico$ sudo npm list -g @nrwl/schematics
/Users/danielezurico/.nvm/versions/node/v7.6.0/lib
└── @nrwl/[email protected]

@Yonet
Copy link
Contributor

Yonet commented Mar 15, 2018

@daniele-zurico fixed here: da9310e
You can update your global @nrwl/schematics before creating the workspace by running:

yarn add global @nrwl/schematics@next
//Or
npm install -g  @nrwl/schematics@next

Closing. Thanks!

@Yonet Yonet closed this as completed Mar 15, 2018
@github-actions
Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants