react-notification-center icon indicating copy to clipboard operation
react-notification-center copied to clipboard

Cloned and can't get repo to start

Open Darthmaul opened this issue 7 years ago • 3 comments

Hello @diegoddox !

This repo is exactly what I need for a project I'm working on. I'm trying to at least reproduce the demo to get this started, and I can't get it to start. Here's my error

 $npm start

> [email protected] start C:\Users\Karen 2.0\Documents\GitHub\react-notification-center
> better-npm-run dev-server

running better-npm-run in C:\Users\Karen 2.0\Documents\GitHub\react-notification-center
Executing script: dev-server

to be executed: "./node_modules/.bin/webpack-dev-server --hot --inline --config build/webpack.config.js"
'.' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `better-npm-run dev-server`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Karen 2.0\AppData\Roaming\npm-cache\_logs\2017-06-13T05_07_18_601Z-debug.log

Looks like stuff here hasn't been updated in about a year, so if this is no longer updated I understand. I just need a point in the right direction and I can hopefully update this stuff to the latest practices.

Thanks so much!

Andrew

Darthmaul avatar Jun 13 '17 05:06 Darthmaul

@Darthmaul this may be because you're running on Windows machine, try this on the project folder.

NODE_ENV=development NODE_PORT=4001 ./node_modules/.bin/webpack-dev-server --hot --inline --config build/webpack.config.js

diegoddox avatar Jun 24 '17 17:06 diegoddox

I'm not what you mean by this? I tried to run this through the terminal and it said it was unrecognized. As far as pasting it somewhere I'm not sure where I would. Sorry!

Darthmaul avatar Jun 26 '17 22:06 Darthmaul

just put the absolute path instead of ./node_modules, as it is not able to recognize the path of the folder. so just go to the node modules folder and copy paste the location of the folder in your package.json and you will be able to run it.

sibamohanty995 avatar Jun 29 '17 10:06 sibamohanty995