Installing Galen Framework locally

156 views
Skip to first unread message

aditya...@gmail.com

unread,
Mar 22, 2017, 5:58:31 AM3/22/17
to Galen Framework
Hey guys,

I'm currently facing this problem of having to install galen locally. What i wanted to achieve is running galen as a functional test in CI. As i see it now, i cannot install it using something like 
npm install--save-dev galenframework-cli
and my tests will run well if it's only installed globally.

Any suggestions or ideas are surely welcome.

Cheers,

Aditya

Martin Reinhardt

unread,
Mar 22, 2017, 7:08:46 AM3/22/17
to Galen Framework
Please tell more about your setup? Is it a node project (with a package.json)?
If so you can use a grunt or gulp plugin of galen.

You cannot globally install galen?

aditya...@gmail.com

unread,
Mar 22, 2017, 7:38:44 AM3/22/17
to Galen Framework
Hi Martin, yes it is a node project with package.json.
I can, but i was wondering if i can install the CLI to my CI so it can run the functional tests.
Since i am new to this framework, i'm not sure how to run the test without having the CLI present.
I have tried to install the galen framework which i think is the core module. Will this be sufficient?

Thanks!

Martin Reinhardt

unread,
Mar 22, 2017, 10:43:07 AM3/22/17
to Galen Framework
so try to following: npm i galenframework-cli --E --D

then add the following in the scripts section in package.json:

"galen":"galen"

Message has been deleted

aditya...@gmail.com

unread,
Mar 22, 2017, 11:35:27 AM3/22/17
to Galen Framework
Thanks for your response. I've tried it, and still no luck. This is what i got in the CI that i'm running:
ERR! Galen installation failed Error: not found: galen ERR! Galen installation failed at F (/builds/pd/hmc-frontend/web/node_modules/galenframework-cli/node_modules/which/which.js:78:19) ERR! Galen installation failed at E (/builds/pd/hmc-frontend/web/node_modules/galenframework-cli/node_modules/which/which.js:82:29) ERR! Galen installation failed at /builds/pd/hmc-frontend/web/node_modules/galenframework-cli/node_modules/which/which.js:93:16 ERR! Galen installation failed at FSReqWrap.oncomplete (fs.js:82:15) ERR! Galen installation failed [Error: not found: galen] Error: not found: galen ERR! Galen installation failed at F (/builds/pd/hmc-frontend/web/node_modules/galenframework-cli/node_modules/which/which.js:78:19) ERR! Galen installation failed at E (/builds/pd/hmc-frontend/web/node_modules/galenframework-cli/node_modules/which/which.js:82:29) ERR! Galen installation failed at /builds/pd/hmc-frontend/web/node_modules/galenframework-cli/node_modules/which/which.js:93:16 ERR! Galen installation failed at FSReqWrap.oncomplete (fs.js:82:15) npm WARN deprecated node...@1.4.8: Use uuid module instead
Seems to me like the cli package cannot find some require files inside it.
Has anybody faced the same issue as i do?
Any suggestions are welcome.
Thanks!


Martin Reinhardt

unread,
Mar 22, 2017, 4:50:27 PM3/22/17
to Galen Framework
Sorry but you didn't post any details about your concrete setup (CI software, hardware, command used, node versions).

So it's hard to tell what's causing the error
Reply all
Reply to author
Forward
0 new messages