bradtraversy / mern_shopping_list

Shopping List built with MERN and Redux
605 stars 436 forks source link

2 issues for initial setup #1

Open ElishaKay opened 6 years ago

ElishaKay commented 6 years ago

Hey Brad, Been watching your videos for about a year and a half and I think they are about the highest quality videos on JavaScript on the web. (I've also bought two of your Udemy Courses - on AngularJS and NodeJS).

Anyhow. There were 2 issues when I was trying to set up this project:

Issue #1): Within your "package.json" in the root directory, you need to rethink the line: "[npm run] client-install": "npm install --prefix client"," I'm running on Windows, and apparently it didn't install the dependencies in my client folder (even after running 'npm run client-install' in my terminal)

mern-error-1

Please note, when I cd into the client folder and install dependencies, this error went away.

Issue #2) You need to add a prerequisite to install the Redux DevTools Chrome Extension.

Keep rocking ☺️

bradtraversy commented 6 years ago

Try changing the package.json file to this...

client-install: "cd client && npm install"

instead of using the prefix

On Sat, Jun 30, 2018 at 4:06 PM, Elisha Kramer notifications@github.com wrote:

Hey Brad, Been watching your videos for about a year and a half and I think they are about the highest quality videos on JavaScript on the web. (I've also bought two of your Udemy Courses - on AngularJS and NodeJS).

Anyhow. There were 2 issues when I was trying to set up this project:

Issue #1 https://github.com/bradtraversy/mern_shopping_list/issues/1): Within your "package.json" in the root directory, you need to rethink the line: "[npm run] client-install": "npm install --prefix client"," I'm running on Windows, and apparently it didn't install the dependencies in my client folder (even after running 'npm run client-install' in my terminal)

[image: mern-error-1] https://user-images.githubusercontent.com/16700452/42128612-284e15aa-7cb8-11e8-86be-b59abcbacb61.JPG

Please note, when I cd into the client folder and install dependencies, this error went away.

Issue #2) You need to add a prerequisite to install the Redux DevTools Chrome Extension https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd?hl=en .

Keep rocking ☺️

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bradtraversy/mern_shopping_list/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AFSzAvLnGNAbnwnZFNmBR9U5HILd_5XCks5uB9pSgaJpZM4U-FmF .

-- Brad Traversy Traversy Media

sudhaparayil commented 6 years ago

Hi,sir Good tutorial..and I successfully done it..I have push the code into heroku ..and the link open it see ' cannot GET/ ' ....how to solve this issue...

screenshot 11

node running successfully screenshot 10

Thank you