Ошибка компиляции microsoft jscript 800a0404

Icon Ex Номер ошибки: Ошибка 800A0404
Название ошибки: Javascript Error 800A0404
Описание ошибки: Ошибка 800A0404: Возникла ошибка в приложении JavaScript. Приложение будет закрыто. Приносим извинения за неудобства.
Разработчик: Mozilla Foundation
Программное обеспечение: JavaScript
Относится к: Windows XP, Vista, 7, 8, 10, 11

Объяснение «Javascript Error 800A0404»

Эксперты обычно называют «Javascript Error 800A0404» «ошибкой времени выполнения». Программисты, такие как Mozilla Foundation, стремятся создавать программное обеспечение, свободное от этих сбоев, пока оно не будет публично выпущено. К сожалению, некоторые критические проблемы, такие как ошибка 800A0404, часто могут быть упущены из виду.

Пользователи JavaScript могут столкнуться с ошибкой 800A0404, вызванной нормальным использованием приложения, которое также может читать как «Javascript Error 800A0404». В случае обнаруженной ошибки 800A0404 клиенты могут сообщить о наличии проблемы Mozilla Foundation по электронной почте или сообщать об ошибках. Mozilla Foundation может устранить обнаруженные проблемы, а затем загрузить измененный файл исходного кода, позволяя пользователям обновлять свою версию. Таким образом, в этих случаях разработчик выпустит обновление программы JavaScript, чтобы исправить отображаемое сообщение об ошибке (и другие сообщенные проблемы).

Наиболее распространенные вхождения «Javascript Error 800A0404» проблемы при загрузке JavaScript. Мы можем определить, что ошибки во время выполнения ошибки 800A0404 происходят из:

Ошибка 800A0404 Crash — Ошибка 800A0404 является хорошо известной, которая происходит, когда неправильная строка кода компилируется в исходный код программы. Это возникает, когда JavaScript не реагирует на ввод должным образом или не знает, какой вывод требуется взамен.

Утечка памяти «Javascript Error 800A0404» — последствия утечки памяти JavaScript связаны с неисправной операционной системой. Потенциальные триггеры могут быть «бесконечным циклом», или когда программа выполняет «цикл» или повторение снова и снова.

Ошибка 800A0404 Logic Error — Вы можете столкнуться с логической ошибкой, когда программа дает неправильные результаты, даже если пользователь указывает правильное значение. Он материализуется, когда исходный код Mozilla Foundation ошибочен из-за неисправного дизайна.

Как правило, ошибки Javascript Error 800A0404 вызваны повреждением или отсутствием файла связанного JavaScript, а иногда — заражением вредоносным ПО. Как правило, решить проблему можно заменой файла Mozilla Foundation. Запуск сканирования реестра после замены файла, из-за которого возникает проблема, позволит очистить все недействительные файлы Javascript Error 800A0404, расширения файлов или другие ссылки на файлы, которые могли быть повреждены в результате заражения вредоносным ПО.

Ошибки Javascript Error 800A0404

Частичный список ошибок Javascript Error 800A0404 JavaScript:

  • «Ошибка программы Javascript Error 800A0404. «
  • «Javascript Error 800A0404 не является приложением Win32.»
  • «Javascript Error 800A0404 столкнулся с проблемой и закроется. «
  • «Не удается найти Javascript Error 800A0404»
  • «Javascript Error 800A0404 не может быть найден. «
  • «Ошибка запуска в приложении: Javascript Error 800A0404. «
  • «Javascript Error 800A0404 не работает. «
  • «Ошибка Javascript Error 800A0404. «
  • «Неверный путь к приложению: Javascript Error 800A0404.»

Эти сообщения об ошибках Mozilla Foundation могут появляться во время установки программы, в то время как программа, связанная с Javascript Error 800A0404 (например, JavaScript) работает, во время запуска или завершения работы Windows, или даже во время установки операционной системы Windows. Отслеживание того, когда и где возникает ошибка Javascript Error 800A0404, является важной информацией при устранении проблемы.

Источники проблем Javascript Error 800A0404

Проблемы Javascript Error 800A0404 вызваны поврежденным или отсутствующим Javascript Error 800A0404, недопустимыми ключами реестра, связанными с JavaScript, или вредоносным ПО.

В частности, проблемы Javascript Error 800A0404 возникают через:

  • Недопустимый Javascript Error 800A0404 или поврежденный раздел реестра.
  • Загрязненный вирусом и поврежденный Javascript Error 800A0404.
  • Javascript Error 800A0404 злонамеренно удален (или ошибочно) другим изгоем или действительной программой.
  • Другое программное обеспечение, конфликтующее с JavaScript, Javascript Error 800A0404 или общими ссылками.
  • Поврежденная загрузка или неполная установка программного обеспечения JavaScript.

Продукт Solvusoft

Загрузка
WinThruster 2022 — Проверьте свой компьютер на наличие ошибок.

Совместима с Windows 2000, XP, Vista, 7, 8, 10 и 11

Установить необязательные продукты — WinThruster (Solvusoft) | Лицензия | Политика защиты личных сведений | Условия | Удаление

Как исправить время выполнения Ошибка 800A0404 Ошибка Javascript 800A0404

В этой статье представлена ошибка с номером Ошибка 800A0404, известная как Ошибка Javascript 800A0404, описанная как Ошибка 800A0404: Возникла ошибка в приложении JavaScript. Приложение будет закрыто. Приносим свои извинения за неудобства.

О программе Runtime Ошибка 800A0404

Время выполнения Ошибка 800A0404 происходит, когда JavaScript дает сбой или падает во время запуска, отсюда и название. Это не обязательно означает, что код был каким-то образом поврежден, просто он не сработал во время выполнения. Такая ошибка появляется на экране в виде раздражающего уведомления, если ее не устранить. Вот симптомы, причины и способы устранения проблемы.

Определения (Бета)

Здесь мы приводим некоторые определения слов, содержащихся в вашей ошибке, в попытке помочь вам понять вашу проблему. Эта работа продолжается, поэтому иногда мы можем неправильно определить слово, так что не стесняйтесь пропустить этот раздел!

  • Javascript — JavaScript не следует путать с Java — это высокоуровневый, динамический, многопарадигмальный, слабо типизированный язык, используемый как для клиентских, так и для серверных сценариев < / li>
Симптомы Ошибка 800A0404 — Ошибка Javascript 800A0404

Ошибки времени выполнения происходят без предупреждения. Сообщение об ошибке может появиться на экране при любом запуске %программы%. Фактически, сообщение об ошибке или другое диалоговое окно может появляться снова и снова, если не принять меры на ранней стадии.

Возможны случаи удаления файлов или появления новых файлов. Хотя этот симптом в основном связан с заражением вирусом, его можно отнести к симптомам ошибки времени выполнения, поскольку заражение вирусом является одной из причин ошибки времени выполнения. Пользователь также может столкнуться с внезапным падением скорости интернет-соединения, но, опять же, это не всегда так.

Fix Ошибка Javascript 800A0404 (Error Ошибка 800A0404)
(Только для примера)

Причины Ошибка Javascript 800A0404 — Ошибка 800A0404

При разработке программного обеспечения программисты составляют код, предвидя возникновение ошибок. Однако идеальных проектов не бывает, поскольку ошибки можно ожидать даже при самом лучшем дизайне программы. Глюки могут произойти во время выполнения программы, если определенная ошибка не была обнаружена и устранена во время проектирования и тестирования.

Ошибки во время выполнения обычно вызваны несовместимостью программ, запущенных в одно и то же время. Они также могут возникать из-за проблем с памятью, плохого графического драйвера или заражения вирусом. Каким бы ни был случай, проблему необходимо решить немедленно, чтобы избежать дальнейших проблем. Ниже приведены способы устранения ошибки.

Методы исправления

Ошибки времени выполнения могут быть раздражающими и постоянными, но это не совсем безнадежно, существует возможность ремонта. Вот способы сделать это.

Если метод ремонта вам подошел, пожалуйста, нажмите кнопку upvote слева от ответа, это позволит другим пользователям узнать, какой метод ремонта на данный момент работает лучше всего.

Обратите внимание: ни ErrorVault.com, ни его авторы не несут ответственности за результаты действий, предпринятых при использовании любого из методов ремонта, перечисленных на этой странице — вы выполняете эти шаги на свой страх и риск.

Метод 3 — Обновите программу защиты от вирусов или загрузите и установите последнюю версию Центра обновления Windows.

Заражение вирусом, вызывающее ошибку выполнения на вашем компьютере, необходимо немедленно предотвратить, поместить в карантин или удалить. Убедитесь, что вы обновили свою антивирусную программу и выполнили тщательное сканирование компьютера или запустите Центр обновления Windows, чтобы получить последние определения вирусов и исправить их.

Метод 1 — Закройте конфликтующие программы

Когда вы получаете ошибку во время выполнения, имейте в виду, что это происходит из-за программ, которые конфликтуют друг с другом. Первое, что вы можете сделать, чтобы решить проблему, — это остановить эти конфликтующие программы.

  • Откройте диспетчер задач, одновременно нажав Ctrl-Alt-Del. Это позволит вам увидеть список запущенных в данный момент программ.
  • Перейдите на вкладку «Процессы» и остановите программы одну за другой, выделив каждую программу и нажав кнопку «Завершить процесс».
  • Вам нужно будет следить за тем, будет ли сообщение об ошибке появляться каждый раз при остановке процесса.
  • Как только вы определите, какая программа вызывает ошибку, вы можете перейти к следующему этапу устранения неполадок, переустановив приложение.

Метод 2 — Обновите / переустановите конфликтующие программы

