Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest request module breaks iControl for TMOS v12.x and v13.0 #8

Open
ArtiomL opened this issue Feb 9, 2018 · 2 comments
Open

Latest request module breaks iControl for TMOS v12.x and v13.0 #8

ArtiomL opened this issue Feb 9, 2018 · 2 comments

Comments

@ArtiomL
Copy link

ArtiomL commented Feb 9, 2018

Hi,

Latest request versions require Node.js v4.0.0 and up.

TMOS v13.0 currently runs:

[root@bip_A:Active:Standalone] config # node --version
v0.12.15

This dependency breaks your code on BIG-IP v12.x and v13.0 because icontrol tries to install the latest 2.x request version:

"dependencies": {
    "request": "2.x"
}

Please consider updating package.json or the documentation to manually install a previous version that supports Node.js v0.12.15:

npm install request@v2.76.0 --save

Thanks!

@elv1s
Copy link

elv1s commented Feb 9, 2018

Another option, on 13.0 would be to use the f5-rest-node binary

/usr/bin/f5-rest-node -e 'console.log(process.versions)'
{ http_parser: '2.7.0',
node: '4.6.0',
v8: '4.5.103.37',
uv: '1.9.1',
zlib: '1.2.8',
ares: '1.10.1-DEV',
modules: '46',
openssl: '1.0.2j' }

@ArtiomL
Copy link
Author

ArtiomL commented Feb 9, 2018

This won't help with iRules LX.
The iRules LX engine uses the v0.12.15 node on v12.x and v13.0.
Example project using icontrol with iRules LX that got broken:
https://github.com/codygreen/F5-MFA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants