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.

Hello again,

I’m using npm to instantiate my projects, and not bower.

There isn’t any npm package published yet, I think it could be nice.

But, with npm, we can install a package directly from his github URL, for example

npm install socib/Leaflet.TimeDimension#d579118

I encounter some errors :

npm ERR! Linux 4.4.0-47-generic
npm ERR! argv "/home/mdartic/.nvm/versions/node/v4.4.7/bin/node" "/home/mdartic/.nvm/versions/node/v4.4.7/bin/npm" "install" "socib/Leaflet.TimeDimension#d579118"
npm ERR! node v4.4.7
npm ERR! npm  v2.15.8
npm ERR! code E404

npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/iso8601-js-period
npm ERR! 404 
npm ERR! 404 'iso8601-js-period' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'leaflet-timedimension'
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

This is due to the iso8601-js-period that is not declared into npmjs registry.

Several questions :

  • what do you think about publishing this plugin in npm ?
  • do you agree i make a PR to update package.json and add iso8601-js-period in dependency ?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
bielfronteracommented, Nov 29, 2016

done. Can you test it?

0reactions
mdarticcommented, Nov 29, 2016

Thank you ! Works perfectly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm
The free npm Registry has become the center of JavaScript code sharing, and with more than one million packages, the largest software registry...
Read more >
What is npm - W3Schools
npm is the world's largest Software Registry. The registry contains over 800,000 code packages. Open-source developers use npm to share software. Many ...
Read more >
An introduction to the NPM package manager - NodeJS Dev
npm is the standard package manager for Node.js. In September 2022 over 2.1 million packages were reported being listed in the npm registry,...
Read more >
npm (software) - Wikipedia
npm is the default package manager for the JavaScript runtime environment Node.js. It consists of a command line client, also called npm, and...
Read more >
40 Useful NPM Packages for Node.js Apps in 2021 - LeanyLabs
Node.js applications benefit from more than a million open-source packages available in the NPM package registry. Most popular packages get well over 10 ......
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