Rust project sample code does not work anymore
spotlesscoder opened this issue · 1 comments
spotlesscoder commented
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/cli@3.0.0-alpha.64 from lock file
npm error Missing: @inquirer/prompts@7.2.0 from lock file
npm error Missing: @types/node@22.10.2 from lock file
npm error Missing: @napi-rs/cross-toolchain@0.0.16 from lock file
npm error Missing: @napi-rs/wasm-tools@0.0.2 from lock file
npm error Missing: @octokit/rest@21.0.2 from lock file
npm error Missing: clipanion@3.2.1 from lock file
npm error Missing: colorette@2.0.20 from lock file
npm error Missing: debug@4.4.0 from lock file
npm error Missing: emnapi@1.3.1 from lock file
npm error Missing: js-yaml@4.1.0 from lock file
npm error Missing: lodash-es@4.17.21 from lock file
npm error Missing: semver@7.6.3 from lock file
npm error Missing: toml@3.0.0 from lock file
npm error Missing: typanion@3.14.0 from lock file
npm error Missing: wasm-sjlj@1.0.5 from lock file
npm error Missing: @inquirer/checkbox@4.0.3 from lock file
npm error Missing: @inquirer/confirm@5.1.0 from lock file
npm error Missing: @inquirer/editor@4.2.0 from lock file
npm error Missing: @inquirer/expand@4.0.3 from lock file
npm error Missing: @inquirer/input@4.1.0 from lock file
npm error Missing: @inquirer/number@3.0.3 from lock file
npm error Missing: @inquirer/password@4.0.3 from lock file
npm error Missing: @inquirer/rawlist@4.0.3 from lock file
npm error Missing: @inquirer/search@3.0.3 from lock file
npm error Missing: @inquirer/select@4.0.3 from lock file
npm error Missing: @inquirer/core@10.1.1 from lock file
npm error Missing: @inquirer/figures@1.0.8 from lock file
npm error Missing: @inquirer/type@3.0.1 from lock file
npm error Missing: ansi-escapes@4.3.2 from lock file
npm error Missing: yoctocolors-cjs@2.1.2 from lock file
npm error Missing: cli-width@4.1.0 from lock file
npm error Missing: mute-stream@2.0.0 from lock file
npm error Missing: signal-exit@4.1.0 from lock file
npm error Missing: wrap-ansi@6.2.0 from lock file
npm error Missing: external-editor@3.1.0 from lock file
npm error Missing: @napi-rs/lzma@1.4.1 from lock file
npm error Missing: @napi-rs/tar@0.1.4 from lock file
npm error Missing: @napi-rs/lzma-android-arm-eabi@1.4.1 from lock file
npm error Missing: @napi-rs/lzma-android-arm64@1.4.1 from lock file
npm error Missing: @napi-rs/lzma-darwin-arm64@1.4.1 from lock file
npm error Missing: @napi-rs/lzma-darwin-x64@1.4.1 from lock file
npm error Missing: @napi-rs/lzma-freebsd-x64@1.4.1 from lock file
npm error Missing: @napi-rs/lzma-linux-arm-gnueabihf@1.4.1 from lock file
npm error Missing: @napi-rs/lzma-linux-arm64-gnu@1.4.1 from lock file
npm error Missing: @napi-rs/lzma-linux-arm64-musl@1.4.1 from lock file
npm error Missing: @napi-rs/lzma-linux-ppc64-gnu@1.4.1 from lock file
npm error Missing: @napi-rs/lzma-linux-riscv64-gnu@1.4.1 from lock file
npm error Missing: @napi-rs/lzma-linux-s390x-gnu@1.4.1 from lock file
npm error Missing: @napi-rs/lzma-linux-x64-gnu@1.4.1 from lock file
npm error Missing: @napi-rs/lzma-linux-x64-musl@1.4.1 from lock file
npm error Missing: @napi-rs/lzma-wasm32-wasi@1.4.1 from lock file
npm error Missing: @napi-rs/lzma-win32-arm64-msvc@1.4.1 from lock file
npm error Missing: @napi-rs/lzma-win32-ia32-msvc@1.4.1 from lock file
npm error Missing: @napi-rs/lzma-win32-x64-msvc@1.4.1 from lock file
npm error Missing: @napi-rs/tar-android-arm-eabi@0.1.4 from lock file
npm error Missing: @napi-rs/tar-android-arm64@0.1.4 from lock file
npm error Missing: @napi-rs/tar-darwin-arm64@0.1.4 from lock file
npm error Missing: @napi-rs/tar-darwin-x64@0.1.4 from lock file
npm error Missing: @napi-rs/tar-freebsd-x64@0.1.4 from lock file
npm error Missing: @napi-rs/tar-linux-arm-gnueabihf@0.1.4 from lock file
npm error Missing: @napi-rs/tar-linux-arm64-gnu@0.1.4 from lock file
npm error Missing: @napi-rs/tar-linux-arm64-musl@0.1.4 from lock file
npm error Missing: @napi-rs/tar-linux-ppc64-gnu@0.1.4 from lock file
npm error Missing: @napi-rs/tar-linux-s390x-gnu@0.1.4 from lock file
npm error Missing: @napi-rs/tar-linux-x64-gnu@0.1.4 from lock file
npm error Missing: @napi-rs/tar-linux-x64-musl@0.1.4 from lock file
npm error Missing: @napi-rs/tar-wasm32-wasi@0.1.4 from lock file
npm error Missing: @napi-rs/tar-win32-arm64-msvc@0.1.4 from lock file
npm error Missing: @napi-rs/tar-win32-ia32-msvc@0.1.4 from lock file
npm error Missing: @napi-rs/tar-win32-x64-msvc@0.1.4 from lock file
npm error Missing: @napi-rs/wasm-tools-android-arm-eabi@0.0.2 from lock file
npm error Missing: @napi-rs/wasm-tools-android-arm64@0.0.2 from lock file
npm error Missing: @napi-rs/wasm-tools-darwin-arm64@0.0.2 from lock file
npm error Missing: @napi-rs/wasm-tools-darwin-x64@0.0.2 from lock file
npm error Missing: @napi-rs/wasm-tools-freebsd-x64@0.0.2 from lock file
npm error Missing: @napi-rs/wasm-tools-linux-arm64-gnu@0.0.2 from lock file
npm error Missing: @napi-rs/wasm-tools-linux-arm64-musl@0.0.2 from lock file
npm error Missing: @napi-rs/wasm-tools-linux-x64-gnu@0.0.2 from lock file
npm error Missing: @napi-rs/wasm-tools-linux-x64-musl@0.0.2 from lock file
npm error Missing: @napi-rs/wasm-tools-wasm32-wasi@0.0.2 from lock file
npm error Missing: @napi-rs/wasm-tools-win32-arm64-msvc@0.0.2 from lock file
npm error Missing: @napi-rs/wasm-tools-win32-ia32-msvc@0.0.2 from lock file
npm error Missing: @napi-rs/wasm-tools-win32-x64-msvc@0.0.2 from lock file
npm error Missing: @octokit/core@6.1.2 from lock file
npm error Missing: @octokit/plugin-paginate-rest@11.3.6 from lock file
npm error Missing: @octokit/plugin-request-log@5.3.1 from lock file
npm error Missing: @octokit/plugin-rest-endpoint-methods@13.2.6 from lock file
npm error Missing: @octokit/auth-token@5.1.1 from lock file
npm error Missing: @octokit/graphql@8.1.1 from lock file
npm error Missing: @octokit/request@9.1.3 from lock file
npm error Missing: @octokit/request-error@6.1.5 from lock file
npm error Missing: @octokit/types@13.6.2 from lock file
npm error Missing: before-after-hook@3.0.2 from lock file
npm error Missing: universal-user-agent@7.0.2 from lock file
npm error Missing: @octokit/endpoint@10.1.1 from lock file
npm error Missing: @octokit/openapi-types@22.2.0 from lock file
npm error Missing: undici-types@6.20.0 from lock file
npm error Missing: type-fest@0.21.3 from lock file
npm error Missing: ms@2.1.3 from lock file
npm error Missing: chardet@0.7.0 from lock file
npm error Missing: iconv-lite@0.4.24 from lock file
npm error Missing: tmp@0.0.33 from lock file
npm error Missing: safer-buffer@2.1.2 from lock file
npm error Missing: os-tmpdir@1.0.2 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
pumano commented
why npm ci bro? npm install should be OK