Запуск сервера grunt генератора yeoman angular с WebStorm 7.0.1 выдает:
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/jquery/jquery.js.map:0
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/angular/angular.js.map:0
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/bootstrap-sass/js/bootstrap-affix.js.map:0
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/bootstrap-sass/js/bootstrap-alert.js.map:0
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/bootstrap-sass/js/bootstrap-dropdown.js.map:0
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/bootstrap-sass/js/bootstrap-tooltip.js.map:0
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/bootstrap-sass/js/bootstrap-modal.js.map:0
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/bootstrap-sass/js/bootstrap-transition.js.map:0
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/bootstrap-sass/js/bootstrap-button.js.map:0
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/bootstrap-sass/js/bootstrap-popover.js.map:0
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.google-analytics.com/analytics.js.map:0
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/bootstrap-sass/js/bootstrap-typeahead.js.map:0
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/bootstrap-sass/js/bootstrap-carousel.js.map:0
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/bootstrap-sass/js/bootstrap-scrollspy.js.map:0
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/bootstrap-sass/js/bootstrap-collapse.js.map:0
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/bootstrap-sass/js/bootstrap-tab.js.map:0
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/scripts/jquery.min.map:0
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/scripts/controllers/main.js.map:0
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/scripts/controllers/main.js.map:0
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:35729/livereload.js.map:0
Поиск .js.map
или sourceMappingURL
в загруженных браузером файлах не дает результата, а в исходном коде проекта нет результата, связанного с этими файлами из ошибки.
Ошибки отображаются только тогда, когда WebStorm подключен к плагину поддержки JetBrains IDE, при первом запуске и при перезагрузке изменений в реальном времени. Они отображаются в консоли отладки javascript в среде IDE, а также в консоли браузера, но после открытия инструментов разработчика и выполнения обновления из браузера ошибок не возникает (поэтому я не могу проверить инициатор запроса в вкладка сети, если нет способа запустить инструменты разработчика при загрузке новой вкладки, РЕДАКТИРОВАТЬ: на самом деле это тоже не сработает).
Действия по воспроизведению проблемы:
- установить угловой генератор йомена
- создать проект webstorm из этих источников
- запустите проект, используя следующую конфигурацию (вторая конфигурация будет создана автоматически для JS):
Интерпретатор узла: pathToNode\nodejs\node.exe
Рабочий каталог: ProjectRootFolder
Файл JavaScript: C:\Users\UserName\AppData\Roaming\npm\node_modules\grunt-cli\bin\grunt
Параметр приложения: сервер
и для браузера/живого редактирования:
проверить После запуска
проверьте отладчиком JavaScript
стартовый адрес:
http://localhost:9000
Любые идеи о том, как я могу отлаживать эти ошибки? Спасибо за помощь!