Closed kumavis closed 8 years ago
src:
var quickconnect = require('rtc-quickconnect')
var rtcDataStream = require('rtc-data-stream')
var RString = require('r-string')
var createEditor = require('javascript-editor')
var editor = createEditor({ container: document.body })
quickconnect('https://switchboard.rtc.io/', { room: 'c0d3rz' })
.createDataChannel('code')
.on('channel:opened:code', function(id, dc) {
console.log('channel foo opened for peer: ' + id);
var transport = rtcDataStream(dc)
connectPeer(transport)
});
function connectPeer(transport) {
transport
}
package.json:
{
"name": "requirebin-sketch",
"version": "1.0.0",
"dependencies": {
"edit": "1.0.1",
"rtc-data-stream": "1.0.2",
"rtc-quickconnect": "4.3.0",
"r-string": "git://github.com/kumavis/r-string.git"
}
}
request:
{"options":{"debug":true},"dependencies":{"r-string":"git://github.com/kumavis/r-string.git"}}
Getting the same error.
Is this project abandoned or is this issue lacking sufficient details?
abandoned is such a strong term
truly! :) @jfhbrook
So it's basically having trouble with non-numeric values for modules versions
<<"r-string": "git://github.com/kumavis/r-string.git">>
is causing it for the OP
As for me, I was being sloppy and specifying "*" for the version of ImmutableJS module
Obviously the error message could be more self explanatory, but it's NOT entirely useless :)
p.s. not sure if it would work with "^" or "~" prefixed to version numbers... haven't tried
Update:
Just starred this! Using it via ttp://esnextb.in/
sorry for bitching
yes, versions not on npm (like git tags) will barf spectacularly. There's an open issue for it.
project isnt abandoned, just none of us care about new npm features :) but if someone wants to invest in supporting all the new stuff then more power to you
Closing this because I'm choosing arbitrarily to track non-npm version support at #107 107