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.

Toetag dependency issue

See original GitHub issue

I am getting the following error when using this library, and am absolutely stumped.

Module not found: Error: Can't resolve './lib/bootstrap-variables' in '/path/to/node_modules/toetag'

When looking into the toetag library it looks like it is referencing a file not in its source code. I am posting this here instead of that repo because it looks like you all made that library anyways, and there is way more activity here.

Issue Analytics

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

github_iconTop GitHub Comments

6reactions
chadlycommented, May 10, 2017

Did you override your resolve.extensions? Webpack 2 is set to load json files by default extensionless. But if you override resolve.extensions, you will need to make sure to include .json in there.

1reaction
frankolsoncommented, May 9, 2017

Alright so I looked into it more and it looks like webpack has json loadin on by default. This was confirmed because when I updated toetag from this:

module.exports = {
  'bootstrap': require('./lib/bootstrap-variables')
} 

to this:

module.exports = {
  'bootstrap': require('./lib/bootstrap-variables.json')
}

(note the extension change) it started working. Is there a reason why the extension was left out?

Read more comments on GitHub >

github_iconTop Results From Across the Web

toetag - npm
Use bootstrap variables in your Javascript. Latest version: 3.3.7, last published: 5 years ago. Start using toetag in your project by ...
Read more >
Benzodiazepines 'a major problem' in illicit drug supply - CBC
The way the body becomes dependent on the substance over time means ... she has to see me with a toe tag over...
Read more >
Altruism versus Co-dependency - Mandala Publications - FPMT
A person is said to be suffering from co-dependency when he or she exhibits a caring attitude toward a loved one who is...
Read more >
Required Warnings for Cigarette Packages and Advertisements
While nicotine addiction is one negative health effect of ... for use with this statement: “toe tag,” which appears on pages 21 and...
Read more >
Change of Venue: An Exploratory, Multistage Evaluation that ...
Change Based on the Shared Experiences of the Toe Tag Monologues" (2020) ... Mental health issues are associated with addiction and it needs ......
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