react-avatar-uploader icon indicating copy to clipboard operation
react-avatar-uploader copied to clipboard

Packages not installed

Open jurjees23 opened this issue 7 years ago • 3 comments

hi, packages not installed properly pls help me.

jurjees23 avatar Oct 01 '18 05:10 jurjees23

Hi @jurjees23 , Do you have any more information? Such as what kind of error message are you getting, stack traces, what you did to produce this error? This kind of information would help greatly.

thedanielforum avatar Jun 11 '19 09:06 thedanielforum

Believe this is the issue

ERROR in ./node_modules/react-avatar-uploader/dist/Avatar/index.js
[1] Module not found: Error: Can't resolve 'styled-components' in '/Users/gigi/Desktop/Repo/smolcoach/node_modules/react-avatar-uploader/dist/Avatar'
[1]  @ ./node_modules/react-avatar-uploader/dist/Avatar/index.js 9:24-52
[1]  @ ./node_modules/react-avatar-uploader/dist/index.js
[1]  @ ./src/client/pages/profile/index.js
[1]  @ ./src/client/routes/index.js
[1]  @ ./src/client/index.js
[1]  @ multi babel-polyfill ./src/client/index.js
[1] 
[1] ERROR in ./node_modules/react-avatar-uploader/dist/Avatar/ImagePreview.js
[1] Module not found: Error: Can't resolve 'styled-components' in '/Users/gigi/Desktop/Repo/smolcoach/node_modules/react-avatar-uploader/dist/Avatar'
[1]  @ ./node_modules/react-avatar-uploader/dist/Avatar/ImagePreview.js 9:24-52
[1]  @ ./node_modules/react-avatar-uploader/dist/Avatar/index.js
[1]  @ ./node_modules/react-avatar-uploader/dist/index.js
[1]  @ ./src/client/pages/profile/index.js
[1]  @ ./src/client/routes/index.js
[1]  @ ./src/client/index.js
[1]  @ multi babel-polyfill ./src/client/index.js
[1] 
[1] ERROR in ./node_modules/react-avatar-uploader/dist/Avatar/Uploader.js
[1] Module not found: Error: Can't resolve 'styled-components' in '/Users/gigi/Desktop/Repo/smolcoach/node_modules/react-avatar-uploader/dist/Avatar'
[1]  @ ./node_modules/react-avatar-uploader/dist/Avatar/Uploader.js 13:24-52
[1]  @ ./node_modules/react-avatar-uploader/dist/Avatar/index.js
[1]  @ ./node_modules/react-avatar-uploader/dist/index.js
[1]  @ ./src/client/pages/profile/index.js
[1]  @ ./src/client/routes/index.js
[1]  @ ./src/client/index.js
[1]  @ multi babel-polyfill ./src/client/index.js

anbarasiu avatar May 30 '20 11:05 anbarasiu

I created a PR for this issue, for now you can try to add the packages directly to your package.json file as a quick fix by running. Yarn: yarn add styled-components prop-types axios Npm: npm I -S styled-components prop-types axios

thedanielforum avatar Jun 19 '20 05:06 thedanielforum