mapbox / geojson.io

A quick, simple tool for creating, viewing, and sharing spatial data
http://geojson.io/
ISC License
1.87k stars 560 forks source link

Unable to start dev server #860

Closed buneeIsSlo closed 11 months ago

buneeIsSlo commented 11 months ago

I have installed all the dependencies required, but upon running npm run start I get this:

[live-server] 
[live-server] - → stdout...
[2] rollup v2.79.1
[2] bundles src/index.js → dist/bundle.js...
[1] Serving "E:\code-tinker\geojson.io" at http://127.0.0.1:8080
[3] Specified input file $PWD/src/css/tailwind_src.css does not exist.
[3] npx tailwindcss -i $PWD/src/css/tailwind_src.css -o $PWD/dist/css/tailwind_dist.css --watch exited with code 9
--> Sending SIGTERM to other processes..
[2] rollup -cw exited with code 1
--> Sending SIGTERM to other processes..
[1] live-server --ignore=$PWD/src/**,$PWD/dist/webfonts/**,$PWD/.git exited with code 1
--> Sending SIGTERM to other processes..
[live-server] rollup exited with code 1

I would truly appreciate some assistance. Thanks!

chriswhong commented 11 months ago

I assume you are on windows machine and $PWD isn't working the way it does in a Mac/posix terminal. I would suggest manually running the command shown in the start script but with the full paths to the various files instead of $PWD

buneeIsSlo commented 11 months ago

@chriswhong Hey, thanks! I managed to get it to work.