Problem with version of nuxeo.js installed by nuxeo-cli

pibou_Bouvret
Elite Collaborator
Elite Collaborator

[email protected] and [email protected] are installed globally (as well as [email protected] )

When i bootstrap an angular projet, the dependency in package.json for nuxeo javascript client is 1.2.1 instead of expected latest Nuxeo JS client version (3.5.0)

I noticed that since 1.8.4, nuxeo-cli has been modified (master branch) :

"generator-nuxeo": "github:nuxeo/generator-nuxeo#master"

Accordingly, I ve tried to install nuxeo-cli "master" :

npm install git://github.com/nuxeo/nuxeo-cli#master --save

I always have an error about generator-nuxeo

1 REPLY 1

pibou_Bouvret
Elite Collaborator
Elite Collaborator

Solution : nuxeo bootstrap angular2 package -m master

It fetches generator-nuxeo-meta from the master branch instead of the stable one