Использование панели управления

  • В Windows 7 нажмите кнопку «Пуск», затем нажмите «Панель управления», затем «Удалить программу».
  • В Windows 8 нажмите кнопку «Пуск», затем прокрутите вниз и нажмите «Дополнительные настройки», затем нажмите «Панель управления»> «Удалить программу».
  • Для Windows 10 просто введите «Панель управления» в поле поиска и щелкните результат, затем нажмите «Удалить программу».
  • В разделе «Программы и компоненты» щелкните проблемную программу и нажмите «Обновить» или «Удалить».
  • Если вы выбрали обновление, вам просто нужно будет следовать подсказке, чтобы завершить процесс, однако, если вы выбрали «Удалить», вы будете следовать подсказке, чтобы удалить, а затем повторно загрузить или использовать установочный диск приложения для переустановки. программа.

Использование других методов

  • В Windows 7 список всех установленных программ можно найти, нажав кнопку «Пуск» и наведя указатель мыши на список, отображаемый на вкладке. Вы можете увидеть в этом списке утилиту для удаления программы. Вы можете продолжить и удалить с помощью утилит, доступных на этой вкладке.
  • В Windows 10 вы можете нажать «Пуск», затем «Настройка», а затем — «Приложения».
  • Прокрутите вниз, чтобы увидеть список приложений и функций, установленных на вашем компьютере.
  • Щелкните программу, которая вызывает ошибку времени выполнения, затем вы можете удалить ее или щелкнуть Дополнительные параметры, чтобы сбросить приложение.

Метод 4 — Переустановите библиотеки времени выполнения

Вы можете получить сообщение об ошибке из-за обновления, такого как пакет MS Visual C ++, который может быть установлен неправильно или полностью. Что вы можете сделать, так это удалить текущий пакет и установить новую копию.

  • Удалите пакет, выбрав «Программы и компоненты», найдите и выделите распространяемый пакет Microsoft Visual C ++.
  • Нажмите «Удалить» в верхней части списка и, когда это будет сделано, перезагрузите компьютер.
  • Загрузите последний распространяемый пакет от Microsoft и установите его.

Метод 5 — Запустить очистку диска

Вы также можете столкнуться с ошибкой выполнения из-за очень нехватки свободного места на вашем компьютере.

  • Вам следует подумать о резервном копировании файлов и освобождении места на жестком диске.
  • Вы также можете очистить кеш и перезагрузить компьютер.
  • Вы также можете запустить очистку диска, открыть окно проводника и щелкнуть правой кнопкой мыши по основному каталогу (обычно это C :)
  • Щелкните «Свойства», а затем — «Очистка диска».

Метод 6 — Переустановите графический драйвер

Если ошибка связана с плохим графическим драйвером, вы можете сделать следующее:

  • Откройте диспетчер устройств и найдите драйвер видеокарты.
  • Щелкните правой кнопкой мыши драйвер видеокарты, затем нажмите «Удалить», затем перезагрузите компьютер.

Метод 7 — Ошибка выполнения, связанная с IE

Если полученная ошибка связана с Internet Explorer, вы можете сделать следующее:

  1. Сбросьте настройки браузера.
    • В Windows 7 вы можете нажать «Пуск», перейти в «Панель управления» и нажать «Свойства обозревателя» слева. Затем вы можете перейти на вкладку «Дополнительно» и нажать кнопку «Сброс».
    • Для Windows 8 и 10 вы можете нажать «Поиск» и ввести «Свойства обозревателя», затем перейти на вкладку «Дополнительно» и нажать «Сброс».
  2. Отключить отладку скриптов и уведомления об ошибках.
    • В том же окне «Свойства обозревателя» можно перейти на вкладку «Дополнительно» и найти пункт «Отключить отладку сценария».
    • Установите флажок в переключателе.
    • Одновременно снимите флажок «Отображать уведомление о каждой ошибке сценария», затем нажмите «Применить» и «ОК», затем перезагрузите компьютер.

Если эти быстрые исправления не работают, вы всегда можете сделать резервную копию файлов и запустить восстановление на вашем компьютере. Однако вы можете сделать это позже, когда перечисленные здесь решения не сработают.

Другие языки:

How to fix Error 800A0404 (Javascript Error 800A0404) — Error 800A0404: JavaScript has encountered a problem and needs to close. We are sorry for the inconvenience.
Wie beheben Fehler 800A0404 (Javascript-Fehler 800A0404) — Fehler 800A0404: JavaScript hat ein Problem festgestellt und muss geschlossen werden. Wir entschuldigen uns für die Unannehmlichkeiten.
Come fissare Errore 800A0404 (Errore Javascript 800A0404) — Errore 800A0404: JavaScript ha riscontrato un problema e deve essere chiuso. Ci scusiamo per l’inconveniente.
Hoe maak je Fout 800A0404 (Javascript-fout 800A0404) — Fout 800A0404: JavaScript heeft een probleem ondervonden en moet worden afgesloten. Excuses voor het ongemak.
Comment réparer Erreur 800A0404 (Erreur Javascript 800A0404) — Erreur 800A0404 : JavaScript a rencontré un problème et doit se fermer. Nous sommes désolés du dérangement.
어떻게 고치는 지 오류 800A0404 (자바스크립트 오류 800A0404) — 오류 800A0404: JavaScript에 문제가 발생해 닫아야 합니다. 불편을 끼쳐드려 죄송합니다.
Como corrigir o Erro 800A0404 (Erro Javascript 800A0404) — Erro 800A0404: O JavaScript encontrou um problema e precisa fechar. Lamentamos o inconveniente.
Hur man åtgärdar Fel 800A0404 (Javascript-fel 800A0404) — Fel 800A0404: JavaScript har stött på ett problem och måste stängas. Vi är ledsna för besväret.
Jak naprawić Błąd 800A0404 (Błąd Javascript 800A0404) — Błąd 800A0404: JavaScript napotkał problem i musi zostać zamknięty. Przepraszamy za niedogodności.
Cómo arreglar Error 800A0404 (Error de Javascript 800A0404) — Error 800A0404: JavaScript ha detectado un problema y debe cerrarse. Lamentamos las molestias.

The Author Об авторе: Фил Харт является участником сообщества Microsoft с 2010 года. С текущим количеством баллов более 100 000 он внес более 3000 ответов на форумах Microsoft Support и создал почти 200 новых справочных статей в Technet Wiki.

Следуйте за нами: Facebook Youtube Twitter

Последнее обновление:

11/12/21 02:15 : Пользователь Windows 10 проголосовал за то, что метод восстановления 3 работает для него.

Рекомендуемый инструмент для ремонта:

Этот инструмент восстановления может устранить такие распространенные проблемы компьютера, как синие экраны, сбои и замораживание, отсутствующие DLL-файлы, а также устранить повреждения от вредоносных программ/вирусов и многое другое путем замены поврежденных и отсутствующих системных файлов.

ШАГ 1:

Нажмите здесь, чтобы скачать и установите средство восстановления Windows.

ШАГ 2:

Нажмите на Start Scan и позвольте ему проанализировать ваше устройство.

ШАГ 3:

Нажмите на Repair All, чтобы устранить все обнаруженные проблемы.

СКАЧАТЬ СЕЙЧАС

Совместимость

Требования

1 Ghz CPU, 512 MB RAM, 40 GB HDD
Эта загрузка предлагает неограниченное бесплатное сканирование ПК с Windows. Полное восстановление системы начинается от $19,95.

ID статьи: ACX05587RU

Применяется к: Windows 10, Windows 8.1, Windows 7, Windows Vista, Windows XP, Windows 2000

When I do npm start in the portal dir it has the error message:

Script: c:usersmeIdeaProjectsportalcp-frontendtailwind.js 
Line 32, char 7
Error: expected identifier, string or number 
Code: 800A0404. 
Source: Microsoft JScript compilation error. 

The info on the screen before the error message and after npm start is:

>npm start

> start
> concurrently -k -n 'frontend,backend' "npm run start-frontend" "npm run start-backend"

[frontend]
[frontend] > start-frontend
[frontend] > cd cp-frontend && npm run start
[frontend]
[backend]
[backend] > start-backend
[backend] > cd cp-backend && npm run start
[backend]
[frontend]
[frontend] > customer-portal-frontend@0.1.0 start
[frontend] > npm run tailwind:css && react-scripts start
[frontend]
[backend]
[backend] > customer-portal-poc@1.0.0 start
[backend] > nodemon -r dotenv/config index.js
[backend]
[backend] [nodemon] 2.0.2
[backend] [nodemon] to restart at any time, enter `rs`
[backend] [nodemon] watching dir(s): *.*
[backend] [nodemon] watching extensions: js,mjs,json
[backend] [nodemon] starting `node -r dotenv/config index.js`
[backend] Server listening on port: 3002
[frontend]
[frontend] > customer-portal-frontend@0.1.0 tailwind:css
[frontend] > tailwind build src/tailwind.src.css -c tailwind.js -o src/tailwind.css
[frontend]
[frontend] npm run start-frontend exited with code 1
--> Sending SIGTERM to other processes..
[backend] npm run start-backend exited with code 1

My tailwind.js file looks like this (line 32 shown in added comment):

module.exports = {
  theme: {
    extend: {
      colors: {
        primary: '#63ACE5',
        background: '#E6EFF6',
        'blue-light': '#63ACE5',
        'blue': '#4C86B5',
        'blue-dark': '#2A4E68',
        accent: '#FCAB4D'
      },
      spacing: {
        px: '1px',
        '0': '0',
        '1': '0.25rem',
        '2': '0.5rem',
        '3': '0.75rem',
        '4': '1rem',
        '5': '1.25rem',
        '6': '1.5rem',
        '8': '2rem',
        '10': '2.5rem',
        '12': '3rem',
        '16': '4rem',
        '20': '5rem',
        '24': '6rem',
        '32': '8rem',
        '40': '10rem',
        '48': '12rem',
        '56': '14rem',
        '64': '16rem',
      },  //this is line 32
      screens: {
        'sm': '640px',
        // => @media (min-width: 640px) { ... }
  
        'md': '768px',
        // => @media (min-width: 768px) { ... }
  
        'lg': '1024px',
        // => @media (min-width: 1024px) { ... }
  
        'xl': '1280px',
        // => @media (min-width: 1280px) { ... }
      }
    },
  },
  variants: {
    tableLayout: ['responsive', 'hover', 'focus'],
    borderWidth: ['responsive', 'first', 'last', 'hover', 'focus'],
    padding: ['responsive', 'first', 'last'],
  },
  plugins: [],
};

