a127 icon indicating copy to clipboard operation
a127 copied to clipboard

Unpinned a127 dependencies now bringing in packages using ES6 features that don't work with version of Node (v0.10.32) used by Apigee

Open LittleColin opened this issue 8 years ago • 0 comments

The packages.json has:

"nodemon": "^1.9.1" 

This is now bringing in v1.12.5 that contains an arrow function so I get the following error when trying to run locally:

/home/ubuntu/.nvm/v0.10.32/lib/node_modules/apigee-127/node_modules/nodemon/lib/config/exec.js:161
    .map(ext => ext.replace(/^\./, ''))

Pinning this to 1.9.1 then reveals an issue with super-agent version which is an unpinned dependency of swagger-tools that is now using const.

ref: https://community.apigee.com/questions/23770/upgrading-edges-version-of-node.html

LittleColin avatar Dec 12 '17 12:12 LittleColin