Page 1 of 1

Cant start project after update to 1.3.0-rc.1

Posted: 09 Dec 2017, 11:44
by numankayali
Hi there! I had a working project with 1.0.0-beta.4. When i updated to 1.3.0-rc.1 i have started getting

./node_modules/primereact/components/growl/Growl.js
Module not found: Can't resolve 'react-addons-css-transition-group' in '/home/numan/workspaces/kisisel/xxx-ui/node_modules/primereact/components/growl

so, do i need to add some dependencies to my project? i suppose should change something in your codes.


my json is:

{
"name": "xxx-ui",
"version": "0.1.0",
"private": true,
"devDependencies": {
"react-scripts": "^1.0.11"
},
"dependencies": {
"classnames": "^2.2.5",
"font-awesome": "^4.7.0",
"i18n-react": "^0.6.2",
"jwt-decode": "^2.2.0",
"primereact": "^1.3.0-rc.1",
"prop-types": "^15.5.10",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-helmet": "^5.2.0",
"react-router-dom": "^4.2.2"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
}
}


thanks for your support!

Re: Cant start project after update to 1.3.0-rc.1

Posted: 20 Dec 2017, 10:49
by merve7
Yes you need to add react-addons-css-transition-group for animations. Also you can read dependencies title in http://primefaces.org/primereact/#/setup

Re: Cant start project after update to 1.3.0-rc.1

Posted: 20 Dec 2017, 15:55
by kaho29
We could do this, but you are aware, that exactly this dependency does not support react 16 till now and prevents us from using it?

Re: Cant start project after update to 1.3.0-rc.1

Posted: 21 Dec 2017, 09:11
by merve7
We are migrating to react-transition-group.

Re: Cant start project after update to 1.3.0-rc.1

Posted: 22 Dec 2017, 09:29
by cagatay.civici
Migrating complete for 1.3.1