react-router-tutorial icon indicating copy to clipboard operation
react-router-tutorial copied to clipboard

Removed '.' from project.json instructions

Open DaveVoyles opened this issue 9 years ago • 3 comments

With this '.' in place, the NPM start command will not work. Once removed, NPM start worksfine.

I believe the '.' was erroneously placed here.

DaveVoyles avatar Nov 14 '16 01:11 DaveVoyles

The periode is the input for the --content-base. This works fine for me. What error are you getting?

Andersos avatar Nov 15 '16 10:11 Andersos

Here is a link on Pastebin with more information. (didn't want to clutter up this feed).

I illustrate what happen without the '.', the error WITH the '.', and finally the debug.log from the result.

Let me know if I can clarify further.

DaveVoyles avatar Nov 15 '16 14:11 DaveVoyles

There is an error in your pastebin (http://pastebin.com/vqE7e6Jf).

Line 20 looks like this:

> webpack-dev-server --inline --content-base. --history-api-fallback .

It is suppose to be like this

> webpack-dev-server --inline --content-base . --history-api-fallback

Ref this line in the readme: "start": "webpack-dev-server --inline --content-base . --history-api-fallback"

There should be a space between --content-base and the periode. There should also be no periode at after the --history-api-fallback

Try changing that and try again.

Andersos avatar Nov 16 '16 09:11 Andersos