I’m looking at these threads, tailwind file or enter link description here, but since this web page is a running web page in prod, I doubt I’d need to edit my tailwinds file or rename a file.

I have built the project in IntelliJ idea.

Update1: I tried npm install -g yarn but still get the same error message.

Update:
I tried renaming tailwind.js to tailwind.config.js in cp-frontend and also it’s reference in package.json. Npm start had error:

Failed to compile layout.js. Module not found can’t resolve react.router

I did the following:

in root dir and cp-frontend dir:

npm install react-router-dom
npm install react-router-config

I didn’t get popup error after that, but had errors:

[frontend]   Line 21:6:   React Hook useEffect has a missing dependency: 'register'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
[frontend]
[frontend] ./src/components/user/findProperty/FindProperty.js
[frontend]   Line 47:6:  React Hook useEffect has a missing dependency: 'register'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
[frontend]
[frontend] ./src/components/user/dashboard/PastPayments.js
[frontend]   Line 4:8:  'ChevronIcon' is defined but never used   no-unused-vars
[frontend]   Line 5:8:  'DownloadIcon' is defined but never used  no-unused-vars
[frontend]
[frontend] ./src/components/common/alerts/Alerts.js
[frontend]   Line 54:6:  React Hook useEffect has an unnecessary dependency: 'fetchAlertData'. Either exclude it or remove the dependency array. Outer scope values like 'fetchAlertData' aren't valid dependencies because mutating them doesn't re-render the component  react-hooks/exhaustive-deps
[frontend]
[frontend] ./src/components/user/pastBills/PastBills.js
[frontend]   Line 66:6:   React Hook useEffect has missing dependencies: 'history', 'params', 'serviceAccounts', and 'showFileInUrl'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
[frontend]   Line 93:11:  <iframe> elements must have a unique title property                                                                                                             jsx-a11y/iframe-has-title
[frontend]
[frontend] ./src/components/user/dashboard/CustomerSvcTable.js
[frontend]   Line 7:22:  'formatCurrencyNum' is defined but never used                                                                   no-unused-vars
[frontend]   Line 34:6:  React Hook useEffect has a missing dependency: 'getSvcOrder'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
[frontend]
[frontend] ./src/components/user/layout/Layout.js
[frontend]   Line 80:6:   React Hook useEffect has a missing dependency: 'fetchInitialData'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
[frontend]   Line 86:20:  'Tawk_API' was used before it was defined                                                                            no-use-before-define
[frontend]   Line 91:9:   'Tawk_LoadStart' is assigned a value but never used                                                                  no-unused-vars
[frontend]
[frontend] ./src/components/common/navbar/Navbar.js
[frontend]   Line 91:15:  No duplicate props allowed  react/jsx-no-duplicate-props
[frontend]
[frontend] ./src/components/common/card/Card.js
[frontend]   Line 94:21:  Using target="_blank" without rel="noopener noreferrer" is a security risk: see https://mathiasbynens.github.io/rel-noopener  react/jsx-no-target-blank
[frontend]
[frontend] Search for the keywords to learn more about each warning.
[frontend] To ignore, add // eslint-disable-next-line to the line before.

My question now is, do I need to add the missing dependencies to the package.json for the frontend? I’m sure they will go away if I do npm install , but I’m unclear on the permanent fix. Do the dependency list items have an order? The browser popped up with a blank screen but the debugging tool doesn’t show an error that I can see.

When I do npm start in the portal dir it has the error message:

Script: c:usersmeIdeaProjectsportalcp-frontendtailwind.js 
Line 32, char 7
Error: expected identifier, string or number 
Code: 800A0404. 
Source: Microsoft JScript compilation error. 

The info on the screen before the error message and after npm start is:

>npm start

> start
> concurrently -k -n 'frontend,backend' "npm run start-frontend" "npm run start-backend"

[frontend]
[frontend] > start-frontend
[frontend] > cd cp-frontend && npm run start
[frontend]
[backend]
[backend] > start-backend
[backend] > cd cp-backend && npm run start
[backend]
[frontend]
[frontend] > customer-portal-frontend@0.1.0 start
[frontend] > npm run tailwind:css && react-scripts start
[frontend]
[backend]
[backend] > customer-portal-poc@1.0.0 start
[backend] > nodemon -r dotenv/config index.js
[backend]
[backend] [nodemon] 2.0.2
[backend] [nodemon] to restart at any time, enter `rs`
[backend] [nodemon] watching dir(s): *.*
[backend] [nodemon] watching extensions: js,mjs,json
[backend] [nodemon] starting `node -r dotenv/config index.js`
[backend] Server listening on port: 3002
[frontend]
[frontend] > customer-portal-frontend@0.1.0 tailwind:css
[frontend] > tailwind build src/tailwind.src.css -c tailwind.js -o src/tailwind.css
[frontend]
[frontend] npm run start-frontend exited with code 1
--> Sending SIGTERM to other processes..
[backend] npm run start-backend exited with code 1

My tailwind.js file looks like this (line 32 shown in added comment):

module.exports = {
  theme: {
    extend: {
      colors: {
        primary: '#63ACE5',
        background: '#E6EFF6',
        'blue-light': '#63ACE5',
        'blue': '#4C86B5',
        'blue-dark': '#2A4E68',
        accent: '#FCAB4D'
      },
      spacing: {
        px: '1px',
        '0': '0',
        '1': '0.25rem',
        '2': '0.5rem',
        '3': '0.75rem',
        '4': '1rem',
        '5': '1.25rem',
        '6': '1.5rem',
        '8': '2rem',
        '10': '2.5rem',
        '12': '3rem',
        '16': '4rem',
        '20': '5rem',
        '24': '6rem',
        '32': '8rem',
        '40': '10rem',
        '48': '12rem',
        '56': '14rem',
        '64': '16rem',
      },  //this is line 32
      screens: {
        'sm': '640px',
        // => @media (min-width: 640px) { ... }
  
        'md': '768px',
        // => @media (min-width: 768px) { ... }
  
        'lg': '1024px',
        // => @media (min-width: 1024px) { ... }
  
        'xl': '1280px',
        // => @media (min-width: 1280px) { ... }
      }
    },
  },
  variants: {
    tableLayout: ['responsive', 'hover', 'focus'],
    borderWidth: ['responsive', 'first', 'last', 'hover', 'focus'],
    padding: ['responsive', 'first', 'last'],
  },
  plugins: [],
};

I’m looking at these threads, tailwind file or enter link description here, but since this web page is a running web page in prod, I doubt I’d need to edit my tailwinds file or rename a file.

I have built the project in IntelliJ idea.

Update1: I tried npm install -g yarn but still get the same error message.

Update:
I tried renaming tailwind.js to tailwind.config.js in cp-frontend and also it’s reference in package.json. Npm start had error:

Failed to compile layout.js. Module not found can’t resolve react.router

I did the following:

in root dir and cp-frontend dir:

npm install react-router-dom
npm install react-router-config

I didn’t get popup error after that, but had errors:

[frontend]   Line 21:6:   React Hook useEffect has a missing dependency: 'register'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
[frontend]
[frontend] ./src/components/user/findProperty/FindProperty.js
[frontend]   Line 47:6:  React Hook useEffect has a missing dependency: 'register'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
[frontend]
[frontend] ./src/components/user/dashboard/PastPayments.js
[frontend]   Line 4:8:  'ChevronIcon' is defined but never used   no-unused-vars
[frontend]   Line 5:8:  'DownloadIcon' is defined but never used  no-unused-vars
[frontend]
[frontend] ./src/components/common/alerts/Alerts.js
[frontend]   Line 54:6:  React Hook useEffect has an unnecessary dependency: 'fetchAlertData'. Either exclude it or remove the dependency array. Outer scope values like 'fetchAlertData' aren't valid dependencies because mutating them doesn't re-render the component  react-hooks/exhaustive-deps
[frontend]
[frontend] ./src/components/user/pastBills/PastBills.js
[frontend]   Line 66:6:   React Hook useEffect has missing dependencies: 'history', 'params', 'serviceAccounts', and 'showFileInUrl'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
[frontend]   Line 93:11:  <iframe> elements must have a unique title property                                                                                                             jsx-a11y/iframe-has-title
[frontend]
[frontend] ./src/components/user/dashboard/CustomerSvcTable.js
[frontend]   Line 7:22:  'formatCurrencyNum' is defined but never used                                                                   no-unused-vars
[frontend]   Line 34:6:  React Hook useEffect has a missing dependency: 'getSvcOrder'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
[frontend]
[frontend] ./src/components/user/layout/Layout.js
[frontend]   Line 80:6:   React Hook useEffect has a missing dependency: 'fetchInitialData'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
[frontend]   Line 86:20:  'Tawk_API' was used before it was defined                                                                            no-use-before-define
[frontend]   Line 91:9:   'Tawk_LoadStart' is assigned a value but never used                                                                  no-unused-vars
[frontend]
[frontend] ./src/components/common/navbar/Navbar.js
[frontend]   Line 91:15:  No duplicate props allowed  react/jsx-no-duplicate-props
[frontend]
[frontend] ./src/components/common/card/Card.js
[frontend]   Line 94:21:  Using target="_blank" without rel="noopener noreferrer" is a security risk: see https://mathiasbynens.github.io/rel-noopener  react/jsx-no-target-blank
[frontend]
[frontend] Search for the keywords to learn more about each warning.
[frontend] To ignore, add // eslint-disable-next-line to the line before.

