You cannot use the new command inside an ember-cli project

After install yarn I have tried to create new project ember new project-name -dir ui

but it shows an error You cannot use the new command inside an ember-cli project.

I am using

ember-cli: 2.8.0
node: 4.2.6
os: darwin x64

Others info

npm version 3.10.7
node version v4.2.6
bower version 1.7.9

Thank you in advance

did you install via npm install yarn -g? also, maybe you are inside an ember project :x

Yes I used npm install yarn -g

I’m having the same issue, also with yarn. 100% sure I’m not in another ember project.

ember-cli: 2.11.0 node: 7.4.0 os: linux x64

node version v7.4.0

Any ideas what could be causing the issue?