流星命令未运行

时间:2020-06-14 07:34:54

标签: meteor

我通过运行此程序在以管理员身份运行的powershell中安装了Chocolatey,结果是:

PS C:\windows\system32> Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
Getting latest version of the Chocolatey package for download.
Getting Chocolatey from https://chocolatey.org/api/v2/package/chocolatey/0.10.15.
Extracting C:\Users\HP\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip to C:\Users\HP\AppData\Local\Temp\chocolatey\chocInstall...
Installing chocolatey on this machine
Creating ChocolateyInstall as an environment variable (targeting 'Machine')
  Setting ChocolateyInstall to 'C:\ProgramData\chocolatey'
WARNING: It's very likely you will need to close and reopen your shell
  before you can use choco.
Restricting write permissions to Administrators
We are setting up the Chocolatey package repository.
The packages themselves go to 'C:\ProgramData\chocolatey\lib'
  (i.e. C:\ProgramData\chocolatey\lib\yourPackageName).
A shim file for the command line goes to 'C:\ProgramData\chocolatey\bin'
  and points to an executable in 'C:\ProgramData\chocolatey\lib\yourPackageName'.

Creating Chocolatey folders if they do not already exist.

WARNING: You can safely ignore errors related to missing log files when
  upgrading from a version of Chocolatey less than 0.9.9.
  'Batch file could not be found' is also safe to ignore.
  'The system cannot find the file specified' - also safe.
WARNING: Not setting tab completion: Profile file does not exist at
'C:\Users\HP\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1'.
Chocolatey (choco.exe) is now ready.
You can call choco from anywhere, command line or powershell by typing choco.
Run choco /? for a list of functions.
You may need to shut down and restart powershell and/or consoles
 first prior to using choco.
Ensuring chocolatey commands are on the path
Ensuring chocolatey.nupkg is in the lib folder

我不知道它是否已完全安装,但是在关闭并重新打开Powershell之后 我使用choco install meteor进行安装,其结果如下:

PS C:\windows\system32> choco install meteor
Chocolatey v0.10.15
Installing the following packages:
meteor
By installing you accept licenses for the packages.
meteor v0.0.2 already installed.
 Use --force to reinstall, specify a version to install, or try upgrade.

Chocolatey installed 0/1 packages.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Warnings:
 - meteor - meteor v0.0.2 already installed.
 Use --force to reinstall, specify a version to install, or try upgrade.

现在,如果我每次返回时都使用基本命令meteor create myapp

PS C:\windows\system32> meteor create myapp
usage: meteor [-h] {build,minify,inline,base64,qrcode} ...
meteor: error: argument subcmd: invalid choice: 'create' (choose from 'build', 'minify', 'inline', 'base64', 'qrcode')

我已经尝试了很多次,每次都一样,请帮帮我

0 个答案:

没有答案