My question now is, do I need to add the missing dependencies to the package.json for the frontend? I’m sure they will go away if I do npm install , but I’m unclear on the permanent fix. Do the dependency list items have an order? The browser popped up with a blank screen but the debugging tool doesn’t show an error that I can see.

UPDATE 2: Unfortunately, it doesn’t work on my other computer either. While elasticsearch boots just fine, kibana.bat gives an «Unable to find usable node.js executable» message on boot. Though I know it’s dangerous, I think I am just going to try to develop on the production version of Kibana from the Elastic website. Should I submit a bug request about this?

UPDATE 1: I went into the kibanapackageskbn-babel-presetnode.js file & got rid of some of the commas at the end of lists/dictionary objects, which fixed the 800A0404 error, but caused another:

Script: C:UserssuperOneDriveDocumentskibanapackageskbn-babel-presetnode.js
Line: 1
Char: 1
Error: 'module' is undefined
Code: 800A1391
Source: Microsoft JScript runtime error

Dismissing this popup allows the bootstrap to continue until hitting the eslint-import-resolver-kibana directory:

Installing dependencies in [@kbn/eslint-import-resolver-kibana]:

[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.3: The platform "win32" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check.
Excluding it from installation.
[3/4] Linking dependencies...
warning " > eslint-import-resolver-webpack@0.8.4" has unmet peer dependency "esl
int-plugin-import@>=1.4.0".
[4/4] Building fresh packages...
[1/1] ⠈ uglifyjs-webpack-plugin
[-/1] ⠈ waiting...
[-/1] ⠈ waiting...
[-/1] ⠈ waiting...
error C:UserssuperDocumentskibanapackageskbn-eslint-import-resolver-kibana
node_modulesuglifyjs-webpack-plugin: Command failed.
Exit code: 1
Command: node lib/post_install.js
Arguments:
Directory: C:UserssuperDocumentskibanapackageskbn-eslint-import-resolver-k
ibananode_modulesuglifyjs-webpack-plugin
Output:
module.js:549
    throw err;
    ^

Error: Cannot find module 'C:UserssuperDocumentskibanapackageskbn-eslint-i
mport-resolver-kibananode_modulesuglifyjs-webpack-pluginlibpost_install.js'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Function.Module.runMain (module.js:693:10)

[bootstrap] failed:

Error: Command failed: yarn install --non-interactive --mutex file
    at makeError (C:UserssuperDocumentskibanapackageskbn-pmdistindex.js:
38964:9)
    at Promise.all.then.arr (C:UserssuperDocumentskibanapackageskbn-pmdis
tindex.js:39069:16)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Once again: any advice is greatly appreciated!

ORIGINAL: I am new to Kibana plugin & JavaScript development & would appreciate some help with an error I have been attempting to troubleshoot for a little while now.

I am attempting to set up my developer environment for creating Kibana plugins as per this guide. However, I only just recently started getting the following popup error from the Windows Script Host on running the yarn kbn bootstrap command in the cloned kibana directory, shortly after cloning the Kibana Github directory and installing Yarn & Node.js:

Script: C:UserssuperOneDriveDocumentskibanapackageskbn-babel-presetnode.js
Line: 13
Char: 9
Error: Expected identifier, string or number
Code: 800A0404
Source: Microsoft JScript compilation error

After clicking OK to dismiss this popup, here is what appears in the shell:

super@DESKTOP MINGW64 ~/OneDrive/Documents/kibana (master)
$ yarn kbn bootstrap
yarn run v1.6.0
$ node scripts/kbn bootstrap
Running [bootstrap] command from [C:UserssuperOneDriveDocumentskibana]:

Found [16] projects:

kibana
├── packages
│   ├── eslint-config-kibana (@elastic/eslint-config-kibana)
│   ├── eslint-plugin-kibana-custom (@elastic/eslint-plugin-kibana-custom)
│   ├── kbn-babel-preset (@kbn/babel-preset)
│   ├── kbn-datemath (@kbn/datemath)
│   ├── kbn-dev-utils (@kbn/dev-utils)
│   ├── kbn-es (@kbn/es)
│   ├── kbn-eslint-import-resolver-kibana (@kbn/eslint-import-resolver-kibana)
│   ├── kbn-eslint-plugin-license-header (@kbn/eslint-plugin-license-header)
│   ├── kbn-plugin-generator (@kbn/plugin-generator)
│   ├── kbn-plugin-helpers (@kbn/plugin-helpers)
│   ├── kbn-pm (@kbn/pm)
│   ├── kbn-system-loader (@kbn/system-loader)
│   ├── kbn-test-subj-selector (@kbn/test-subj-selector)
│   └── kbn-ui-framework (@kbn/ui-framework)
└── x-pack

Running installs in topological order:


Installing dependencies in [@kbn/babel-preset]:


[bootstrap] failed:

Error: Command failed: yarn install --non-interactive --mutex file
    at makeError (C:UserssuperOneDriveDocumentskibanapackageskbn-pmdist
index.js:38964:9)
    at Promise.all.then.arr (C:UserssuperOneDriveDocumentskibanapackagesk
bn-pmdistindex.js:39069:16)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

The above error only occurs when I go to run yarn kbn bootstrap in the Git Bash terminal. Immediately after, I uninstalled/reinstalled Java v.8, v.10, Node.js, and Yarn with computer restarts in between, figuring that since the script host mentions JScript compilation that un-/reinstalling Java would help, but to no avail. Any advice would be greatly appreciated.

Kibana version: Kibana 7.0.0-alpha1 (cloned from repository)

Elasticsearch version: ElasticSearch 6.2.4 (downloaded from main page. I am not getting to the point of using this, however)

Server OS version: Windows 10 Home 64-bit

Browser version: Google Chrome Version 66.0.3359.139 (Official Build) (64-bit)

Browser OS version: above

Original install method (e.g. download page, yum, from source, etc.): Kibana cloned from forked repository (efregoso/kibana), ElasticSearch presumably downloaded from main website (elastic.co)

Description of the problem including expected versus actual behavior:
I wish to develop some application plugins for Kibana, so I have been following the guide to setting up the dev environment from CONTRIBUTING.md. However, on yarn kbn bootstrap, I receive the following popup error from the Windows Script Host:

Script: C:UserssuperOneDriveDocumentskibanapackageskbn-babel-presetnode.js
Line: 13
Char: 9
Error: Expected identifier, string or number
Code: 800A0404
Source: Microsoft JScript compilation error

I have researched this error online and seen a lot of suggestions to remove commas following the last elements of lists/dictionary objects. I did this myself in the kibanapackageskbn-babel-presetnode.js file, and then on rerunning yarn kbn bootstrap, received this error from the Windows Script Host:

Script: C:UserssuperOneDriveDocumentskibanapackageskbn-babel-presetnode.js
Line: 1
Char: 1
Error: 'module' is undefined
Code: 800A1391
Source: Microsoft JScript runtime error

On dismissal (clicking OK), the bootstrap proceeds as normal until hitting the kibanapackageseslint-import-resolver-kibana directory:

Installing dependencies in [@kbn/eslint-import-resolver-kibana]:

[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.3: The platform "win32" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check.
Excluding it from installation.
[3/4] Linking dependencies...
warning " > eslint-import-resolver-webpack@0.8.4" has unmet peer dependency "esl
int-plugin-import@>=1.4.0".
[4/4] Building fresh packages...
[1/1] ⠈ uglifyjs-webpack-plugin
[-/1] ⠈ waiting...
[-/1] ⠈ waiting...
[-/1] ⠈ waiting...
error C:UserssuperDocumentskibanapackageskbn-eslint-import-resolver-kibana
node_modulesuglifyjs-webpack-plugin: Command failed.
Exit code: 1
Command: node lib/post_install.js
Arguments:
Directory: C:UserssuperDocumentskibanapackageskbn-eslint-import-resolver-k
ibananode_modulesuglifyjs-webpack-plugin
Output:
module.js:549
    throw err;
    ^

Error: Cannot find module 'C:UserssuperDocumentskibanapackageskbn-eslint-i
mport-resolver-kibananode_modulesuglifyjs-webpack-pluginlibpost_install.js'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Function.Module.runMain (module.js:693:10)

[bootstrap] failed:

Error: Command failed: yarn install --non-interactive --mutex file
    at makeError (C:UserssuperDocumentskibanapackageskbn-pmdistindex.js:
38964:9)
    at Promise.all.then.arr (C:UserssuperDocumentskibanapackageskbn-pmdis
tindex.js:39069:16)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Oddly enough, I have gotten the bootstrap to complete on another, older computer running the same OS & browser version, bar having to edit the kibanapackageskbn-babel-presetnode.js file as I did here beforehand. However, though ES seems to boot just fine, on trying to run kibana.bat, I get the Unable to find usable Node.js executable error. I’m honestly stumped.

Steps to reproduce:

  1. Clone the kibana repository from a fork, and download and install Node.js 8.11.0, Yarn v.1.6.0.
  2. In the shell, change directory to the clone repo directory.
  3. Run yarn kbn bootstrap.

Errors in browser console (if relevant): None

Provide logs and/or server output (if relevant):
For the first error:

Script: C:UserssuperOneDriveDocumentskibanapackageskbn-babel-presetnode.js
Line: 13
Char: 9
Error: Expected identifier, string or number
Code: 800A0404
Source: Microsoft JScript compilation error

For the second:

Script: C:UserssuperOneDriveDocumentskibanapackageskbn-babel-presetnode.js
Line: 1
Char: 1
Error: 'module' is undefined
Code: 800A1391
Source: Microsoft JScript runtime error

And in the shell for the second:

Installing dependencies in [@kbn/eslint-import-resolver-kibana]:

[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.3: The platform "win32" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check.
Excluding it from installation.
[3/4] Linking dependencies...
warning " > eslint-import-resolver-webpack@0.8.4" has unmet peer dependency "esl
int-plugin-import@>=1.4.0".
[4/4] Building fresh packages...
[1/1] ⠈ uglifyjs-webpack-plugin
[-/1] ⠈ waiting...
[-/1] ⠈ waiting...
[-/1] ⠈ waiting...
error C:UserssuperDocumentskibanapackageskbn-eslint-import-resolver-kibana
node_modulesuglifyjs-webpack-plugin: Command failed.
Exit code: 1
Command: node lib/post_install.js
Arguments:
Directory: C:UserssuperDocumentskibanapackageskbn-eslint-import-resolver-k
ibananode_modulesuglifyjs-webpack-plugin
Output:
module.js:549
    throw err;
    ^

Error: Cannot find module 'C:UserssuperDocumentskibanapackageskbn-eslint-i
mport-resolver-kibananode_modulesuglifyjs-webpack-pluginlibpost_install.js'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Function.Module.runMain (module.js:693:10)

[bootstrap] failed:

Error: Command failed: yarn install --non-interactive --mutex file
    at makeError (C:UserssuperDocumentskibanapackageskbn-pmdistindex.js:
38964:9)
    at Promise.all.then.arr (C:UserssuperDocumentskibanapackageskbn-pmdis
tindex.js:39069:16)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

On another computer after running kibana.bat, after successful completion of the bootstrap bar editing the kibanapackageskbn-babel-presetnode.js file and completing all of the following steps under the «Steps to Reproduce» section:
Unable to find usable node.js executable

Kibana version: Kibana 7.0.0-alpha1 (cloned from repository)

Elasticsearch version: ElasticSearch 6.2.4 (downloaded from main page. I am not getting to the point of using this, however)

Server OS version: Windows 10 Home 64-bit

Browser version: Google Chrome Version 66.0.3359.139 (Official Build) (64-bit)

Browser OS version: above

Original install method (e.g. download page, yum, from source, etc.): Kibana cloned from forked repository (efregoso/kibana), ElasticSearch presumably downloaded from main website (elastic.co)

Description of the problem including expected versus actual behavior:
I wish to develop some application plugins for Kibana, so I have been following the guide to setting up the dev environment from CONTRIBUTING.md. However, on yarn kbn bootstrap, I receive the following popup error from the Windows Script Host:

Script: C:UserssuperOneDriveDocumentskibanapackageskbn-babel-presetnode.js
Line: 13
Char: 9
Error: Expected identifier, string or number
Code: 800A0404
Source: Microsoft JScript compilation error

I have researched this error online and seen a lot of suggestions to remove commas following the last elements of lists/dictionary objects. I did this myself in the kibanapackageskbn-babel-presetnode.js file, and then on rerunning yarn kbn bootstrap, received this error from the Windows Script Host:

Script: C:UserssuperOneDriveDocumentskibanapackageskbn-babel-presetnode.js
Line: 1
Char: 1
Error: 'module' is undefined
Code: 800A1391
Source: Microsoft JScript runtime error

On dismissal (clicking OK), the bootstrap proceeds as normal until hitting the kibanapackageseslint-import-resolver-kibana directory:

Installing dependencies in [@kbn/eslint-import-resolver-kibana]:

[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.3: The platform "win32" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check.
Excluding it from installation.
[3/4] Linking dependencies...
warning " > eslint-import-resolver-webpack@0.8.4" has unmet peer dependency "esl
int-plugin-import@>=1.4.0".
[4/4] Building fresh packages...
[1/1] ⠈ uglifyjs-webpack-plugin
[-/1] ⠈ waiting...
[-/1] ⠈ waiting...
[-/1] ⠈ waiting...
error C:UserssuperDocumentskibanapackageskbn-eslint-import-resolver-kibana
node_modulesuglifyjs-webpack-plugin: Command failed.
Exit code: 1
Command: node lib/post_install.js
Arguments:
Directory: C:UserssuperDocumentskibanapackageskbn-eslint-import-resolver-k
ibananode_modulesuglifyjs-webpack-plugin
Output:
module.js:549
    throw err;
    ^

Error: Cannot find module 'C:UserssuperDocumentskibanapackageskbn-eslint-i
mport-resolver-kibananode_modulesuglifyjs-webpack-pluginlibpost_install.js'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Function.Module.runMain (module.js:693:10)

[bootstrap] failed:

Error: Command failed: yarn install --non-interactive --mutex file
    at makeError (C:UserssuperDocumentskibanapackageskbn-pmdistindex.js:
38964:9)
    at Promise.all.then.arr (C:UserssuperDocumentskibanapackageskbn-pmdis
tindex.js:39069:16)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Oddly enough, I have gotten the bootstrap to complete on another, older computer running the same OS & browser version, bar having to edit the kibanapackageskbn-babel-presetnode.js file as I did here beforehand. However, though ES seems to boot just fine, on trying to run kibana.bat, I get the Unable to find usable Node.js executable error. I’m honestly stumped.

Steps to reproduce:

  1. Clone the kibana repository from a fork, and download and install Node.js 8.11.0, Yarn v.1.6.0.
  2. In the shell, change directory to the clone repo directory.
  3. Run yarn kbn bootstrap.

Errors in browser console (if relevant): None

Provide logs and/or server output (if relevant):
For the first error:

Script: C:UserssuperOneDriveDocumentskibanapackageskbn-babel-presetnode.js
Line: 13
Char: 9
Error: Expected identifier, string or number
Code: 800A0404
Source: Microsoft JScript compilation error

For the second:

Script: C:UserssuperOneDriveDocumentskibanapackageskbn-babel-presetnode.js
Line: 1
Char: 1
Error: 'module' is undefined
Code: 800A1391
Source: Microsoft JScript runtime error

And in the shell for the second:

Installing dependencies in [@kbn/eslint-import-resolver-kibana]:

[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.3: The platform "win32" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check.
Excluding it from installation.
[3/4] Linking dependencies...
warning " > eslint-import-resolver-webpack@0.8.4" has unmet peer dependency "esl
int-plugin-import@>=1.4.0".
[4/4] Building fresh packages...
[1/1] ⠈ uglifyjs-webpack-plugin
[-/1] ⠈ waiting...
[-/1] ⠈ waiting...
[-/1] ⠈ waiting...
error C:UserssuperDocumentskibanapackageskbn-eslint-import-resolver-kibana
node_modulesuglifyjs-webpack-plugin: Command failed.
Exit code: 1
Command: node lib/post_install.js
Arguments:
Directory: C:UserssuperDocumentskibanapackageskbn-eslint-import-resolver-k
ibananode_modulesuglifyjs-webpack-plugin
Output:
module.js:549
    throw err;
    ^

Error: Cannot find module 'C:UserssuperDocumentskibanapackageskbn-eslint-i
mport-resolver-kibananode_modulesuglifyjs-webpack-pluginlibpost_install.js'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Function.Module.runMain (module.js:693:10)

[bootstrap] failed:

Error: Command failed: yarn install --non-interactive --mutex file
    at makeError (C:UserssuperDocumentskibanapackageskbn-pmdistindex.js:
38964:9)
    at Promise.all.then.arr (C:UserssuperDocumentskibanapackageskbn-pmdis
tindex.js:39069:16)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

On another computer after running kibana.bat, after successful completion of the bootstrap bar editing the kibanapackageskbn-babel-presetnode.js file and completing all of the following steps under the «Steps to Reproduce» section:
Unable to find usable node.js executable

ОБНОВЛЕНИЕ 2: К сожалению, это не работает на моем другом компьютере. В то время как elasticsearch загружается просто отлично, kibana.bat дает при загрузке сообщение «Невозможно найти исполняемый файл node.js». Хотя я знаю, что это опасно, я думаю, что я просто попытаюсь разработать на производственной версии Kibana с сайта Elastic. Должен ли я отправить запрос об ошибке?

ОБНОВЛЕНИЕ 1: я зашел в файл kibanapackageskbn-babel-presetnode.js и избавился от некоторых запятых в конце списка/словарных объектов, которые исправили ошибку 800A0404, но вызвали другое:

Script: C:UserssuperOneDriveDocumentskibanapackageskbn-babel-presetnode.js
Line: 1
Char: 1
Error: 'module' is undefined
Code: 800A1391
Source: Microsoft JScript runtime error

Увольнение этого всплывающего окна позволяет продолжить загрузку до тех пор, пока не ударит каталог eslint-import-resolver-kibana:

Installing dependencies in [@kbn/eslint-import-resolver-kibana]:

[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check.
Excluding it from installation.
[3/4] Linking dependencies...
warning " > [email protected]" has unmet peer dependency "esl
[email protected]>=1.4.0".
[4/4] Building fresh packages...
[1/1] ⠈ uglifyjs-webpack-plugin
[-/1] ⠈ waiting...
[-/1] ⠈ waiting...
[-/1] ⠈ waiting...
error C:UserssuperDocumentskibanapackageskbn-eslint-import-resolver-kibana
node_modulesuglifyjs-webpack-plugin: Command failed.
Exit code: 1
Command: node lib/post_install.js
Arguments:
Directory: C:UserssuperDocumentskibanapackageskbn-eslint-import-resolver-k
ibananode_modulesuglifyjs-webpack-plugin
Output:
module.js:549
    throw err;
    ^

Error: Cannot find module 'C:UserssuperDocumentskibanapackageskbn-eslint-i
mport-resolver-kibananode_modulesuglifyjs-webpack-pluginlibpost_install.js'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Function.Module.runMain (module.js:693:10)

[bootstrap] failed:

Error: Command failed: yarn install --non-interactive --mutex file
    at makeError (C:UserssuperDocumentskibanapackageskbn-pmdistindex.js:
38964:9)
    at Promise.all.then.arr (C:UserssuperDocumentskibanapackageskbn-pmdis
tindex.js:39069:16)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Еще раз: любой совет приветствуется!

ОРИГИНАЛ: Я новичок в разработке плагинов и JavaScript для Kibana и буду признателен за некоторую помощь с ошибкой, которую я пытаюсь устранить.

Я пытаюсь настроить среду разработки для создания плагинов Kibana в соответствии с этим руководством. Тем не менее, я только недавно начал получать следующую всплывающее сообщение об ошибке с сервера сценариев Windows на запуск yarn kbn bootstrap команды в клонированном каталоге kibana, вскоре после клонирования каталога Kibana GitHub и установки Пряжи & Node.js:

Script: C:UserssuperOneDriveDocumentskibanapackageskbn-babel-presetnode.js
Line: 13
Char: 9
Error: Expected identifier, string or number
Code: 800A0404
Source: Microsoft JScript compilation error

После нажатия OK, чтобы закрыть это всплывающее окно, вот что появляется в оболочке:

[email protected] MINGW64 ~/OneDrive/Documents/kibana (master)
$ yarn kbn bootstrap
yarn run v1.6.0
$ node scripts/kbn bootstrap
Running [bootstrap] command from [C:UserssuperOneDriveDocumentskibana]:

Found [16] projects:

kibana
├── packages
│   ├── eslint-config-kibana (@elastic/eslint-config-kibana)
│   ├── eslint-plugin-kibana-custom (@elastic/eslint-plugin-kibana-custom)
│   ├── kbn-babel-preset (@kbn/babel-preset)
│   ├── kbn-datemath (@kbn/datemath)
│   ├── kbn-dev-utils (@kbn/dev-utils)
│   ├── kbn-es (@kbn/es)
│   ├── kbn-eslint-import-resolver-kibana (@kbn/eslint-import-resolver-kibana)
│   ├── kbn-eslint-plugin-license-header (@kbn/eslint-plugin-license-header)
│   ├── kbn-plugin-generator (@kbn/plugin-generator)
│   ├── kbn-plugin-helpers (@kbn/plugin-helpers)
│   ├── kbn-pm (@kbn/pm)
│   ├── kbn-system-loader (@kbn/system-loader)
│   ├── kbn-test-subj-selector (@kbn/test-subj-selector)
│   └── kbn-ui-framework (@kbn/ui-framework)
└── x-pack

Running installs in topological order:


Installing dependencies in [@kbn/babel-preset]:


[bootstrap] failed:

Error: Command failed: yarn install --non-interactive --mutex file
    at makeError (C:UserssuperOneDriveDocumentskibanapackageskbn-pmdist
index.js:38964:9)
    at Promise.all.then.arr (C:UserssuperOneDriveDocumentskibanapackagesk
bn-pmdistindex.js:39069:16)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Вышеупомянутая ошибка возникает только тогда, когда я иду запускать загрузочную ленту nb kbn в терминале Git Bash. Сразу же после этого я удалил/переустановил Java v.8, v.10, Node.js и пряжу с перезагрузкой компьютера между ними, считая, что, поскольку хост сценария упоминает компиляцию JScript, которая помогла бы un-/переустановке Java, помогло. Любые советы будут очень признательны.

Я использую тему пользовательского интерфейса плавкого материала и пытаюсь запустить проект с помощью npm start, файл JavaScript tailwind.js показывает ошибку, как показано на прикрепленном рисунке, и я получаю 800A0404 Ошибка компиляции Microsoft Jscript.

enter image description here

Файл Tailwind.js

  module.exports = {
    prefix: "",
    important: false,
    separator: ":",
    theme: {
      extend: {
        screens: {
          sm: "600px",
          md: "960px",
          lg: "1280px",
          xl: "1920px",
          print: { raw: "print" },
        },
        colors: {
          transparent: "transparent",
          black: "#22292F",
          white: "#FFF",
          grey: {
            50: "#FAFAFA",
            100: "#F5F5F5",
            200: "#EEEEEE",
            300: "#E0E0E0",
            400: "#BDBDBD",
            500: "#9E9E9E",
            default: "#9E9E9E",
            600: "#757575",
            700: "#616161",
            800: "#424242",
            900: "#212121",
            A100: "#D5D5D5",
            A200: "#AAAAAA",
            A400: "#303030",
            A700: "#616161",
          },
          gray: {
            50: "#FAFAFA",
            100: "#F5F5F5",
            200: "#EEEEEE",
            300: "#E0E0E0",
            400: "#BDBDBD",
            500: "#9E9E9E",
            default: "#9E9E9E",
            600: "#757575",
            700: "#616161",
            800: "#424242",
            900: "#212121",
            A100: "#D5D5D5",
            A200: "#AAAAAA",
            A400: "#303030",
            A700: "#616161",
          },
          red: {
            50: "#FFEBEE",
            100: "#FFCDD2",
            200: "#EF9A9A",
            300: "#E57373",
            400: "#EF5350",
            500: "#F44336",
            default: "#F44336",
            600: "#E53935",
            700: "#D32F2F",
            800: "#C62828",
            900: "#B71C1C",
            A100: "#FF8A80",
            A200: "#FF5252",
            A400: "#FF1744",
            A700: "#D50000",
          },
          orange: {
            50: "#FFF3E0",
            100: "#FFE0B2",
            200: "#FFCC80",
            300: "#FFB74D",
            400: "#FFA726",
            500: "#FF9800",
            default: "#FF9800",
            600: "#FB8C00",
            700: "#F57C00",
            800: "#EF6C00",
            900: "#E65100",
            A100: "#FFD180",
            A200: "#FFAB40",
            A400: "#FF9100",
            A700: "#FF6D00",
          },
          "deep-orange": {
            50: "#FBE9E7",
            100: "#FFCCBC",
            200: "#FFAB91",
            300: "#FF8A65",
            400: "#FF7043",
            500: "#FF5722",
            default: "#FF5722",
            600: "#F4511E",
            700: "#E64A19",
            800: "#D84315",
            900: "#BF360C",
            A100: "#FF9E80",
            A200: "#FF6E40",
            A400: "#FF3D00",
            A700: "#DD2C00",
          },
          yellow: {
            50: "#FFFDE7",
            100: "#FFF9C4",
            200: "#FFF59D",
            300: "#FFF176",
            400: "#FFEE58",
            500: "#FFEB3B",
            default: "#FFEB3B",
            600: "#FDD835",
            700: "#FBC02D",
            800: "#F9A825",
            900: "#F57F17",
            A100: "#FFFF8D",
            A200: "#FFFF00",
            A400: "#FFEA00",
            A700: "#FFD600",
          },
        },
    },
    corePlugins: {},
  plugins: [],
};

Icon Ex Номер ошибки: Ошибка 800A0404
Название ошибки: Javascript Error 800A0404
Описание ошибки: Ошибка 800A0404: Возникла ошибка в приложении JavaScript. Приложение будет закрыто. Приносим извинения за неудобства.
Разработчик: Mozilla Foundation
Программное обеспечение: JavaScript
Относится к: Windows XP, Vista, 7, 8, 10, 11

Объяснение «Javascript Error 800A0404»

Эксперты обычно называют «Javascript Error 800A0404» «ошибкой времени выполнения». Программисты, такие как Mozilla Foundation, стремятся создавать программное обеспечение, свободное от этих сбоев, пока оно не будет публично выпущено. К сожалению, некоторые критические проблемы, такие как ошибка 800A0404, часто могут быть упущены из виду.

Пользователи JavaScript могут столкнуться с ошибкой 800A0404, вызванной нормальным использованием приложения, которое также может читать как «Javascript Error 800A0404». В случае обнаруженной ошибки 800A0404 клиенты могут сообщить о наличии проблемы Mozilla Foundation по электронной почте или сообщать об ошибках. Mozilla Foundation может устранить обнаруженные проблемы, а затем загрузить измененный файл исходного кода, позволяя пользователям обновлять свою версию. Таким образом, в этих случаях разработчик выпустит обновление программы JavaScript, чтобы исправить отображаемое сообщение об ошибке (и другие сообщенные проблемы).

Почему возникает ошибка времени выполнения 800A0404?

Наиболее распространенные вхождения «Javascript Error 800A0404» проблемы при загрузке JavaScript. Мы можем определить, что ошибки во время выполнения ошибки 800A0404 происходят из:

Ошибка 800A0404 Crash — Ошибка 800A0404 является хорошо известной, которая происходит, когда неправильная строка кода компилируется в исходный код программы. Это возникает, когда JavaScript не реагирует на ввод должным образом или не знает, какой вывод требуется взамен.

Утечка памяти «Javascript Error 800A0404» — последствия утечки памяти JavaScript связаны с неисправной операционной системой. Потенциальные триггеры могут быть «бесконечным циклом», или когда программа выполняет «цикл» или повторение снова и снова.

Ошибка 800A0404 Logic Error — Вы можете столкнуться с логической ошибкой, когда программа дает неправильные результаты, даже если пользователь указывает правильное значение. Он материализуется, когда исходный код Mozilla Foundation ошибочен из-за неисправного дизайна.

Как правило, ошибки Javascript Error 800A0404 вызваны повреждением или отсутствием файла связанного JavaScript, а иногда — заражением вредоносным ПО. Как правило, решить проблему можно заменой файла Mozilla Foundation. Запуск сканирования реестра после замены файла, из-за которого возникает проблема, позволит очистить все недействительные файлы Javascript Error 800A0404, расширения файлов или другие ссылки на файлы, которые могли быть повреждены в результате заражения вредоносным ПО.

Ошибки Javascript Error 800A0404

Частичный список ошибок Javascript Error 800A0404 JavaScript:

  • «Ошибка программы Javascript Error 800A0404. «
  • «Javascript Error 800A0404 не является приложением Win32.»
  • «Javascript Error 800A0404 столкнулся с проблемой и закроется. «
  • «Не удается найти Javascript Error 800A0404»
  • «Javascript Error 800A0404 не может быть найден. «
  • «Ошибка запуска в приложении: Javascript Error 800A0404. «
  • «Javascript Error 800A0404 не работает. «
  • «Ошибка Javascript Error 800A0404. «
  • «Неверный путь к приложению: Javascript Error 800A0404.»

Эти сообщения об ошибках Mozilla Foundation могут появляться во время установки программы, в то время как программа, связанная с Javascript Error 800A0404 (например, JavaScript) работает, во время запуска или завершения работы Windows, или даже во время установки операционной системы Windows. Отслеживание того, когда и где возникает ошибка Javascript Error 800A0404, является важной информацией при устранении проблемы.

Источники проблем Javascript Error 800A0404

Проблемы Javascript Error 800A0404 вызваны поврежденным или отсутствующим Javascript Error 800A0404, недопустимыми ключами реестра, связанными с JavaScript, или вредоносным ПО.

В частности, проблемы Javascript Error 800A0404 возникают через:

  • Недопустимый Javascript Error 800A0404 или поврежденный раздел реестра.
  • Загрязненный вирусом и поврежденный Javascript Error 800A0404.
  • Javascript Error 800A0404 злонамеренно удален (или ошибочно) другим изгоем или действительной программой.
  • Другое программное обеспечение, конфликтующее с JavaScript, Javascript Error 800A0404 или общими ссылками.
  • Поврежденная загрузка или неполная установка программного обеспечения JavaScript.

Продукт Solvusoft

Загрузка
WinThruster 2023 — Проверьте свой компьютер на наличие ошибок.

Совместима с Windows 2000, XP, Vista, 7, 8, 10 и 11

Установить необязательные продукты — WinThruster (Solvusoft) | Лицензия | Политика защиты личных сведений | Условия | Удаление

When I do npm start in the portal dir it has the error message:

Script: c:usersmeIdeaProjectsportalcp-frontendtailwind.js 
Line 32, char 7
Error: expected identifier, string or number 
Code: 800A0404. 
Source: Microsoft JScript compilation error. 

The info on the screen before the error message and after npm start is:

>npm start

> start
> concurrently -k -n 'frontend,backend' "npm run start-frontend" "npm run start-backend"

[frontend]
[frontend] > start-frontend
[frontend] > cd cp-frontend && npm run start
[frontend]
[backend]
[backend] > start-backend
[backend] > cd cp-backend && npm run start
[backend]
[frontend]
[frontend] > customer-portal-frontend@0.1.0 start
[frontend] > npm run tailwind:css && react-scripts start
[frontend]
[backend]
[backend] > customer-portal-poc@1.0.0 start
[backend] > nodemon -r dotenv/config index.js
[backend]
[backend] [nodemon] 2.0.2
[backend] [nodemon] to restart at any time, enter `rs`
[backend] [nodemon] watching dir(s): *.*
[backend] [nodemon] watching extensions: js,mjs,json
[backend] [nodemon] starting `node -r dotenv/config index.js`
[backend] Server listening on port: 3002
[frontend]
[frontend] > customer-portal-frontend@0.1.0 tailwind:css
[frontend] > tailwind build src/tailwind.src.css -c tailwind.js -o src/tailwind.css
[frontend]
[frontend] npm run start-frontend exited with code 1
--> Sending SIGTERM to other processes..
[backend] npm run start-backend exited with code 1

My tailwind.js file looks like this (line 32 shown in added comment):

module.exports = {
  theme: {
    extend: {
      colors: {
        primary: '#63ACE5',
        background: '#E6EFF6',
        'blue-light': '#63ACE5',
        'blue': '#4C86B5',
        'blue-dark': '#2A4E68',
        accent: '#FCAB4D'
      },
      spacing: {
        px: '1px',
        '0': '0',
        '1': '0.25rem',
        '2': '0.5rem',
        '3': '0.75rem',
        '4': '1rem',
        '5': '1.25rem',
        '6': '1.5rem',
        '8': '2rem',
        '10': '2.5rem',
        '12': '3rem',
        '16': '4rem',
        '20': '5rem',
        '24': '6rem',
        '32': '8rem',
        '40': '10rem',
        '48': '12rem',
        '56': '14rem',
        '64': '16rem',
      },  //this is line 32
      screens: {
        'sm': '640px',
        // => @media (min-width: 640px) { ... }
  
        'md': '768px',
        // => @media (min-width: 768px) { ... }
  
        'lg': '1024px',
        // => @media (min-width: 1024px) { ... }
  
        'xl': '1280px',
        // => @media (min-width: 1280px) { ... }
      }
    },
  },
  variants: {
    tableLayout: ['responsive', 'hover', 'focus'],
    borderWidth: ['responsive', 'first', 'last', 'hover', 'focus'],
    padding: ['responsive', 'first', 'last'],
  },
  plugins: [],
};

I’m looking at these threads, tailwind file or enter link description here, but since this web page is a running web page in prod, I doubt I’d need to edit my tailwinds file or rename a file.

I have built the project in IntelliJ idea.

Update1: I tried npm install -g yarn but still get the same error message.

Update:
I tried renaming tailwind.js to tailwind.config.js in cp-frontend and also it’s reference in package.json. Npm start had error:

Failed to compile layout.js. Module not found can’t resolve react.router

I did the following:

in root dir and cp-frontend dir:

npm install react-router-dom
npm install react-router-config

I didn’t get popup error after that, but had errors:

[frontend]   Line 21:6:   React Hook useEffect has a missing dependency: 'register'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
[frontend]
[frontend] ./src/components/user/findProperty/FindProperty.js
[frontend]   Line 47:6:  React Hook useEffect has a missing dependency: 'register'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
[frontend]
[frontend] ./src/components/user/dashboard/PastPayments.js
[frontend]   Line 4:8:  'ChevronIcon' is defined but never used   no-unused-vars
[frontend]   Line 5:8:  'DownloadIcon' is defined but never used  no-unused-vars
[frontend]
[frontend] ./src/components/common/alerts/Alerts.js
[frontend]   Line 54:6:  React Hook useEffect has an unnecessary dependency: 'fetchAlertData'. Either exclude it or remove the dependency array. Outer scope values like 'fetchAlertData' aren't valid dependencies because mutating them doesn't re-render the component  react-hooks/exhaustive-deps
[frontend]
[frontend] ./src/components/user/pastBills/PastBills.js
[frontend]   Line 66:6:   React Hook useEffect has missing dependencies: 'history', 'params', 'serviceAccounts', and 'showFileInUrl'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
[frontend]   Line 93:11:  <iframe> elements must have a unique title property                                                                                                             jsx-a11y/iframe-has-title
[frontend]
[frontend] ./src/components/user/dashboard/CustomerSvcTable.js
[frontend]   Line 7:22:  'formatCurrencyNum' is defined but never used                                                                   no-unused-vars
[frontend]   Line 34:6:  React Hook useEffect has a missing dependency: 'getSvcOrder'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
[frontend]
[frontend] ./src/components/user/layout/Layout.js
[frontend]   Line 80:6:   React Hook useEffect has a missing dependency: 'fetchInitialData'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
[frontend]   Line 86:20:  'Tawk_API' was used before it was defined                                                                            no-use-before-define
[frontend]   Line 91:9:   'Tawk_LoadStart' is assigned a value but never used                                                                  no-unused-vars
[frontend]
[frontend] ./src/components/common/navbar/Navbar.js
[frontend]   Line 91:15:  No duplicate props allowed  react/jsx-no-duplicate-props
[frontend]
[frontend] ./src/components/common/card/Card.js
[frontend]   Line 94:21:  Using target="_blank" without rel="noopener noreferrer" is a security risk: see https://mathiasbynens.github.io/rel-noopener  react/jsx-no-target-blank
[frontend]
[frontend] Search for the keywords to learn more about each warning.
[frontend] To ignore, add // eslint-disable-next-line to the line before.

My question now is, do I need to add the missing dependencies to the package.json for the frontend? I’m sure they will go away if I do npm install , but I’m unclear on the permanent fix. Do the dependency list items have an order? The browser popped up with a blank screen but the debugging tool doesn’t show an error that I can see.

Kibana version: Kibana 7.0.0-alpha1 (cloned from repository)

Elasticsearch version: ElasticSearch 6.2.4 (downloaded from main page. I am not getting to the point of using this, however)

Server OS version: Windows 10 Home 64-bit

Browser version: Google Chrome Version 66.0.3359.139 (Official Build) (64-bit)

Browser OS version: above

Original install method (e.g. download page, yum, from source, etc.): Kibana cloned from forked repository (efregoso/kibana), ElasticSearch presumably downloaded from main website (elastic.co)

Description of the problem including expected versus actual behavior:
I wish to develop some application plugins for Kibana, so I have been following the guide to setting up the dev environment from CONTRIBUTING.md. However, on yarn kbn bootstrap, I receive the following popup error from the Windows Script Host:

Script: C:UserssuperOneDriveDocumentskibanapackageskbn-babel-presetnode.js
Line: 13
Char: 9
Error: Expected identifier, string or number
Code: 800A0404
Source: Microsoft JScript compilation error

I have researched this error online and seen a lot of suggestions to remove commas following the last elements of lists/dictionary objects. I did this myself in the kibanapackageskbn-babel-presetnode.js file, and then on rerunning yarn kbn bootstrap, received this error from the Windows Script Host:

Script: C:UserssuperOneDriveDocumentskibanapackageskbn-babel-presetnode.js
Line: 1
Char: 1
Error: 'module' is undefined
Code: 800A1391
Source: Microsoft JScript runtime error

On dismissal (clicking OK), the bootstrap proceeds as normal until hitting the kibanapackageseslint-import-resolver-kibana directory:

Installing dependencies in [@kbn/eslint-import-resolver-kibana]:

[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.3: The platform "win32" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check.
Excluding it from installation.
[3/4] Linking dependencies...
warning " > eslint-import-resolver-webpack@0.8.4" has unmet peer dependency "esl
int-plugin-import@>=1.4.0".
[4/4] Building fresh packages...
[1/1] ⠈ uglifyjs-webpack-plugin
[-/1] ⠈ waiting...
[-/1] ⠈ waiting...
[-/1] ⠈ waiting...
error C:UserssuperDocumentskibanapackageskbn-eslint-import-resolver-kibana
node_modulesuglifyjs-webpack-plugin: Command failed.
Exit code: 1
Command: node lib/post_install.js
Arguments:
Directory: C:UserssuperDocumentskibanapackageskbn-eslint-import-resolver-k
ibananode_modulesuglifyjs-webpack-plugin
Output:
module.js:549
    throw err;
    ^

Error: Cannot find module 'C:UserssuperDocumentskibanapackageskbn-eslint-i
mport-resolver-kibananode_modulesuglifyjs-webpack-pluginlibpost_install.js'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Function.Module.runMain (module.js:693:10)

[bootstrap] failed:

Error: Command failed: yarn install --non-interactive --mutex file
    at makeError (C:UserssuperDocumentskibanapackageskbn-pmdistindex.js:
38964:9)
    at Promise.all.then.arr (C:UserssuperDocumentskibanapackageskbn-pmdis
tindex.js:39069:16)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Oddly enough, I have gotten the bootstrap to complete on another, older computer running the same OS & browser version, bar having to edit the kibanapackageskbn-babel-presetnode.js file as I did here beforehand. However, though ES seems to boot just fine, on trying to run kibana.bat, I get the Unable to find usable Node.js executable error. I’m honestly stumped.

Steps to reproduce:

  1. Clone the kibana repository from a fork, and download and install Node.js 8.11.0, Yarn v.1.6.0.
  2. In the shell, change directory to the clone repo directory.
  3. Run yarn kbn bootstrap.

Errors in browser console (if relevant): None

Provide logs and/or server output (if relevant):
For the first error:

Script: C:UserssuperOneDriveDocumentskibanapackageskbn-babel-presetnode.js
Line: 13
Char: 9
Error: Expected identifier, string or number
Code: 800A0404
Source: Microsoft JScript compilation error

For the second:

Script: C:UserssuperOneDriveDocumentskibanapackageskbn-babel-presetnode.js
Line: 1
Char: 1
Error: 'module' is undefined
Code: 800A1391
Source: Microsoft JScript runtime error

And in the shell for the second:

Installing dependencies in [@kbn/eslint-import-resolver-kibana]:

[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.3: The platform "win32" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check.
Excluding it from installation.
[3/4] Linking dependencies...
warning " > eslint-import-resolver-webpack@0.8.4" has unmet peer dependency "esl
int-plugin-import@>=1.4.0".
[4/4] Building fresh packages...
[1/1] ⠈ uglifyjs-webpack-plugin
[-/1] ⠈ waiting...
[-/1] ⠈ waiting...
[-/1] ⠈ waiting...
error C:UserssuperDocumentskibanapackageskbn-eslint-import-resolver-kibana
node_modulesuglifyjs-webpack-plugin: Command failed.
Exit code: 1
Command: node lib/post_install.js
Arguments:
Directory: C:UserssuperDocumentskibanapackageskbn-eslint-import-resolver-k
ibananode_modulesuglifyjs-webpack-plugin
Output:
module.js:549
    throw err;
    ^

Error: Cannot find module 'C:UserssuperDocumentskibanapackageskbn-eslint-i
mport-resolver-kibananode_modulesuglifyjs-webpack-pluginlibpost_install.js'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Function.Module.runMain (module.js:693:10)

[bootstrap] failed:

Error: Command failed: yarn install --non-interactive --mutex file
    at makeError (C:UserssuperDocumentskibanapackageskbn-pmdistindex.js:
38964:9)
    at Promise.all.then.arr (C:UserssuperDocumentskibanapackageskbn-pmdis
tindex.js:39069:16)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

On another computer after running kibana.bat, after successful completion of the bootstrap bar editing the kibanapackageskbn-babel-presetnode.js file and completing all of the following steps under the «Steps to Reproduce» section:
Unable to find usable node.js executable

UPDATE 2: Unfortunately, it doesn’t work on my other computer either. While elasticsearch boots just fine, kibana.bat gives an «Unable to find usable node.js executable» message on boot. Though I know it’s dangerous, I think I am just going to try to develop on the production version of Kibana from the Elastic website. Should I submit a bug request about this?

UPDATE 1: I went into the kibanapackageskbn-babel-presetnode.js file & got rid of some of the commas at the end of lists/dictionary objects, which fixed the 800A0404 error, but caused another:

Script: C:UserssuperOneDriveDocumentskibanapackageskbn-babel-presetnode.js
Line: 1
Char: 1
Error: 'module' is undefined
Code: 800A1391
Source: Microsoft JScript runtime error

Dismissing this popup allows the bootstrap to continue until hitting the eslint-import-resolver-kibana directory:

Installing dependencies in [@kbn/eslint-import-resolver-kibana]:

[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.3: The platform "win32" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check.
Excluding it from installation.
[3/4] Linking dependencies...
warning " > eslint-import-resolver-webpack@0.8.4" has unmet peer dependency "esl
int-plugin-import@>=1.4.0".
[4/4] Building fresh packages...
[1/1] ⠈ uglifyjs-webpack-plugin
[-/1] ⠈ waiting...
[-/1] ⠈ waiting...
[-/1] ⠈ waiting...
error C:UserssuperDocumentskibanapackageskbn-eslint-import-resolver-kibana
node_modulesuglifyjs-webpack-plugin: Command failed.
Exit code: 1
Command: node lib/post_install.js
Arguments:
Directory: C:UserssuperDocumentskibanapackageskbn-eslint-import-resolver-k
ibananode_modulesuglifyjs-webpack-plugin
Output:
module.js:549
    throw err;
    ^

Error: Cannot find module 'C:UserssuperDocumentskibanapackageskbn-eslint-i
mport-resolver-kibananode_modulesuglifyjs-webpack-pluginlibpost_install.js'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Function.Module.runMain (module.js:693:10)

[bootstrap] failed:

Error: Command failed: yarn install --non-interactive --mutex file
    at makeError (C:UserssuperDocumentskibanapackageskbn-pmdistindex.js:
38964:9)
    at Promise.all.then.arr (C:UserssuperDocumentskibanapackageskbn-pmdis
tindex.js:39069:16)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Once again: any advice is greatly appreciated!

ORIGINAL: I am new to Kibana plugin & JavaScript development & would appreciate some help with an error I have been attempting to troubleshoot for a little while now.

I am attempting to set up my developer environment for creating Kibana plugins as per this guide. However, I only just recently started getting the following popup error from the Windows Script Host on running the yarn kbn bootstrap command in the cloned kibana directory, shortly after cloning the Kibana Github directory and installing Yarn & Node.js:

Script: C:UserssuperOneDriveDocumentskibanapackageskbn-babel-presetnode.js
Line: 13
Char: 9
Error: Expected identifier, string or number
Code: 800A0404
Source: Microsoft JScript compilation error

After clicking OK to dismiss this popup, here is what appears in the shell:

super@DESKTOP MINGW64 ~/OneDrive/Documents/kibana (master)
$ yarn kbn bootstrap
yarn run v1.6.0
$ node scripts/kbn bootstrap
Running [bootstrap] command from [C:UserssuperOneDriveDocumentskibana]:

Found [16] projects:

kibana
├── packages
│   ├── eslint-config-kibana (@elastic/eslint-config-kibana)
│   ├── eslint-plugin-kibana-custom (@elastic/eslint-plugin-kibana-custom)
│   ├── kbn-babel-preset (@kbn/babel-preset)
│   ├── kbn-datemath (@kbn/datemath)
│   ├── kbn-dev-utils (@kbn/dev-utils)
│   ├── kbn-es (@kbn/es)
│   ├── kbn-eslint-import-resolver-kibana (@kbn/eslint-import-resolver-kibana)
│   ├── kbn-eslint-plugin-license-header (@kbn/eslint-plugin-license-header)
│   ├── kbn-plugin-generator (@kbn/plugin-generator)
│   ├── kbn-plugin-helpers (@kbn/plugin-helpers)
│   ├── kbn-pm (@kbn/pm)
│   ├── kbn-system-loader (@kbn/system-loader)
│   ├── kbn-test-subj-selector (@kbn/test-subj-selector)
│   └── kbn-ui-framework (@kbn/ui-framework)
└── x-pack

Running installs in topological order:


Installing dependencies in [@kbn/babel-preset]:


[bootstrap] failed:

Error: Command failed: yarn install --non-interactive --mutex file
    at makeError (C:UserssuperOneDriveDocumentskibanapackageskbn-pmdist
index.js:38964:9)
    at Promise.all.then.arr (C:UserssuperOneDriveDocumentskibanapackagesk
bn-pmdistindex.js:39069:16)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

The above error only occurs when I go to run yarn kbn bootstrap in the Git Bash terminal. Immediately after, I uninstalled/reinstalled Java v.8, v.10, Node.js, and Yarn with computer restarts in between, figuring that since the script host mentions JScript compilation that un-/reinstalling Java would help, but to no avail. Any advice would be greatly appreciated.

Возможно, вам также будет интересно:

  • Ошибка кодировки windows 10
  • Ошибка кодировка базы utf8mb4 отличается от кодировки соединения utf8 исправить
  • Ошибка кодировка базы latin1 отличается от кодировки соединения utf8 исправить
  • Ошибка кодировка базы cp1251 отличается от кодировки соединения utf8
  • Ошибка кодирования или неисправен клон elm327

  • Понравилась статья? Поделить с друзьями:
    0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии