jerisalan / SF-Transit

A starter D3.js and React based web app to visualize SF transit
0 stars 0 forks source link

Missing Bootstrap #1

Open PipBoy2000 opened 6 years ago

PipBoy2000 commented 6 years ago

FYI, get this error when running:

./src/index.js Module not found: Can't resolve 'bootstrap/dist/css/bootstrap.css' in 'C:\Users\Dennis\SF-Transit-master\src'

The entire dist directory is missing in the project, it seems.

jerisalan commented 6 years ago

Did you do a npm install before trying to run the node.js script?

PipBoy2000 commented 6 years ago

Yes. I don't see bootstrap in the dependencies. And again, the dist directory isn't in the project. Are you saying it should be built by the install?

jerisalan commented 6 years ago

I am not sure if that is the correct way to start a react project. npm start works perfectly all right.

PipBoy2000 commented 6 years ago

No, it doesn't.

You might wish to consider unpublishing this project since it is having missing dependencies/eslint errors. Just a piece of advice.

jerisalan commented 6 years ago

I just did a fresh clone of the project and did a npm start after npm install. There is no missing dependency. Like I said it was a learner project and I really am not sparing any time for fixing this now.