[Buildbot-devel] Latest npm wont work with our buildbot-www

Damon Wang damon.devops at gmail.com
Wed Jul 9 13:19:27 UTC 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20140709/8ce797a4/attachment.html>


More information about the devel mailing list