Giter Site home page Giter Site logo

Comments (8)

shalvah avatar shalvah commented on August 23, 2024

Please always wrap multiline code snippets in triple backticks. I'm finding it hard to read your post.

from scribe.

shalvah avatar shalvah commented on August 23, 2024

There should be a .filemtimes file in resources/docs. Can you post the contents of that file?

from scribe.

Dimrak avatar Dimrak commented on August 23, 2024

Here the content of the file

# Scribe uses this file to know when you change something manually in your docs.
resources/docs/groups/attachment.md=1590740561
resources/docs/groups/campaign.md=1590740561
resources/docs/groups/domain.md=1590740561
resources/docs/groups/field.md=1590740561
resources/docs/groups/filter.md=1590740561
resources/docs/groups/firebase.md=1590740561
resources/docs/groups/misc.md=1590738614
resources/docs/groups/order.md=1590740561
resources/docs/groups/subscribers.md=1590740561
resources/docs/groups/tag.md=1590740561
resources/docs/groups/transactionalcampaign.md=1590740561
resources/docs/groups/user.md=1590734838
resources/docs/groups/workflow.md=1590740561
resources/docs/groups/workflowstep.md=1590740561
resources/docs/index.md=1590740561
resources/docs/authentication.md=1590740561
resources/docs/groups/attachtment.md=1590668825
resources/docs/groups/account.md=1590740561

from scribe.

shalvah avatar shalvah commented on August 23, 2024

(Btw: I see from your config that you have the postman.auth section. This is not the same format as Scribe's auth section, and it looks like you're mixing up the two. Postman's format is described in their schema docs - page seems broken, but you can see the raw collection in the link at the page bottom. Scribe's format is described in our docs.)

from scribe.

shalvah avatar shalvah commented on August 23, 2024

Does this error still happen? Can you add a dump($lastTimesWeModifiedTheseFiles) before line 407?

from scribe.

Dimrak avatar Dimrak commented on August 23, 2024

Hi,

I removed the incorrect info from the scribe.php about auth.
The error is still there. Here the result of the dump, thank you

"Last time modified dump"
array:19 [
  0 => "resources/docs/groups/attachment.md=1590740561"
  1 => "resources/docs/groups/campaign.md=1590740561"
  2 => "resources/docs/groups/domain.md=1590740561"
  3 => "resources/docs/groups/field.md=1590740561"
  4 => "resources/docs/groups/filter.md=1590740561"
  5 => "resources/docs/groups/firebase.md=1590740561"
  6 => "resources/docs/groups/misc.md=1590738614"
  7 => "resources/docs/groups/order.md=1590740561"
  8 => "resources/docs/groups/subscribers.md=1590740561"
  9 => "resources/docs/groups/tag.md=1590740561"
  10 => "resources/docs/groups/transactionalcampaign.md=1590740561"
  11 => "resources/docs/groups/user.md=1590734838"
  12 => "resources/docs/groups/workflow.md=1590740561"
  13 => "resources/docs/groups/workflowstep.md=1590740561"
  14 => "resources/docs/index.md=1590740561"
  15 => "resources/docs/authentication.md=1590740561"
  16 => "resources/docs/groups/attachtment.md=1590668825"
  17 => "resources/docs/groups/account.md=1590740561"
  18 => ""
]

from scribe.

Dimrak avatar Dimrak commented on August 23, 2024

Hi,

I just removed that file and generated again, error has gone and the routes are been generated correctly.
Dumping again dump($lastTimesWeModifiedTheseFiles), provides a different array, looks like that was the issue, thank you.

"Last time modified dump"
array:16 [
  0 => "resources/docs/groups/account.md=1590990407"
  1 => "resources/docs/groups/attachment.md=1590990407"
  2 => "resources/docs/groups/campaign.md=1590990407"
  3 => "resources/docs/groups/domain.md=1590990407"
  4 => "resources/docs/groups/field.md=1590990407"
  5 => "resources/docs/groups/filter.md=1590990407"
  6 => "resources/docs/groups/firebase.md=1590990407"
  7 => "resources/docs/groups/order.md=1590990407"
  8 => "resources/docs/groups/subscribers.md=1590990407"
  9 => "resources/docs/groups/test.md=1590990407"
  10 => "resources/docs/groups/tag.md=1590990407"
  11 => "resources/docs/groups/transactionalcampaign.md=1590990407"
  12 => "resources/docs/groups/workflow.md=1590990407"
  13 => "resources/docs/groups/workflowstep.md=1590990407"
  14 => "resources/docs/index.md=1590990407"
  15 => "resources/docs/authentication.md=1590990407"
]

This has been resolved.

from scribe.

shalvah avatar shalvah commented on August 23, 2024

Nice work. It looks like there was an extra empty line being appended. Thanks. I'll make sure to update that code to trim that line.

from scribe.

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.