Giter Site home page Giter Site logo

Comments (12)

vivek12345 avatar vivek12345 commented on April 27, 2024 1

@pedronauck I would like to take this up.The solution I am thinking here is throwing an error with the message of $path/to/file.mdx does not contain a name.

from docz.

vivek12345 avatar vivek12345 commented on April 27, 2024 1

Thank you @marceloavf for your help. I have raised a PR for the same.

from docz.

vivek12345 avatar vivek12345 commented on April 27, 2024

@pedronauck While trying to do a yarn commit I am facing this error

stderr: 'ERROR: Task not found: "/Users/viveknayyar/vivek/docz/packages/docz-core/src/Entry.ts"
✖ "yarn packages:fix" found some errors. Please fix them and try committing again.
$ lerna run fix /Users/viveknayyar/vivek/docz/packages/docz-core/src/Entry.ts

from docz.

vivek12345 avatar vivek12345 commented on April 27, 2024

@pedronauck Can you help here in this yarn commit issue that I am facing.

from docz.

pedronauck avatar pedronauck commented on April 27, 2024

Do you trying to build packages to make some pull request @vivek12345? Which version of node you're using?

from docz.

vivek12345 avatar vivek12345 commented on April 27, 2024

Node version is v9.0.0 @pedronauck
and this is the change that I am trying to commit

if (!parsed) {
   throw new Error(`${filepath} does not contain a name`)
}

from docz.

vivek12345 avatar vivek12345 commented on April 27, 2024

@pedronauck any suggestions as to what I can do to commit my change and make a PR for the same.

from docz.

marceloavf avatar marceloavf commented on April 27, 2024

what commands are you using to build and then commit @vivek12345 ?

from docz.

vivek12345 avatar vivek12345 commented on April 27, 2024

@marceloavf I did those above mentioned changes inside docz-core/src/Entry.ts
After that did a yarn build in docz-core folder.

Finally git add and yarn commit

I see this error all the time

ERROR: Task not found: "/Users/viveknayyar/vivek/docz/packages/docz-core/src/Entry.ts"

from docz.

marceloavf avatar marceloavf commented on April 27, 2024

@vivek12345 Seems to be some issue with this path.

For now, try to commit normally with git commit -m "fix(docz-core): throw error in no parsed file" and see if it works.

If you could please say your Operational System too, should help us find what is happening.
Thank you

from docz.

vivek12345 avatar vivek12345 commented on April 27, 2024

Sure I will try as you suggested.
I am working from my MacBook Pro macOs High Sierra

from docz.

pedronauck avatar pedronauck commented on April 27, 2024

🎉  Fixed and released in the new v0.4.0

from docz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.