vinitraj10 / Django-React-Blog

A web Application written in django and react js .The application is a single page where user can view others post and edit and deleted there own post ,also it uses facebook sdk for services like facebook login.
http://djmin.netlify.com
Apache License 2.0
53 stars 20 forks source link

ERROR in ./src/containers/socialauth.js #23

Open mentix02 opened 5 years ago

mentix02 commented 5 years ago

While the Backend seems to be running fine, there seems to be an issue with the React frontend while installing dependencies. I'm running Ubuntu 18.04 with Node v8.12.0 and npm 6.4.1

$ npm install
> reduxboilerplate@1.0.0 postinstall <path>/Django-React-Blog/Frontend
> webpack -p

Hash: 553e5fd405dde2b38c28
Version: webpack 3.12.0
Time: 5817ms
        Asset    Size  Chunks                    Chunk Names
bundle.min.js  630 kB       0  [emitted]  [big]  main
 [113] ./src/actions/types.js 406 bytes {0} [built]
 [326] ./src/index.js 1.45 kB {0} [built]
 [471] ./src/containers/header.js 5.9 kB {0} [built]
 [472] ./src/containers/post_index.js 3.29 kB {0} [built]
 [494] ./src/containers/post_new.js 4.81 kB {0} [built]
 [664] ./src/containers/view_post.js 3.15 kB {0} [built]
 [668] ./src/containers/edit_post.js 3.15 kB {0} [built]
 [670] ./src/containers/signup_form.js 3.99 kB {0} [built]
 [671] ./src/containers/signin_form.js 4.85 kB {0} [built]
 [673] ./src/containers/HOC/authenticate.js 3.01 kB {0} [built]
 [674] ./src/reducers/index.js 951 bytes {0} [built]
 [675] ./src/reducers/reducer-blog.js 1.13 kB {0} [built]
 [676] ./src/reducers/reducer-newBlog.js 879 bytes {0} [built]
 [677] ./src/reducers/reducer-singlepost.js 1.1 kB {0} [built]
 [678] ./src/reducers/reducer-auth.js 1.13 kB {0} [built]
    + 664 hidden modules

ERROR in ./src/containers/socialauth.js
Module not found: Error: Can't resolve '../actions/authentication/social-auth' in '<path>/Django-React-Blog/Frontend/src/containers'
 @ ./src/containers/socialauth.js 17:18-66
 @ ./src/containers/signin_form.js
 @ ./src/containers/header.js
 @ ./src/index.js
vinitraj10 commented 5 years ago

Will Have to figure it out!