perak / extract-mongo-schema

Extract schema from Mongo database, including foreign keys
71 stars 22 forks source link

extract-mongo-schema -d "mongodb://localhost:27017" -o schema.json #6

Open RaphaelTrembleau opened 6 years ago

RaphaelTrembleau commented 6 years ago

extract-mongo-schema -d "mongodb://localhost:27017" -o schema.json

i have one error: SyntaxError: Unexpected string

bbichero commented 5 years ago

Can you provide more informations please ? Which OS / version are you using ? Which version of nodejs have you ? And npm ? This is the only message you receive ? You don't have a line number with the error you got ? Thanks

joseamair commented 5 years ago

extract-mongo-schema -d "mongodb://localhost:27017" -o schema.json

i have one error: SyntaxError: Unexpected string

Are you are using de cli.js of the package or writing it raw on your terminal. For example you can use "node node_modules/extract-mongo-schema/cli.js extract-mongo-schema <..... here you write all the options mentioned on the documentation of the package ... >