Skip to content

Rust project sample code does not work anymore #29360

@spotlesscoder

Description

@spotlesscoder

I can run npx -y create-nx-workspace@latest acme --preset=@monodon/rust successfully but when running npm ci in the resulting project, I get this error message

node ➜ /workspace (main) $ npm ci
npm error code EUSAGE
npm error
npm error `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
npm error
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @inquirer/[email protected] from lock file
npm error Missing: @types/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @octokit/[email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: @inquirer/[email protected] from lock file
npm error Missing: @inquirer/[email protected] from lock file
npm error Missing: @inquirer/[email protected] from lock file
npm error Missing: @inquirer/[email protected] from lock file
npm error Missing: @inquirer/[email protected] from lock file
npm error Missing: @inquirer/[email protected] from lock file
npm error Missing: @inquirer/[email protected] from lock file
npm error Missing: @inquirer/[email protected] from lock file
npm error Missing: @inquirer/[email protected] from lock file
npm error Missing: @inquirer/[email protected] from lock file
npm error Missing: @inquirer/[email protected] from lock file
npm error Missing: @inquirer/[email protected] from lock file
npm error Missing: @inquirer/[email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @napi-rs/[email protected] from lock file
npm error Missing: @octokit/[email protected] from lock file
npm error Missing: @octokit/[email protected] from lock file
npm error Missing: @octokit/[email protected] from lock file
npm error Missing: @octokit/[email protected] from lock file
npm error Missing: @octokit/[email protected] from lock file
npm error Missing: @octokit/[email protected] from lock file
npm error Missing: @octokit/[email protected] from lock file
npm error Missing: @octokit/[email protected] from lock file
npm error Missing: @octokit/[email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: @octokit/[email protected] from lock file
npm error Missing: @octokit/[email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
npm error
npm error Clean install a project
npm error
npm error Usage:
npm error npm ci
npm error
npm error Options:
npm error [--install-strategy <hoisted|nested|shallow|linked>] [--legacy-bundling]
npm error [--global-style] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
npm error [--include <prod|dev|optional|peer> [--include <prod|dev|optional|peer> ...]]
npm error [--strict-peer-deps] [--foreground-scripts] [--ignore-scripts] [--no-audit]
npm error [--no-bin-links] [--no-fund] [--dry-run]
npm error [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
npm error [-ws|--workspaces] [--include-workspace-root] [--install-links]
npm error
npm error aliases: clean-install, ic, install-clean, isntall-clean
npm error
npm error Run "npm help ci" for more info
npm error A complete log of this run can be found in: /home/node/.npm/_logs/2024-12-15T19_00_47_787Z-debug-0.log

How can I resolve this issue

Metadata

Metadata

Assignees

Labels

priority: mediumMedium Priority (not high, not low priority)scope: miscMisc issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions