bamboo - NPM Install to wrong directory -


trying use npm install during bamboo build , getting odd results. using

$ npm install 

is resulting in odd results if let build run command. if log build machine , run command manually results expected.

the odd results: in node_modules , see package folders; however, of folders empty. ones not empty ones explicitly define dependencies in package.json.

to further confuse things. when things work out, node_modules folder has 18k files 62mb. when doesn't work right, has 40k files 112mb. looking @ individual folders node_modules event more confusing.

just sampling of package folders comparing bad install.

                     install           bad install   package            size / # files        size / # files   jspm              1.5mb / 945             26mb / 8,924  gulp-jspm-build   883kb / 450           23.5mb / 10,589  eslint            1.4mb / 292            6.6mb / 3,200 

the last confusing part: doesn't happen 100% of time, times does.

i realize there may issues build itself, i'm unfamiliar bamboo , in charge of convinced problem on side. suggestions appreciated. if need more info, please ask.

npm version 3.3.12 node version 5.5.0


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

python 3.x - PyQt5 - Signal : pyqtSignal no method connect -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)