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

Не ставит пакеты #95

Closed
doox911-opensource opened this issue Feb 12, 2023 · 2 comments
Closed

Не ставит пакеты #95

doox911-opensource opened this issue Feb 12, 2023 · 2 comments

Comments

@doox911-opensource
Copy link

doox911-opensource commented Feb 12, 2023

Установил глобально. Всё можно воспроизвести если следовать инструкциям на https://www.npmjs.com/package/@vkontakte/create-vk-mini-app

Выполнил команду:

create-vk-mini-app [app-directory-name] [options]
// or
npx @vkontakte/create-vk-mini-app

Итог:

create-vk-mini-app first_mini-app
🎬 Creating project...
⏱ Copying VK Mini App source and configuration files..
🖼 VK Mini App source and configuration files are copied
⏱ Installing project dependencies — it might take a few minutes..
npm ERR! code EUSAGE
npm ERR! 
npm ERR! `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 ERR! 
npm ERR! Invalid: lock file's type-fest@0.21.3 does not satisfy type-fest@0.13.1
npm ERR! Missing: @types/react@17.0.53 from lock file
npm ERR! Missing: @types/prop-types@15.7.5 from lock file
npm ERR! Missing: @types/scheduler@0.16.2 from lock file
npm ERR! Missing: csstype@3.1.1 from lock file
npm ERR! Missing: type-fest@0.21.3 from lock file
npm ERR! Missing: typescript@4.9.5 from lock file
npm ERR! 
npm ERR! Clean install a project
npm ERR! 
npm ERR! Usage:
npm ERR! npm ci
npm ERR! 
npm ERR! Options:
npm ERR! [-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
npm ERR! [-E|--save-exact] [-g|--global] [--install-strategy <hoisted|nested|shallow>]
npm ERR! [--legacy-bundling] [--global-style]
npm ERR! [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
npm ERR! [--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
npm ERR! [--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
npm ERR! [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
npm ERR! [-ws|--workspaces] [--include-workspace-root] [--no-install-links]
npm ERR! 
npm ERR! aliases: clean-install, ic, install-clean, isntall-clean
npm ERR! 
npm ERR! Run "npm help ci" for more info

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/doox911/.npm/_logs/2023-02-12T13_12_05_663Z-debug-0.log
😳 npm error:
Error: Command failed: cd first_mini-app && npm ci
npm ERR! code EUSAGE
npm ERR! 
npm ERR! `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 ERR! 
npm ERR! Invalid: lock file's type-fest@0.21.3 does not satisfy type-fest@0.13.1
npm ERR! Missing: @types/react@17.0.53 from lock file
npm ERR! Missing: @types/prop-types@15.7.5 from lock file
npm ERR! Missing: @types/scheduler@0.16.2 from lock file
npm ERR! Missing: csstype@3.1.1 from lock file
npm ERR! Missing: type-fest@0.21.3 from lock file
npm ERR! Missing: typescript@4.9.5 from lock file
npm ERR! 
npm ERR! Clean install a project
npm ERR! 
npm ERR! Usage:
npm ERR! npm ci
npm ERR! 
npm ERR! Options:
npm ERR! [-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
npm ERR! [-E|--save-exact] [-g|--global] [--install-strategy <hoisted|nested|shallow>]
npm ERR! [--legacy-bundling] [--global-style]
npm ERR! [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
npm ERR! [--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
npm ERR! [--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
npm ERR! [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
npm ERR! [-ws|--workspaces] [--include-workspace-root] [--no-install-links]
npm ERR! 
npm ERR! aliases: clean-install, ic, install-clean, isntall-clean
npm ERR! 
npm ERR! Run "npm help ci" for more info

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/doox911/.npm/_logs/2023-02-12T13_12_05_663Z-debug-0.log

OS: Ubuntu 22.04 LTS

Создаётся директория с проектом. Если зайти в ней и выполнить установку пакетов - всё работает.

@b5414
Copy link

b5414 commented Mar 7, 2023

#77

@pasha-nikitin-2003
Copy link
Contributor

Проблема исправлена в последней версии create-vk-mini-app.

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

3 participants