Closed nataliethistime closed 9 years ago
Worked for me on: duo 0.9.2 node 0.10.26 npm 1.4.3 OS X Mavericks
Have you tried addressing the ~/.netrc issue? duo-package could not read auth details from ~/.netrc
Also, it says 2.js wasn't modified - what are the contents of build/2.js
? Is it what you expect, or is stuff missing? Maybe there's a problem detecting modifications.
also working fine for me:
stephenmathieson at MBP in ~/repos/github.com/duojs/bugs/427
$ duo --version
0.9.2
stephenmathieson at MBP in ~/repos/github.com/duojs/bugs/427
$ node --version
v0.11.14
stephenmathieson at MBP in ~/repos/github.com/duojs/bugs/427
$ vim 2.js
stephenmathieson at MBP in ~/repos/github.com/duojs/bugs/427
$ cat 2.js
// 2.js
var uid = require('matthewmueller/uid:index.js');
console.log(uid(10));
stephenmathieson at MBP in ~/repos/github.com/duojs/bugs/427
$ duo 2.js --stdout > build.js
building : 2.js
using : component_compat
using : stoj
installed : matthewmueller-uid@0.0.2
built : 2.js
stephenmathieson at MBP in ~/repos/github.com/duojs/bugs/427
$ node build.js
93svlaet9o
@johntron I'll look at getting Auth set up, I didn't think it was necessary.
2.js wasn't modified, for whatever reason that was the second time I ran it.
Update: I setup the ~/.netrc
file and I got the same cannot find module
on 2.js
Doesn't seem like anybody knows what's up with my setup/configuration or whatever. I'm using Browserify in my project, so this is not a problem anymore. Closing..
I'm not sure I'm using this correctly, but this is what I'm getting:
Running
duo 1.js && node build/1.js
works as expected and logs an id. Howeverduo 2.js && node build/2.js
does not work, producing the following output (debug mode turned on):Node version: 0.10.35 npm version: 1.4.28 OS: Windows 8.1
I hope that's enough information to figure out what's going on. :)