Я недавно переместил компьютеры в свою работу и клонировал свой код из github, чтобы работать с ним на моем новом компьютере. Когда я открыл свой ионный проект, я попытался использовать ионную подачу, чтобы убедиться, что все работает нормально, и я получил сообщение об ошибке:
Термин «ионный» не распознается как имя командлета. , функция, файл сценария или работоспособная программа. Проверьте правильность написания имени или, если путь был указан, проверьте правильность пути и повторите попытку.
Затем я попробовал некоторые решения из стека, такие как npm install ionic -g, и это создаетмного файлов, которые я никогда раньше не видел, например:
Пример кода внутри одного из них:
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/node_modules/mocha/bin/_mocha" "$@"
ret=$?
else
node "$basedir/node_modules/mocha/bin/_mocha" "$@"
ret=$?
fi
exit $ret
Я не уверен, почему они создаются каждый раз? Кто-нибудь знает, что мне нужно делать?
Код терминала:
PS C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app> PS C: \ Users \ aarogers \ Documents \ GitHub \almac-clinic-services-app> npm install C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ parser -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app\ node_modules @ babel \ parser \ bin \ babel-parser.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ acorn -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-services-app \ node_modules \ acorn \ bin \ acorn C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinical-services-app \ ansi-html -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-services-app \ node_modules \ ansi-html \ bin \ ansi-html C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ atob -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinical-services-app \ node_modules \ atob \ bin \ atob.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ babylon -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-клиникаal-services-app \ node_modules \ babylon \ bin \ babylon.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ cssesc -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical Services-App \ node_modules \ cssesc \ bin \ cssesc C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ esparse -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-services-app \ node_modules \ esprima \ bin \ esparse.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ esvalidate -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-services-app \ node_modules \ esprima \ bin \ esvalidate.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinical-services-app \ he -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-services-app \ node_modules \ he \ bin \ he C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ image-size -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-services-app \ node_modules \ image-size \ bin \ image-size.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ not-in-install -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinical-services-app \ node_modules \ in-publish \ not-in-install.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ in-install -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-App \ node_modules \ in-publish \ in-install.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \not-in-publish -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ node_modules \ in-publish \ not-in-publish.js C: \ Users \ aarogers \ Documents \ GitHub \almac-clinic-services-app \ in-publish -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ node_modules \ in-publish \ in-publish.js C: \ Users \ aarogers \Документы \ GitHub \ almac-Clinical-Services-App \ is-ci -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ node_modules \ is-ci \ bin.js C: \ Users \aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ jsesc -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ node_modules \ jsesc \ bin \ jsescC: \ Users \ aarogers \ Documents \ GitHub \ almac-clinical-services-app \oose-envify -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-приложение \ node_modules \oose-envify \ cli.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ miller-rabin -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ node_modules \ miller-rabin\ bin \ miller-rabin C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ mime -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ node_modules \ mime\ cli.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ watch -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ node_modules @ cnakazawa \ watch\ cli.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ blocking-proxy -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ node_modules \ blocking-proxy \ built \ lib \ bin.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinical-services-app \ json5 -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-services-app \ node_modules \ json5 \ lib \ cli.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinical-services-app \ mkdirp -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-services-app \ node_modules \ mkdirp \ bin \ cmd.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ nopt -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-services-app \ node_modules \ nopt \ bin \ nopt.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinical-services-app \ errno -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-services-app \ node_modules \ errno \ cli.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ regjsparser -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-services-app \ node_modules \ regjsparser \ bin \ parser C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ import-local-fixture -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-services-app \ node_modules \ import-local \ fixtures \ cli.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ semver -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ node_modules \ semver \ bin \ semver C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ browserslist -> C: \ Users \ aarogers \ Documents \GitHub \ almac-clinical-services-app \ node_modules \ browserslist \ cli.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ sha.js -> C: \ Users \ aarogers \ Documents \GitHub \ almac-clinic-services-app \ node_modules \ sha.js \ bin.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ js-yaml -> C: \ Users \ aarogers \Documents \ GitHub \ almac-Clinical-Services-App \ node_modules \ js-yaml \ bin \ js-yaml.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-приложение \ strip-indent -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinical-services-app \ node_modules \ strip-indent \ cli.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-приложение \ autoprefixer -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinical-services-app \ node_modules \ autoprefixer \ bin \ autoprefixer C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-services-app \ terser -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinical-services-app \ node_modules \ terser \ bin \ uglifyjs C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ JSONStream -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ node_modules \ JSONStream \ bin.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \multicast-dns -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ node_modules \ multicast-dns \ cli.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ tree-kill -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinical-services-app \ node_modules \ tree-kill \ cli.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-services-app \ ts-jest -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ node_modules \ ts-jest \ cli.jsC: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-App \ sshpk-conv -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ node_modules \ sshpk \ bin \ sshpk-conv C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ sshpk-sign -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ node_modules \ sshpk \ bin\ sshpk-sign C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ sshpk-verify -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ node_modules \ sshpk\ bin \ sshpk-verify C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ escodegen -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ node_modules \ escodegen\ bin \ escodegen.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ esgenerate -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ node_modules \ escodegen\ bin \ esgenerate.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ uglifyjs -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ node_modules \ uglify-js \ bin \ uglifyjs C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ uuid -> C: \ Users \ aarogers \ Documents \ GitHub \almac-clinic-services-app \ node_modules \ uuid \ bin \ uuid C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ lessc -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical Services-App \ node_modules \ less \ bin \ lessc C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ build-optimizer -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-clin-services-app \ node_modules @ angular-devkit \ build-optimizer \ src \ build-optimizer \ cli.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ which -> C: \Пользователи \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ node_modules \ which \ bin \ which C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ handlebars -> C: \ Users \aarogers \ Documents \ GitHub \ almac-clinic-services-app \ node_modules \ handlebars \ bin \ handlebars C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-services-app \ jasmine -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ node_modules \ jasmine \ bin \ jasmine.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-services-app \ rimraf -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinical-services-app \ node_modules \ rimraf \ bin.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ node-gyp -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ node_modules \ node-gyp \ bin \ node-gyp.js C: \ Users \ aarogers \ Documents \ GitHub \almac-clinic-services-app \ shjs -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ node_modules \ shelljs \ bin \ shjs C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical Services-App \ Tape -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-App \ node_modules \ tape \ bin \ tape C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-services-app \ mocha -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ node_modules \ mocha \ bin \ mocha C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-services-app_mocha -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ node_modules \ mocha \ bin_mocha C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ sane -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-App \ node_modules \ sane \ src \ cli.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ stylus -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-App \ node_modules \ stylus \ bin \ stylus C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-приложение \ ios-sim -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ node_modules \ ios-sim \ bin \ ios-sim C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \jest-runtime -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinical-services-app \ node_modules \ jest-runtime \ bin \ jest-runtime.jsC: \ Users \ aarogers \ Documents \ GitHub \ almac-clinical-services-app \ webpack -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-приложение \ node_modules \ webpack \ bin \ webpack.jsC: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ webpack-dev-server -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-приложение \ node_modules \ webpack-dev-server \ bin \ webpack-dev-server.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinical-services-app \ sassgraph -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-services-app \ node_modules \ sass-graph \ bin \ sassgraph C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinical-services-app \ node-sass -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-services-app \ node_modules \ node-sass \ bin \ node-sass C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ ng -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinical-services-app \ node_modules @ angular \ cli \ bin \ ng C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ ng-xi18n -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ node_modules @ angular \ compiler-cli \ src \ extract_i18n.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ ivy-ngcc -> C: \Пользователи \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ node_modules @ angular \ compiler-cli \ src \ ngcc \ main-ngcc.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ ngc -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ node_modules @ angular \ compiler-cli \ src \ main.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical Services-App \ Capitor -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-App \ node_modules @ Capitor \ Cli \ Bin \ Capitor C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical Services-App \ Cap -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-App \ node_modules @ конденсатор \ cli \ bin \ конденсатор C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical Services-App \ Ionic-Lab -> C: \ Users \ aarogers \ Documents \ GitHub \ Almac-Clinical-Services-App \ Nodemomodules @ Ionic \ Lab \ bin \ Ionic-Lab C: \ Users \aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ create -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ node_modules \ cordova-android \ bin \ create C: \ Users \aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ jest -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ node_modules \ jest \ bin \ jest.js C: \ Users \aarogers \ Documents \ GitHub \ almac-Clinical-Services-App \ karma -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ node_modules \ karma \ bin \ karma C: \ Users \ aarogers \Документы \ GitHub \ almac-clinical-services-app \ webdriver-manager -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ node_modules \ protractor \ bin \ webdriver-manager C: \ Users \aarogers \ Documents \ GitHub \ almac-clinic-services-app \ protractor -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ node_modules \ protractor \ bin \ protractor C: \ Users \ aarogers \Документы \ GitHub \ almac-Clinical-Services-App \ TS-узел -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ node_modules \ ts-node \ dist \ bin.js C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ tslint -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-services-app \ node_modules \ tslint \ bin \ tslint C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinical-services-app \ tsc -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \ node_modules \ typescript \ bin \ tsc C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinical-services-app \ tsserver -> C: \ Users \ aarogers \ Documents \ GitHub \ almac-Clinical-Services-app \node_modules \ typescript \ bin \ tsserver
node-sass@4.12.0 install C: \ Users \ aarogers \ Documents \ GitHub \ almac-clinic-services-app \ node_modules \ node-sass node scripts / install. js
ANSI.HTML
> node_modules
.gitignore
.idea
.travis.yml
test
examples
Буду очень признателен за помощь!