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.

Npm package doesn't work, bad code

See original GitHub issue

This is very strange. I’ve installed the package with npm install blissfuljs. I have version 1.0.5. The source code is different than the one in the repository for file bliss.shy.js and I haven’t found this code in any old commit or the releases.

I’m getting an error calling $.ready(callback) at line 575 of said file because var callback doesn’t exist. In the latest github code it’s used as options.callback instead.

I’m a bit new to npm/node but I think what I’ve done is pretty simple. I can’t find where this code came from.

Please, can someone explain?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
LeaVeroucommented, Oct 21, 2020

@nikolay-borzov I did release a new version when I said I would. The current version on npm is 1.0.6, which is the latest version.

0reactions
nikolay-borzovcommented, Jun 19, 2019

Still, it would be great to publish a new version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to solve npm install error “npm ERR! code 1”
If that doesn't work, try replacing the bad npm package with another one or look on their GitHub repository for solutions.
Read more >
Common errors | npm Docs
It's most likely a temporary npm registry glitch. Check npm server status and try again later. If the error persists, perhaps the published...
Read more >
Common NPM Mistakes Every Developer Should Avoid
1. Manually adding dependencies to package.json · 2. Locking your peer dependencies to a specific patch version · 3. Publishing multiple modules ...
Read more >
[BUG] Overrides are not updating after running npm install
To make it work I had to remove both package.lock and node_modules , then the overrides have been applied. Expected Behavior. Change in ......
Read more >
Npm link set up advice and troubleshooting - Code Buckets
Unfortunately when npm link doesn't work it can be difficult to work out why. Here are a few things that might have gone...
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