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.

require-from-string dependency error

See original GitHub issue

Affected cosmiconfig version: 2.2.2


require-from-string just published a new version, and it seems to have broken the version an older version of this lib depends on. I’m not too sure exactly what’s going on, but I think it may be an npm error.

Travis build showing the error: https://travis-ci.org/jmeas/hearth/builds/325851628?utm_source=github_status&utm_medium=notification

To reproduce, just try to depend on require-from-string@^1.1.0 and do an npm install. However, npm info require-from-string shows 1.1.0 as a valid version:

{ modified: '2018-01-06T18:57:39.402Z',
     created: '2015-07-18T15:08:53.362Z',
     '1.0.0': '2015-07-18T15:08:53.362Z',
     '1.0.1': '2015-11-03T08:09:49.990Z',
     '1.0.2': '2015-11-06T19:08:43.545Z',
     '1.1.0': '2015-11-07T11:43:15.008Z',
     '1.2.0': '2016-05-03T07:32:12.394Z',
     '1.2.1': '2016-10-01T19:32:05.278Z',
     '2.0.0': '2017-09-16T07:04:34.217Z',
     '2.0.1': '2017-09-17T06:52:37.555Z',
     '2.0.2': '2018-01-06T18:57:39.402Z' }

Cross-linking the npm issue: https://github.com/npm/npm/issues/19534

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:8
  • Comments:13

github_iconTop GitHub Comments

4reactions
tbuttercommented, Jan 6, 2018

https://status.npmjs.org/

Identified - Several packages including “require-from-string” are currently unavailable. We are aware of the issue and are working to restore the affected user and packages. Please do not attempt to republish packages, as this will hinder our progress in restoring them.

1reaction
jamespleasecommented, Jan 9, 2018

Our internal registry’s normal sync script was not enough to fix this issue, and we had to go in and manually fix things.

For future visitors to this issue: if you’re not using the public registry, you may need to do some manual fixing as well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error when installing v2.0.2 from NPM · Issue #21 - GitHub
Had this come in from our project via gulp-postcss -> postcss-load-config -> cosmiconfig -> require-from-string and it seems the 2.0.2 publish ...
Read more >
Error installing Angular using npm due to require-from-string
The require-from-string page used to return a 404, but at least now it loads the correct page on NPM's website: ...
Read more >
require-from-string - npm
Start using require-from-string in your project by running `npm i require-from-string`. There are 806 other projects in the npm registry ...
Read more >
Unable to install dependencies, NPM install not working
23 error Make sure you have the latest version of node.js and npm ... UNMET PEER DEPENDENCY grunt@1.0.1 ... require-from-string@1.2.1
Read more >
Decimal - Go Packages
RequireFromString returns a new Decimal from a string representation or panics if NewFromString would have returned an error. Example:
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