[Buildbot-devel] Latest npm wont work with our buildbot-www
Damon Wang
damon.devops at gmail.com
Wed Jul 9 13:32:27 UTC 2014
Hi,
I only tested two -- "0.1" and "0.0.1", and the first one wont work.
Today is a little late, I can do some tests tommorow :-)
Damon
2014-07-09 21:29 GMT+08:00 Dustin J. Mitchell <dustin at v.igoro.us>:
> Well done tracking down that fix. It seems, then, that npm just
> doesn't think "latest" is a very good version number, which is
> understandable.
>
> If you replace "latest" in __init__,py with "999.9latest" or something
> like that, does it help?
>
> Dustin
>
> On Wed, Jul 9, 2014 at 9:19 AM, Damon Wang <damon.devops at gmail.com> wrote:
> > Hi all,
> >
> > I tried to install buildbot's latest version which clone from github in
> my
> > new virtual machine. And it hits this:
> >
> >> (sandbox)[buildbot at buildbot src]$ pip install -e www
> >> Obtaining file:///home/buildbot/buildbot-work/src/www
> >> Running setup.py (path:/home/buildbot/buildbot-work/src/www/setup.py)
> >> egg_info for package from file:///home/buildbot/buildbot-work/src/www
> >> warning: no files found matching '*' under directory 'buildbot_www'
> >> Installing collected packages: buildbot-www
> >> Running setup.py develop for buildbot-www
> >> npm install
> >> npm ERR! install Couldn't read dependencies
> >> npm ERR! Error: Invalid version: "latest"
> >> npm ERR! at Object.module.exports.fixVersionField
> >>
> (/home/buildbot/local/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/fixer.js:183:13)
> >> npm ERR! at
> >>
> /home/buildbot/local/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/normalize.js:30:38
> >> npm ERR! at Array.forEach (native)
> >> npm ERR! at normalize
> >>
> (/home/buildbot/local/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/normalize.js:29:15)
> >> npm ERR! at final
> >>
> (/home/buildbot/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:342:33)
> >> npm ERR! at then
> >>
> (/home/buildbot/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:126:33)
> >> npm ERR! at
> >>
> /home/buildbot/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:266:40
> >> npm ERR! at evalmachine.<anonymous>:271:14
> >> npm ERR! at
> >>
> /home/buildbot/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:102:5
> >> npm ERR! at Object.oncomplete (evalmachine.<anonymous>:107:15)
> >> npm ERR! If you need help, you may report this *entire* log,
> >> npm ERR! including the npm and node versions, at:
> >> npm ERR! <http://github.com/npm/npm/issues>
> >>
> >> npm ERR! System Linux 2.6.32-431.el6.x86_64
> >> npm ERR! command "node" "/home/buildbot/local/bin/npm" "install"
> >> npm ERR! cwd /home/buildbot/buildbot-work/src/www
> >> npm ERR! node -v v0.10.29
> >> npm ERR! npm -v 1.4.20
> >> npm ERR!
> >> npm ERR! Additional logging details can be found in:
> >> npm ERR! /home/buildbot/buildbot-work/src/www/npm-debug.log
> >> npm ERR! not ok code 0
> >> error: command 'npm' failed with exit status 1
> >> Complete output from command
> >> /home/buildbot/buildbot-work/sandbox/bin/python -c "import setuptools,
> >> tokenize; __file__='/home/buildbot/buildbot-work/src/www/setup.py';
> >> exec(compile(getattr(tokenize, 'open',
> >> open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
> develop
> >> --no-deps:
> >> running develop
> >>
> >> ......
> >>
> >> ----------------------------------------
> >> Cleaning up...
> >> Command /home/buildbot/buildbot-work/sandbox/bin/python -c "import
> >> setuptools, tokenize;
> >> __file__='/home/buildbot/buildbot-work/src/www/setup.py';
> >> exec(compile(getattr(tokenize, 'open',
> >> open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
> develop
> >> --no-deps failed with error code 1 in
> /home/buildbot/buildbot-work/src/www
> >> Storing debug log for failure in /home/buildbot/.pip/pip.log
> >
> >
> >
> > After search and debug, I find edit master/buildbot/__init__.py's version
> > into a typical fake version like
> > "0.0.1" will make it well.
> >
> > Any idea or good solution?
> >
> > Regards,
> > Damon
> >
> >
> ------------------------------------------------------------------------------
> > Open source business process management suite built on Java and Eclipse
> > Turn processes into business applications with Bonita BPM Community
> Edition
> > Quickly connect people, data, and systems into organized workflows
> > Winner of BOSSIE, CODIE, OW2 and Gartner awards
> > http://p.sf.net/sfu/Bonitasoft
> > _______________________________________________
> > Buildbot-devel mailing list
> > Buildbot-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/buildbot-devel
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20140709/9770e37d/attachment.html>
More information about the devel
mailing list