Skip to content

Error: process_begin: CreateProcess(NULL, cp package.json public-package.json, ...) failed. #459

@snoorghorbani

Description

@snoorghorbani

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.
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions