Closed quanglam2807 closed 9 years ago
with npm@3, we have problems with peerdependencies https://docs.npmjs.com/files/package.json#peerDependencies However, dependencies seems to work just fine with any version of npm. I propose we simply change the peerDependencies to the following:
"dependencies": { "react": ">=0.12.2" }
@fmpublic I have updated PR will your suggestion :+1:
the npm version is still outdated
I am developing the app with ES6, so I need to use 0.13.x (as 0.12.x does not support ES6). And also some dependencies, such as react-router does not support 0.12.x in it package.json and it causes problems:
To resolve this issue, as @fmpublic suggested, we should use range for "react" instead. So everyone is happy :dancer: .