Error while using fluid-publish to publish a dev version of Infusion

Clark, Colin cclark at ocadu.ca
Sat Oct 24 01:21:03 UTC 2015


Hey Justin and Antranig,

I tried out the awesome new fluid-publish package today. I wanted to publish a dev version of Infusion after merging in Antranig's new performance optimizations of events and invokers.

After running the "fluid-publish" command, it seems to have successfully published a version, but threw an error in the process. Also, the version string has an additional -dev on it. Here's the output of my attempt:

[colin at tofino infusion (master $=)]$ fluid-publish
npm WARN dist-tag add latest is already set to version 2.0.0-dev-dev.20151024T010910Z.d1e5b8d
/bin/sh: line 1: dev: command not found
child_process.js:484
    throw err;
    ^

Error: Command failed: npm dist-tag add infusion at 2.0.0-dev-dev.20151024T010910Z.d1e5b8d
 dev
npm WARN dist-tag add latest is already set to version 2.0.0-dev-dev.20151024T010910Z.d1e5b8d
/bin/sh: line 1: dev: command not found

    at checkExecSyncError (child_process.js:441:13)
    at Object.execSync (child_process.js:481:13)
    at Object.publish.tag (/usr/local/lib/node_modules/fluid-publish/publish.js:202:17)
    at Object.publish.dev (/usr/local/lib/node_modules/fluid-publish/publish.js:257:13)
    at Object.<anonymous> (/usr/local/lib/node_modules/fluid-publish/publish.js:291:17)
    at Module._compile (module.js:435:26)
    at Object.Module._extensions..js (module.js:442:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Function.Module.runMain (module.js:467:10)


[colin at tofino infusion (master *$=)]$ npm view infusion versions
 
[ '2.0.0-dev.20151007T134312Z.8c33cd4',
  '2.0.0-dev-dev.20151024T010910Z.d1e5b8d' ]

Any ideas what happened?

Colin

---
Colin Clark
Lead Software Architect,
Inclusive Design Research Centre, OCAD University
http://inclusivedesign.ca



More information about the fluid-work mailing list