Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: ENOENT: no such file or directory, open '/osm-carto.tm2/project.xml' #4

Open
nafis042 opened this issue Dec 29, 2017 · 4 comments

Comments

@nafis042
Copy link

nafis042 commented Dec 29, 2017

after writting the command-
make tessera
it shows the following error:
Generating Mapnik XML. This can take 5 minutes
./node_modules/.bin/carto -a "3.0.0" ./osm-carto.tm2/project.mml > ./osm-carto.tm2/project.xml
MAPNIK_FONT_PATH=$(find /usr/share/fonts/ -type f | sed 's|/[^/]*$||' | uniq | paste -s -d: -) ./node_modules/.bin/tessera -c tessera-serve-vector-tiles.json
Listening at http://0.0.0.0:8080
/home/nafis/openstreetmap-carto-vector-tiles/node_modules/tessera/server.js:111
throw err;
^

Error: ENOENT: no such file or directory, open '/osm-carto.tm2/project.xml'
at Error (native)
Makefile:49: recipe for target 'tessera' failed
make: *** [tessera] Error 1

I checked the file is in the right folder. also applied chmod 777 to that file. still getting the error

@amandasaurus
Copy link
Collaborator

amandasaurus commented Dec 29, 2017 via email

@nafis042
Copy link
Author

{
"/pbfs/live": { "source": "tmsource://./osm-carto.tm2source/" },
"/tiles": { "source": "vector:///osm-carto.tm2/project.xml" }
}

@amandasaurus
Copy link
Collaborator

amandasaurus commented Dec 30, 2017 via email

@amandasaurus
Copy link
Collaborator

amandasaurus commented Dec 30, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants