question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot resolve module 'html'

See original GitHub issue

I’m trying to get the ngtemplate-loader and baggage working together but keep getting this error:

Module not found: Error: Cannot resolve module 'html' in /app-name/src/directives/directive_name

My folder structure is the same as your README example. Bit stumped!

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

16reactions
WearyMonkeycommented, Nov 11, 2015

Have you tried npm install html-loader --save-dev ?

6reactions
eden-lanecommented, Jul 17, 2016

At least this should be mentioned in README I think. I thought it was something with my paths before I found this issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Error: Cannot find module html" when visiting HTML page
I am assuming that test.html is a static file. To render static files, use the static middleware like so:
Read more >
Error Cannot find module html | Edureka Community
I have a basic node. js app that I am trying to get off the ground using Express framework.
Read more >
cannot find module [Node npm Error Solved] - freeCodeCamp
How to Fix the "cannot find module" Error · delete the node modules folder by running rm -rf node_modules · delete package.lock.json file...
Read more >
"Cannot resolve module" for CSS files · Issue #1470 - GitHub
When I try to require CSS files, I get an error: ERROR in ./src/client/scripts/display-test.js Module not found: Error: Cannot resolve ...
Read more >
Module not found | Can not resolve module in react - YouTube
Join this channel to get access to perks:https://www.youtube.com/channel/UCoSpmr2KNOxjwE_B9ynUmig/joinMy GearCamera ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found