Содержание
- «Current working directory is not a Cordova-based project.» #1624
- Comments
- Самые легкие способы исправить ошибку [runtime error]
- Способ №1. CCleaner
- Способ №2. DirectX
- Способ №3. Visual C++
- Способ №4. Microsoft .NET Framework
- Conda install and update do not work also solving environment get errors
- 11 Answers 11
- Ошибки при установке программ из пакета Windows Installer «.msi»
- Ошибки msi файлов
- Ещё способы решить проблему
- Ошибка установщика Windows
- Параметры реестра и службы
- Подведение итогов
«Current working directory is not a Cordova-based project.» #1624
Following the getting started instructions, I’m running into this error on step 3 when I try to run: ionic platform add android
My server is Ubuntu 14.04 LTS
The text was updated successfully, but these errors were encountered:
Either cd into your project directory or update cordova 🙂
@Jorenm did that help? If not, could you provide more information about the steps necessary to reproduce?
Hey @Jorenm, since it’s been a few weeks without a reply, I’m going to assume that did the trick. Let me know if that’s not the case though.
I’m in Ubuntu 14.04 and following the «Getting Started with Ionic» guide I’m stumbling with the same problem.
Problem is with step 3.
I cd into my app and when I try to add a platform I get the next message:
It seems I might be missing something since the directory only contains this two files:
I just updated ionic and cordova and am getting the same error when attempting to «ionic platform add android»
Oh, I just saw everything is under ionic-app-base-master, so cd into ionic-app-base-master and seems to run fine now.
Ubuntu 14.04 64bit, just update to latest ionic.
I’m still getting an error after changing directory, for android:
looks like the latest ionic only works with node version 0.11.13
It seems I have that version of node:
@lobo-tuerto I have exactly same problem with stable node v0.10.30 (on 64bit ubuntu 14.04), have you found any solution?
Not yet, waiting for a reply from @playground or someone. I haven’t had the time to look into this and just wanted to play a little bit with the framework on spare time.
Same problem, Ubuntu 14.04×64,
nodejs: v0.10.30
ant : Apache Ant(TM) version 1.9.3 compiled on April 8 2014
Sencha Cmd v5.0.1.231
phonegap: 3.5.0-0.21.14
@lobo-tuerto try to do:
sudo aptitude install -y libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386
and then add android platform to cordova:
cordova platform add android
Now i can run sencha application:
sencha app build -run native
I already has those installed. I just updated the ionic CLI program from 1.1.9 to 1.1.10. Same error.
hmm, works fine for me.
I was fighting with this yesterday more than 4 hours . Now is working on my ubuntu 14.04 64bit. I made many thinks (may be I forgot something):
I already had installed java-8-oracle, then
then I download from http://developer.android.com/sdk/index.html
(click on «view all downloads and sizes»)
extract it somewhere
/.bashrc and add this path:
then I run Android SDK manager just type $ android and install all I need
finally I can run one of this without errors in project directory:
May be I forgot something because I tried follow many tips from stackoverflow some of them was wrong. I hope it help some of you.
Источник
Самые легкие способы исправить ошибку [runtime error]
Если вы ищете как runtime error исправить — вы попали по адресу.
Причин появления таковой может быть огромное множество.
Чаще всего причина состоит в том, что выходит новая версия того или иного приложения/игры и она устанавливается прямо поверх старой.
Хотя это далеко не единственная ситуация, которая может вызвать ее появление.
После того, как вы нажимаете на единственную кнопку в окне ошибки, оно просто закрывается и программа также перестает работать.
Бывает, что она все же продолжает работать, но в ней невозможно ничего сохранить. В любом случае, есть несколько способов исправить ее.
Как выглядит ошибка
Способ №1. CCleaner
Самое простое решение заключается в том, чтобы воспользоваться программой для чистки реестра. Как это работает?
Все просто – чистильщик реестра, собственно, и предназначен для того, чтобы исправлять всевозможные проблемы, вроде той, которую рассматриваем мы, систематизировать файлы и добавлять то, чего недостает ему для нормальной работы.
Лучшей по праву считается CCleaner, хотя вы можете воспользоваться и другой.
Чтобы использовать ее, сделайте вот что:
- Скачайте (вот ссылка на бесплатную) и установите программу.
- Запустите. Перейдите на вкладку «Реестр» на панели слева.
- В разделе «Целостность» поставьте галочки на всех возможных пунктах – никто не знает, в чем именно проблема.
- Нажмите кнопку «Поиск проблем». Когда этот процесс закончится, нажмите кнопку «Исправить…».
- Подождите, пока приложение исправит все проблемы. Перезагрузите компьютер.
После этого runtime error должен перестать появляться. Если нет, переходим к следующему решению.
Способ №2. DirectX
Вполне вероятно, что ее появление вызывают какие-то проблемы с DirectX. Возможно, какие-то файлы исполняемых библиотек были повреждены или же существующие библиотеки банально устарели.
В любом случае, лучше всего просто установить наиболее актуальные варианты и, опять же, перезагрузить компьютер.
Для этого зайдите на сайт Microsoft, на страницу с возможностью скачать DirectX. Запустите скачанный файл и выполните все действия, подразумевающие установку исполняемых библиотек.
Здесь нет никаких особых рекомендаций – обычная.
Страница загрузки DirectX
Если после установки и перезагрузки компьютера ошибка не исчезла, идем дальше.
Способ №3. Visual C++
О распространяемом пакете Visual C++ в контексте рассматриваемой проблемы можно скачать то же самое, что и о библиотеках DirectX.
Возможно, какие-то файлы были повреждены или версия устарела.
Бывают в данном случае и другие ситуации, когда установленная C++ попросту не подходит для вашей операционной системы.
Ниже приведена таблица с вариантами, которые подходят для разных версий ОС.
Таблица 1. Требуемые версии Visual C++ для Windows
| Операционная система | Требуемая Visual C++ |
|---|---|
| Windows XP и ниже | C++2008 |
| Windows 7 | C++2010 |
| Windows 8 и 10 | Наиболее актуальная на данный момент |
Так вот, в зависимости от того, какая у вас ОС, вам следует скачать и инсталировать на свой компьютер C++2008 (64-бит, 32-бит), C++2010 (64-бит, 32-бит) или же C++2015 обновление 3.
Это наиболее актуальная версия по состоянию на июнь 2017 года. В будущем выйдут новые, поэтому следите за новостями на официальном сайте Microsoft.
Скачивание происходит одинаково – выбираем язык распространяемого компонента и жмем кнопку «Скачать». После этого останется запустить загруженный файл.
После этого перезагрузите компьютер.
Страница загрузки Visual C++
Способ №4. Microsoft .NET Framework
Здесь все то же самое – Microsoft .NET Framework тоже может вызывать рассматриваемую проблему из-за отсутствия каких-то собственных файлов. И этот компонент также нужно скачать и установить.
Но есть определенный, правильный порядок ее инсталяции:
Сначала необходимо инсталируйте версию 2.0 (вот ссылка). Попробуйте запустить программу, в которой раньше возникала проблема, если она не исчезла, устанавливайте дальше.
Если не помогает, 4.0 (ссылка).
Наконец, если у вас Windows Vista SP2, 7 SP1, 8, 8.1, Server 2008 SP2, Server 2008 R2 SP1, Server 2012 или Server 2012 R2, установите 4.6.2 (скачать).
Скачивание происходит точно так же, как и в случае с пакетами Visual C++.
Если ничего из этого не помогает, значит, случился сбой самой операционной системы. Пригласите на дом специалиста или сдайте компьютер в сервисный центр, если это возможно.
В крайнем случае, сделайте откат системы или вовсе переустановите ее.
Источник
Conda install and update do not work also solving environment get errors
I am using anaconda as below:
Now I have 2 issues that stop my work. 1) I cannot use conda install for any package. It will give me the error in solving environment list this:
then it will fail again and give message like this:
Even after the checking for incompatible packages, it didn’t give me the solution.
2) When I want to upgrade or downgrade conda by the command:
It will give me errors again in the solving environment , and I think this is related to the first issue.
Now I cannot use conda for anything, please advise and thank you!
11 Answers 11
I ran into the same problem and I couldn’t find a solution, but I did find a workaround. If you create an env and activate that env and then do the install, it seems to work just fine. If you don’t need a lot of libraries I would try that.
I started running in to this problem when one package suggested following modifications before installation
so I just reverted it and voila error’s gone
I solved a similar problem by doing the following:
You may downgrade to an older version of conda 4.6.14 and then install your packages.
If your conda version is greater than or equal to 4.8, you may see that error.
Downgrade your conda if possible using the following commands
Then create your virtual environment:
Then activate your myenv_conda
Now try to install packages using conda -c install anaconda
https://stackoverflow.com/a/61117831/7802476 helped me. Creating a new environment using the accepted answer didn’t get my jupyter notebook to recognize the installed opencv. I could only import cv2 when I was in the environment on my terminal.
The fix was to use pip instead of conda, pip install opencv-python
I run into same problem while installing geopandas . The issue was gone after I upgraded to a newer version of Anaconda using:
Note: you’ll have to modify the path C:appsanaconda3 pointing to your own installation directory.
Strangely, I did download Anaconda from the official homepage just a few hours ago and thought I had the newest version.
I had same problem but I solved because of SKİD.
After you create new env, You can run one of the codes in this link.
I’ve generally had good results with conda and pip, but learned over time that environments really can get broken by unusual combinations of packages, and just starting a new env from scratch is often the only way forward. In my case it was tensorflow-gpu that wouldn’t install from conda-forge, into an env I’d already been using for some weeks. The list of packages cited as being incompatible was in the dozens. I tried all the things listed on this page, but in the end I just hammered out a new env. Since I was deducing what packages I needed to install in the new env by running my program and installing one package at each error (ie instead of being methodical about listing my former env), along the way I reproduced this frozen solve thing several times. Each time it happened, I shuffled that conda package back to the initial conda create command and started again. Eventually my program ran in the new env, with tensorflow-gpu imported, and the root cause was revealed as conda installs which occur after pip installs. It wasn’t anything to do with conda version or conda config.
A specific note for anyone using opencv-python , I ended up needing to install qt via conda, before attempting to install opencv-python via pip. That was a tricky one because it’s a runtime error, and on stack overflow many of the solutions refer to various qt lib requirements which aren’t part of python/conda and which I already had.
Источник
Ошибки при установке программ из пакета Windows Installer «.msi»

