ios-sim-portable not compatible with Node 8.0.0
xmlking opened this issue Β· comments
Sumanth Chinthagunta commented
Please allow ios-sim-portable installation with Node 8.0.0
yarn global add nativescript
yarn global v0.24.6
warning No license field
[1/4] π Resolving packages...
warning nativescript > ios-device-lib > node-uuid@1.4.7: Use uuid module instead
warning nativescript > plist > xmlbuilder > lodash-node@2.4.1: This package is discontinued. Use lodash@^4.0.0.
warning nativescript > xcode > node-uuid@1.3.3: Use uuid module instead
warning nativescript > progress-stream > through2 > xtend > object-keys@0.4.0:
[2/4] π Fetching packages...
error ios-sim-portable@3.0.0: The engine "node" is incompatible with this module. Expected version ">=4.2.1 <5.0.0 || >=5.1.0 <8.0.0".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
Rosen Vladimirov commented
Hey @xmlking ,
Thanks for reporting this. We still have not validated the package is working correctly with Node.js 8 and that's why we have not updated the engines tag.
You can pass --ignore-engines
to yarn
, so the engines tag will not be checked.
Hope this helps.
maq commented
hi @rosen-vladimirov i am using Node v9.3 i have installed this module with Yarn
using --ignore-engines
flags. But now another problem is i am unable to run yarn global list
as node engine incompatible error popping up again and again :(
can you please any solution?