You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works perfect for my current project however, if one of my es6 modules has an HTML template reference like this:
import template from './landing-view.component.html';
and run
npm run test
I get this error.
{
"message": "Uncaught Error: Module parse failed: Unexpected token (1:0)\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders\n> <div class=\"sc-cohort-calendar\">\n| <div class=\"margin--bottom\">\n| \nat webpack:///./src/directives/scheduling-calendar/scheduling-calendar.component.html?:1:1\n\nError: Module parse failed: Unexpected token (1:0)\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders\n> <div class=\"sc-cohort-calendar\">\n| <div class=\"margin--bottom\">\n| \n at eval (webpack:///./src/directives/scheduling-calendar/scheduling-calendar.component.html?:1:7)\n at Object../src/directives/scheduling-calendar/scheduling-calendar.component.html (src/directives/index.js:108:1)\n at __webpack_require__ (src/directives/index.js:20:30)\n at eval (webpack:///./src/directives/scheduling-calendar/scheduling-calendar.component.js?:3:93)\n at Module../src/directives/scheduling-calendar/scheduling-calendar.component.js (src/directives/index.js:120:1)\n at __webpack_require__ (src/directives/index.js:20:30)\n at eval (webpack:///./src/directives/index.js?:2:111)\n at Module../src/directives/index.js (src/directives/index.js:97:1)\n at __webpack_require__ (src/directives/index.js:20:30)\n at src/directives/index.js:84:18",
"str": "Uncaught Error: Module parse failed: Unexpected token (1:0)\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders\n> <div class=\"sc-cohort-calendar\">\n| <div class=\"margin--bottom\">\n| \nat webpack:///./src/directives/scheduling-calendar/scheduling-calendar.component.html?:1:1\n\nError: Module parse failed: Unexpected token (1:0)\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders\n> <div class=\"sc-cohort-calendar\">\n| <div class=\"margin--bottom\">\n| \n at eval (webpack:///./src/directives/scheduling-calendar/scheduling-calendar.component.html?:1:7)\n at Object../src/directives/scheduling-calendar/scheduling-calendar.component.html (src/directives/index.js:108:1)\n at __webpack_require__ (src/directives/index.js:20:30)\n at eval (webpack:///./src/directives/scheduling-calendar/scheduling-calendar.component.js?:3:93)\n at Module../src/directives/scheduling-calendar/scheduling-calendar.component.js (src/directives/index.js:120:1)\n at __webpack_require__ (src/directives/index.js:20:30)\n at eval (webpack:///./src/directives/index.js?:2:111)\n at Module../src/directives/index.js (src/directives/index.js:97:1)\n at __webpack_require__ (src/directives/index.js:20:30)\n at src/directives/index.js:84:18"
}
Is there anyway to remedy this??
The text was updated successfully, but these errors were encountered:
This works perfect for my current project however, if one of my es6 modules has an HTML template reference like this:
and run
I get this error.
Is there anyway to remedy this??
The text was updated successfully, but these errors were encountered: