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: process_begin: CreateProcess(NULL, cp package.json public-package.json, ...) failed. #459

Open
snoorghorbani opened this issue Dec 9, 2021 · 0 comments

Comments

@snoorghorbani
Copy link

snoorghorbani commented Dec 9, 2021

I faced an issue after I updated the CLI to <1.77.1
tested by different version of Nodejs ( 14.15.0, 16.13.0, 12.14.0)
OS : Windows 10 64bit
make: choco install make

When I use any command same as "qubit placement clone 5766 AExiC6j5R22eq0-ba0lX8g" I get the below error:

✓ Qubit-CLI needs to complete its installation, this may take a minute
✓ Installing additional dependencies...

process_begin: CreateProcess(NULL, cp package.json public-package.json, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [Makefile:16: install-private-packages] Error 2
(node:21360) UnhandledPromiseRejectionWarning: Error: Command failed: make install-private-packages
at C:\Users\snoor\AppData\Roaming\nvm\v14.15.0\node_modules\qubit-cli\node_modules\execa\index.js:236:11
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async installQubitDeps (C:\Users\snoor\AppData\Roaming\nvm\v14.15.0\node_modules\qubit-cli\src\lib\install-qubit-deps.js:25:5)
at async run (C:\Users\snoor\AppData\Roaming\nvm\v14.15.0\node_modules\qubit-cli\src\cmd\index.js:10:29)
(Use node --trace-warnings ... to show where the warning was created)
(node:21360) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:21360) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
`

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

No branches or pull requests

1 participant