Yarn theia - "Command "workspaces" not found."

I cloned the Theia repo from https://github.com/theia-ide/theia

then did “yarn” and i get “Command “workspaces” not found.”

log:

[5/5] Building fresh packages…

$ yarn prepare:travis && yarn rebuild:clean && yarn build:clean

yarn prepare:travis v1.0.2

$ node scripts/prepare-travis

error Command “workspaces” not found.

child_process.js:650

throw err;

^

Error: Command failed: yarn workspaces info --json

error Command “workspaces” not found.

at checkExecSyncError (child_process.js:607:13)

at Object.execSync (child_process.js:647:13)

at Object.<anonymous> (/mnt/c/users/i348307/linuxrepo/theia/scripts/prepare-travis:29:56)

at Module._compile (module.js:653:30)

at Object.Module._extensions..js (module.js:664:10)

at Module.load (module.js:566:32)

at tryModuleLoad (module.js:506:12)

at Function.Module._load (module.js:498:3)

at Function.Module.runMain (module.js:694:10)

at startup (bootstrap_node.js:204:16)

error Command failed with exit code 1.

info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

error Command failed with exit code 1.

info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

[original thread by DoroNahari]

Hello @dna what is your yarn version ? Please use a recent one

[DoroNahari]

Thanks! updated to 1.13.0 and it works.