gitana / alpaca

Alpaca provides the easiest way to generate interactive HTML5 forms for web and mobile applications. It uses JSON Schema and simple Handlebars templates to generate great looking, dynamic user interfaces on top of Twitter Bootstrap, jQuery UI, jQuery Mobile and HTML5.
http://www.alpacajs.org
Other
1.29k stars 371 forks source link

npm install fails due to transitive bundled dependency - npm 5.7.0 #624

Open hauntingEcho opened 6 years ago

hauntingEcho commented 6 years ago

attempting to install alpaca with dev dependencies (for testing of a slight fork), its dev dependency phantom@0.6.3, or phantom@0.6.3's dependency shoe all fail with the following error:

npm ERR! code ETARGET
npm ERR! notarget No matching version found for sockjs-client@0.0.0-unreleasable
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget 
npm ERR! notarget It was specified as a dependency of 'shoe'
npm ERR! notarget 

as phantom is currently on version 4.0.12, which does not use shoe, it should be updated.

hauntingEcho commented 6 years ago

see also the bug report in shoe: https://github.com/substack/shoe/issues/36

hauntingEcho commented 6 years ago

It looks like this is actually a bug in npm 5.7.0's handling of bundled dependencies:

https://github.com/npm/npm/issues/20047