Файлы с расширением .msi это обычные пакеты установки (дистрибутивы) из которых ставится программа. В отличии от обычных «setup.exe», для запуска файла msi система использует службу Windows Installer (процесс msiexec.exe). Говоря простыми словами, установщик Windows разархивирует и запускает файлы из дистрибутива. Когда Windows Installer не работает, то появляются различные ошибки.
Вообще, меня это жутко бесит, т.к. после глупого сообщения об ошибке совсем непонятно что делать дальше. Microsoft специально разработали установщик Windows Installer для расширения возможностей установки программ (в основном это касается системных администраторов), но не позаботились должным образом о безглючной работе этой службы или хотя бы об адекватных сообщениях о проблемах. А нам теперь это разгребать 🙂
Неполадки могут быть с работой самой службы или могут возникать в процессе установки программ, когда всё настроено, в принципе, правильно. В первом случае нужно ковырять службу установщика, а во втором решать проблему с конкретным файлом. Рассмотрим оба варианта, но сначала второй.
Ошибки msi файлов
Очень часто ошибки появляются из-за недостаточных прав системы на файлы или папки. Нельзя сказать, что Windows Installer не работает, в этом случае достаточно просто добавить нужные права и всё заработает. Буквально вчера я столкнулся с тем, что скаченный дистрибутив .msi не захотел устанавливаться, при этом успешно запускается мастер установки, выбираются параметры, но затем система думает несколько секунд и выдаёт ошибку:
«Error reading from file «имя файла» verify that the file exists and that you can access it» (Error 1305). Переводится «Ошибка чтения из файла … проверьте существует ли файл и имеете ли вы к нему доступ». Ну не тупняк ли? Естественно, что кнопка «Повторить» не помогает, а отмена прекращает всю установку. Сообщение особой смысловой нагрузки также не несёт, т.к. файл точно существует и я имею к нему доступ, иначе бы просто не смог его запустить и получить это сообщение, к тому же почему-то на английском языке 🙂
А ошибка в том, что не Я должен иметь доступ к файлу, а установщик Windows, точнее сама Система. Решается очень просто:
- Кликаем правой кнопкой по файлу с расширением .msi, выбираем «Свойства»
- На вкладке «Безопасность» смотрим, есть ли в списке пользователь с именем «система» или «System»
- Скорее всего вы такого не увидите. Поэтому будем добавлять вручную. Нажимаем кнопку «Изменить…», затем «Добавить…»
- В поле пишем «система» или «System» (если у вас английская Windows) и нажимаем «Проверить имена». При этом слово должно стать подчёркнутым как на картинке.
- Нажимаем «ОК», ставим галочку «Полный доступ», «ОК»
- Кнопка «Дополнительно» -> «Изменить разрешения…» ставим «Добавить разрешения, наследуемые от родительских объектов», «ОК» три раза.
Теперь ошибка установщика не появится! Можно добавить доступ на всю папку, из которой вы обычно инсталлируете программы, например на папку «Downloads», как у меня. Смотрим видео по решению проблем с правами доступа:
В Windows XP вкладки «Безопасность» не будет, если включён простой общий доступ к файлам. Чтобы его выключить, нужно зайти в «Пуск -> Панель управления -> Свойства папки -> Вид» и выключить опцию «Использовать простой общий доступ к файлам». В урезанных версиях Windows 7/10 и XP вкладки «Безопасность» нет в принципе. Чтобы её увидеть, нужно загрузить Windows в безопасном режиме и зайти в неё под администратором.
Ещё способы решить проблему
- Запускайте установку, войдя в систему под администраторским аккаунтом
- Правой кнопкой по пакету «.msi» и выбираем «Запуск от имени Администратора»
- Выключите антивирус на время
- Включить режим совместимости с предыдущими операционными системами. Для этого зайдите в свойства файла msi и на вкладке «Совместимость» поставьте галочку «Запустить программу в режиме совместимости»
- Если файл на флешке, то попробуйте скопировать его куда-нибудь на жёсткий диск и запустить оттуда (бывает, что запрещена установка программ со съёмных накопителей)
- Попробуйте просто создать новую папку с любым именем в корне диска, перекинуть туда дистрибутив и запустить его оттуда
Описанный метод поможет при разных сообщениях, с разными номерами. Например, вы можете видеть такие ошибки файлов msi:
- Error 1723
- Internal Error 2203
- Системная ошибка 2147287035
- Ошибка «Невозможно открыть этот установочный пакет»
- Ошибка 1603: Во время установки произошла неустранимая ошибка
Во всех этих случаях должна помочь установка прав на файл и/или на некоторые системные папки. Проверьте, имеет ли доступ «система» к папке временных файлов (вы можете получать ошибку «Системе не удается открыть указанное устройство или файл»). Для этого:
- Сначала узнаем нужные пути. Нажмите «Win + Pause» и зайдите в «Дополнительные параметры системы -> Вкладка «Дополнительно» -> кнопка «Переменные среды»»
- В списках ищем переменные с названиями «TEMP» и «TMP» (значения обычно совпадают), в них записаны пути к временным папкам, которые использует установщик Windows
- Теперь идём к этим папкам и смотрим в их свойствах, имеет ли к ним доступ «система». Чтобы быстро получить путь к временной папке пользователя, кликните два раза по переменной, скопируйте путь и вставьте его в адресной строке «Проводника» Windows
После нажатия «Enter» путь преобразится на «нормальный» и вы переместитесь в реальную временную папку. Права на неё и надо проверять. Также рекомендую очистить временные папки от всего что там скопилось или даже лучше удалить их и создать новые с такими же названиями. Если не получается удалить папку, почитайте как удалить неудаляемое, но это не обязательно.
Если служба Windows Installer всё равно не хочет работать, то проверьте права на папку «C:Config.Msi», сюда «система» также должна иметь полный доступ. В этом случае вы могли наблюдать ошибку «Error 1310». На всякий случай убедитесь, что к папке КУДА вы инсталлируете софт также есть все права.
Если вы используете шифрование папок, то отключите его для указанных мной папок. Дело в том, что хотя мы сами имеем к ним доступ, служба Microsoft Installer не может до них достучаться пока они зашифрованы.
Ещё ошибка может быть связана с битым файлом. Может быть он не полностью скачался или оказался битым уже на сервере. Попробуйте скачать его ещё раз оттуда же или лучше с другого места.
Ошибка установщика Windows
В случае общих проблем не будут устанавливаться никакие msi файлы, процесс установки, скорее всего, даже не начнётся. При этом могут появляться ошибки вида:
- Нет доступа к службе установщика Windows
- Не удалось получить доступ к службе установщика Windows
- Ошибка пакета установщика Windows (1719)
или ещё нечто подобное со словами «ошибка msi», «Windows Installer Error». Всё это означает, что система дала сбой и теперь её надо лечить. Может вы ставили какой-то софт, который испортил системные файлы и реестр, или подхватили вирус. Конечно, никогда не будет лишним удалить вирусы, или убедиться что их нет. Но оставьте этот вариант на потом, т.к. обычно проблема кроется в другом.
Сначала давайте проверим работает ли служба Windows Installer:
- Нажмите «Win + R» и введите services.msc
- Найдите в конце списка службу «Установщик Windows» или «Windows Installer»
- Тип запуска должен быть «Вручную». Если она «Отключена», то зайдите в «Свойства» и выберите «Вручную»
- Затем кликните по ней правой кнопкой и выберите «Запустить» или «Перезапустить». Если ошибок нет и состояние переходит в режим «Работает», то здесь всё нормально.
- Нажмите «Win + R» и введите msiexec. Если модуль MSI работает нормально, то должно появиться окно с версией установщика и параметрами запуска, а не ошибка.
Следующее что я посоветую сделать – это выполнить команду сканирования системы на повреждённые и изменённые системные файлы. Нажмите «Win + R» и введите
Sfc /scannow
Произойдёт поиск и замена испорченных файлов на оригинальные, при этом может потребоваться вставить установочный диск с Windows XP-7-10. После окончания процесса перегрузитесь и посмотрите, решена ли проблема.
Microsoft сам предлагает утилиту, призванную решить нашу проблему. Запустите программу Easy Fix и следуйте мастеру.
Параметры реестра и службы
Следующий способ устранения ошибки – восстановление рабочих параметров в реестре установщика Windows Installer.
Для этого скачайте архив и запустите оттуда два reg-файла, соответственно своей версии Windows. Согласитесь с импортом настроек.
В Windows XP или Windows Server 2000 установите последнюю версию установщика 4.5.
Если не помогло, то проделайте ещё перерегистрацию компонентов:
- Нажмите «Win + R» и введите «cmd». Затем в чёрном окне введите последовательно команды:
MSIExec /unregister
MSIExec /regserver - В ответ должна быть пустота, никаких ошибок. Если проблема не решена, введите ещё команду
regsvr32 msi.dll - Закройте чёрное окно
Если пишет, что не хватает прав, то нужно запускать командную строку от имени Администратора.
Если команды выполнились, но не помогло, то скачайте файл и запустите msi_error.bat из архива, проверьте результат.
Последний вариант — скачайте программу Kerish Doctor, почитайте мою статью, там есть функция исправления работы службы установщика и многих других частых проблем Windows.
Также, многие программы используют .NET Framework, поэтому не будет лишним установить последнюю версию этого пакета. И, напоследок, ещё один совет: если в пути к файлу-дистрибутиву есть хоть одна папка с пробелом в начале названия, то удалите пробел. Такой простой приём решит вашу проблему 🙂
Подведение итогов
Ошибки с установщиком Windows очень неприятные, их много и сразу непонятно куда копать. Одно ясно – система дала сбой и нужно восстанавливать её до рабочего состояния. Иногда ничего не помогает и приходится переустанавливать Windows. Однако не торопитесь это делать, попробуйте попросить помощи на этом форуме. В точности опишите вашу проблему, расскажите что вы уже делали, какие сообщения получили, и, возможно, вам помогут! Ведь мир не без добрых людей 🙂
Источник
I created a Phonegap project according to instructions, checked it into SVN, checked it out and then discovered I could no longer run the build command—necessary to have changes to www be replicated to each platform. Terminal in Mac OS X shows this error:
[Error: Current working directory is not a Cordova-based project.]
Kevin Panko
8,26919 gold badges51 silver badges61 bronze badges
asked Dec 16, 2013 at 16:23
Chad SchultzChad Schultz
7,6506 gold badges57 silver badges94 bronze badges
Yes as others have stated already you need to check into your SVN a few config files and folders in order to make PhoneGap work when you check it out. This is what defines a PhoneGap project:
- Has a .cordova directory, with a config.json inside.
- Has a www directory, with a config.xml inside.
- Has a platforms directory.
I found that with that in place you can use PhoneGap commands without problems. If you need to see an example of those config files, just run phonegap create myapp.
answered Apr 18, 2014 at 10:49
Jesús CarreraJesús Carrera
11.2k4 gold badges62 silver badges55 bronze badges
5
In a new directory, I just typed
cordova create .
and that created the .cordova directory as required. Then copy into that directory the phonegap files you want to use.
answered Dec 17, 2013 at 5:49
Thunder RabbitThunder Rabbit
5,3478 gold badges44 silver badges82 bronze badges
2
When i am creating my project, I got a same error too.
You need to enter into the folder what you create before.
cd exampleapp
answered Apr 23, 2014 at 11:16
1
Doing some searching, I found quite a few complaints about the PhoneGap documentation, but eventually figured this out on my own.
when creating a project, a hidden .cordova folder is created with some project information. For whatever reason, this didn’t go into the repository the first time. I copied it over to the checked-out version and fortunately, now Cornerstone sees it and will let me check it into SVN so other team members will not run into this issue.
If you get this error, there’s probably a problem with the hidden .cordova folder inside your project folder. Either recreate the project in PhoneGap, or copy it over if you have another version of that same project.
answered Dec 16, 2013 at 16:23
Chad SchultzChad Schultz
7,6506 gold badges57 silver badges94 bronze badges
1
In my project I had nothing in www, so when I put into git the www folder was missing. I put a .gitignore into www and pushed, than it worked.
answered Apr 24, 2014 at 14:23
balazsbalazs
5,6397 gold badges35 silver badges45 bronze badges
I experienced this problem when working in an Xcode project that somehow didn’t build properly with the needed Cordova files. While the existing Cordova plugins are working, installing new ones does not.
My example is for the InAppBrowser plugin.
What I did:
- Created a new cordova project with
cordova create . - Install the needed plugins in that directory with
cordova plugin add https://github.com/apache/cordova-plugin-inappbrowser.git - Go to the plugins folder in that root directory and copy the plugin folders to the plugin folder of your Xcode project. (e.g org.apache.cordova.PLUGIN_NAME)
- In the plugin specific folder (inside plugins directory) copy the source files to the Plugins folder inside Xcode (just drag and drop them in and copy to the targets you need)
- Be sure to make the necessary changes to your config.xml file (the plugin documentation should tell you)
- Rebuild and run — plugin should be working fine
Hope this helps!
answered Mar 5, 2014 at 15:22
bgallzbgallz
1116 bronze badges
Wrong path!!
go to your workspace and run code again.
answered Sep 10, 2014 at 7:58
NuuoeiZNuuoeiZ
941 silver badge4 bronze badges
0
Make sure you are in your project directory. I made this mistake.
answered Oct 14, 2015 at 10:50
As a datapoint, I’m still seeing this error when I run ionic run android --device.
For context, I have a www/ folder and the following system info:
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean
∑ ionic info
******************************************************
Dependency warning - for the CLI to run correctly,
it is highly recommended to install/upgrade the following:
Install ios-sim to deploy iOS applications.`npm install -g ios-sim` (may require sudo)
Install ios-deploy to deploy iOS applications to devices. `npm install -g ios-deploy` (may require sudo)
******************************************************
Your system information:
Cordova CLI: 7.0.1
Ionic Framework Version: 3.1.0
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.3.5
ios-deploy version: Not installed
ios-sim version: Not installed
OS: macOS Sierra
Node Version: v7.9.0
Xcode version: Xcode 8.2.1 Build version 8C1002
******************************************************
Dependency warning - for the CLI to run correctly,
it is highly recommended to install/upgrade the following:
Install ios-sim to deploy iOS applications.`npm install -g ios-sim` (may require sudo)
Install ios-deploy to deploy iOS applications to devices. `npm install -g ios-deploy` (may require sudo)
******************************************************
∑
∑
∑ ls -la .
total 48
drwxr-xr-x 15 mikermcneil staff 510 Jun 7 08:37 .
drwxr-xr-x 21 mikermcneil staff 714 Jun 7 08:33 ..
-rw-r--r-- 1 mikermcneil staff 0 Apr 27 14:49 .gitkeep
-rw-r--r-- 1 mikermcneil staff 5885 Apr 27 17:07 config.xml
drwxr-xr-x 3 mikermcneil staff 102 Apr 27 17:07 hooks
-rw-r--r-- 1 mikermcneil staff 74 Apr 27 17:07 ionic.config.json
drwxr-xr-x 512 mikermcneil staff 17408 May 9 20:15 node_modules
-rw-r--r-- 1 mikermcneil staff 1424 May 1 12:58 package.json
drwxr-xr-x 5 mikermcneil staff 170 Apr 29 20:49 platforms
drwxr-xr-x 10 mikermcneil staff 340 Apr 27 17:07 plugins
drwxr-xr-x 6 mikermcneil staff 204 Apr 27 17:07 resources
drwxr-xr-x@ 12 mikermcneil staff 408 Jun 7 08:37 src
-rw-r--r-- 1 mikermcneil staff 465 Apr 27 17:07 tsconfig.json
-rw-r--r-- 1 mikermcneil staff 178 Apr 27 17:07 tslint.json
drwxr-xr-x 7 mikermcneil staff 238 Apr 29 18:26 www
∑
EDIT: Seems like this might be a kind of generic error message — in my case, it seemed to be related to the fact that I didn’t have ADB enabled on the android device I had connected (a Kindle Fire).
Error creating model advisor working
The Model Advisor checks your model or subsystem for modeling conditions and configuration settings that cause inaccurate or inefficient simulation of the system that the model represents. The Model Advisor checks can help you verify compliance with industry standards and guidelines. By using the Model Advisor, you can implement consistent modeling guidelines across projects and development teams.
Upon completing the analysis of your model, the Model Advisor produces a report that lists the suboptimal conditions, settings, and modeling techniques and proposes solutions, when applicable.
You can use the Model Advisor to check your model in these ways:
Interactively run Model Advisor checks
Configure the Model Advisor to automatically run edit-time checks (requires Simulink ® Check™ )
These limitations apply when you use the Model Advisor to check your model. For limitations that apply to specific checks, see the Capabilities and Limitations section in the check documentation.
If you rename a system, you must restart the Model Advisor to check that system.
In systems that contain a variant subsystem, the Model Advisor checks the active subsystem. To check both the active and inactive subsystems, set the Advisor.Application (Simulink Check) property, AnalyzeVariants , to true .
Model Advisor does not analyze commented blocks.
Checks do not search in model blocks or subsystem blocks with the block parameter Read/Write set to NoReadorWrite . However, on a check-by-check basis, Model Advisor checks do search in library blocks and masked subsystems.
Unless specified otherwise in the documentation for a check, the Model Advisor does not analyze the contents of a Model block. To run checks on referenced models, use instances of the Advisor.Application (Simulink Check) class (Simulink Check license required).
Note
Software is inherently complex and may not be free of errors. Model Advisor checks might contain bugs. MathWorks ® reports known bugs brought to its attention on its Bug Report system at https://www.mathworks.com/support/bugreports/. The bug reports are an integral part of the documentation for each release. Examine bug reports for a release as such reports may identify inconsistencies between the actual behavior of a release you are using and the behavior described in this documentation.
While applying Model Advisor checks to your model increases the likelihood that your model does not violate certain modeling standards or guidelines, their application cannot guarantee that the system being developed will be safe or error-free. It is ultimately your responsibility to verify, using multiple methods, that the system being developed provides its intended functionality and does not include unintended functionality.
Model Advisor Checks Documentation
The Model Advisor only displays the checks for your installed products. This table provides links to the product-specific check documentation. A product license may be required to review some of the documentation.
Run Model Advisor Checks and Review Results
You can use the Model Advisor to check your model interactively against modeling standards and guidelines. The following example uses the sldemo_mdladv model to demonstrate the execution of the Model Advisor checks using the Model Advisor.
Open the Model Advisor example model sldemo_mdladv .
To open the Model Advisor, in the Simulink editor, click the Modeling tab and select Model Advisor. A System Selector ― Model Advisor dialog box opens. Select the model or system that you want to review and click OK.
In the left pane of the Model Advisor, select the checks you want to run on your model:
You can select the checks by using the By Product or By Task folders.
Show By Product Folder ― Displays checks available for each product
Show By Task Folder ― Displays checks related to specific tasks
Checks with the icon 
Checks with the icon 
Click on the folder that contains the checks and, on the toolstrip, select Run Checks to execute the analysis. To run a single check, right-click the check in the folder and select Run This Check.
View the results on the Model Advisor User Interface. This table shows the common check status results; notice that different icons are used depending on the parameter set for Check result when issues are flagged in the Model Advisor Configuration Editor (requires a Simulink Check license). For more information about this parameter, see Specify Parameters for Check Customization (Simulink Check) .
Источник
Model Advisor does not work for Reference Configuration
Direct link to this question
Direct link to this question
- main.sldd file with parameters and signals; also, reference configuration is stored in the same main.sldd file
- main.slx model and a couple of .slx files that are linked to the main model via model references
- then, I copied Port Color checks from this instruction: https://www.mathworks.com/help/slcheck/ug/fix-a-model-during-edit-time-to-comply-with-conditions-that-you-specify-with-the-model-advisor.html
1 Comment
Direct link to this comment
Direct link to this comment
Answers (0)
See Also
Categories
Products
Release
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- Deutsch
- English
- Français
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 简体中文 Chinese
- English
- 日本 Japanese (日本語)
- 한국 Korean (한국어)
Accelerating the pace of engineering and science
MathWorks is the leading developer of mathematical computing software for engineers and scientists.
Источник
Model Advisor does not work for Reference Configuration
Direct link to this question
Direct link to this question
- main.sldd file with parameters and signals; also, reference configuration is stored in the same main.sldd file
- main.slx model and a couple of .slx files that are linked to the main model via model references
- then, I copied Port Color checks from this instruction: https://www.mathworks.com/help/slcheck/ug/fix-a-model-during-edit-time-to-comply-with-conditions-that-you-specify-with-the-model-advisor.html
1 Comment
Direct link to this comment
Direct link to this comment
Answers (0)
See Also
Categories
Products
Release
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- Deutsch
- English
- Français
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 简体中文 Chinese
- English
- 日本 Japanese (日本語)
- 한국 Korean (한국어)
Accelerating the pace of engineering and science
MathWorks is the leading developer of mathematical computing software for engineers and scientists.
Источник
Model Advisor does not work for Reference Configuration
Direct link to this question
Direct link to this question
- main.sldd file with parameters and signals; also, reference configuration is stored in the same main.sldd file
- main.slx model and a couple of .slx files that are linked to the main model via model references
- then, I copied Port Color checks from this instruction: https://www.mathworks.com/help/slcheck/ug/fix-a-model-during-edit-time-to-comply-with-conditions-that-you-specify-with-the-model-advisor.html
1 Comment
Direct link to this comment
Direct link to this comment
Answers (0)
See Also
Categories
Products
Release
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- Deutsch
- English
- Français
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 简体中文 Chinese
- English
- 日本 Japanese (日本語)
- 한국 Korean (한국어)
Accelerating the pace of engineering and science
MathWorks is the leading developer of mathematical computing software for engineers and scientists.
Источник
Adblock
detector
| Product | Model Advisor Check Documentation |
|---|---|
| Simulink | Simulink Checks |
| Embedded Coder ® | Embedded Coder Checks (Embedded Coder) |
| AUTOSAR Blockset | AUTOSAR Blockset Checks (AUTOSAR Blockset) |
| Simulink Coder™ | Simulink Coder Checks (Simulink Coder) |
| HDL Coder™ | HDL Code Advisor Checks (HDL Coder) |
| Simulink Code Inspector™ | Simulink Code Inspector Checks (Simulink Code Inspector) |
| Simulink Check | |
| Simulink Design Verifier™ | Simulink Design Verifier Checks (Simulink Design Verifier) |
| Simulink PLC Coder™ | PLC Model Advisor Checks (Simulink PLC Coder) |
| Requirements Toolbox™ | Requirements Consistency Checks (Requirements Toolbox) |
| Simscape™ | Documentation is available only in the Model Advisor. To review the documentation for the check, in the Model Advisor, right-click on the check title and select What’s This? |
| Simulink Control Design™ | Simulink Control Design Checks (Simulink Control Design) |
| IEC Certification Kit |
I have cloned the repo on my system and trying to build so as to customize splash screen and the rest. I am in the root directory of the mobile app, and after running this command from the root directory (moodlemobile2) I got this error as displayed below. Please help.
<i>Kehindes-MacBook-Pro:moodlemobile2 kehindeadeoya$ npm run setup
> moodlemobile@3.5.1 setup /Users/kehindeadeoya/Documents/moodlemobile2
> npm install && cordova prepare && gulp
npm WARN electron-builder-squirrel-windows@20.19.0 requires a peer of electron-builder-lib@~20.19.0 but none is installed. You must install peer dependencies yourself.
audited 8991 packages in 29.832s
found 5 moderate severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
Current working directory is not a Cordova-based project.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! moodlemobile@3.5.1 setup: `npm install && cordova prepare && gulp`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the moodlemobile@3.5.1 setup script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/kehindeadeoya/.npm/_logs/2018-10-08T09_43_18_848Z-debug.log
Kehindes-MacBook-Pro:moodlemobile2 kehindeadeoya$ </i>













