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.

v2.1.2 NPM package doesn't include `helpers.js` in `dist`

See original GitHub issue

Since v2.1.2 helpers.js is not included in the dist folder via NPM. This is causing builds to fail e.g.:

Error: Cannot find module './helpers.js' at Function.Module._resolveFilename (module.js:476:15) at Function.Module._load (module.js:424:25) at Module.require (module.js:504:17) at require (internal/module.js:20:19) at Object.<anonymous> (/node_modules/imagemin-webpack-plugin/dist/index.js:77:16) at Module._compile (module.js:577:32) at Object.Module._extensions..js (module.js:586:10) at Module.load (module.js:494:32) at tryModuleLoad (module.js:453:12) at Function.Module._load (module.js:445:3)

I’m not sure where the issue lies, if this is a problem with NPM. Thanks for a great package.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
Klathmoncommented, May 9, 2018

Just to make sure everyone here and everyone that +1’d it gets notifications of the fix:

@dan-rally @konradhalas @LeoColomb

1reaction
dan-rallycommented, May 9, 2018

Many thanks @Klathmon, can confirm v2.1.5 works great!

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm does not support Node.js v10.19.0 · Issue #3644
I have installed nodejs and npm from the command line. Node.js version. 10.19.0. Example code. No response. Operating system. Kubuntu 20.04 ...
Read more >
What could cause an error related to npm not being able to ...
I have node 8.9.4, npm 5.6.0, and angular-CLI 1.5.0 installed as well as typescript 2.0.0. The latter two packages have been installed ...
Read more >
package.json
This document is all you need to know about what's required in your package.json file. It must be actual JSON, not just a...
Read more >
vuex-composition-helpers
A util package to use Vuex with Composition API easily. Installation. $ npm install vuex-composition-helpers. For Vue 3.x - use the next tag ......
Read more >
js-cookie
A simple, lightweight JavaScript API for handling cookies. Latest version: 3.0.1, last published: a year ago. Start using js-cookie in your ...
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