Sign in

Netlify Deployment Failed

  • This topic has 4 replies, 2 voices, and was last updated 2 years, 11 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #4157
    Avatar photokomarovanton

    Site is small so it’s not about size and contains only 1 page.

    Getting this error:

    - - Netlify ERROR - -
    TypeError: Cannot read property 'id' of undefined
        at NetlifyAPI.deploy (/Applications/Publii.app/Contents/Resources/app.asar/back-end/modules/deploy/libraries/netlify-api.js:28:40)
        at processTicksAndRejections (internal/process/task_queues.js:93:5)
    - - - - - - - - - - -
    

    Please help 🙂
    Pozdrawiam,

    Anton

    #4158
    Avatar photoTomasz Dziuda

    Hi,

    Did you provided a proper site ID under the settings?

    According to the code it looks like endpoint:

    ‘sites/:site_id/deploys’ (where :site_id is your website ID)

    Does not return proper response in your  case.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #4159
    Avatar photokomarovanton

    Nvm the issue was because it was not store Netlify access credentials

     

    #4161
    Avatar photokomarovanton

    Czesc Tomasz, yep it was the case, I provided domain instead of Netlify unique internal site name, and then it worked, however there is two other problems:

    – it ignores subfolder I wanted to use Publii for blog and output it to the site.com/blog folder, but it’s ignored the path and outputted it to the main site

    – it also lost all the credentials 🙁 and require them to be provided again (after successful deployment)

    #4178
    Avatar photoTomasz Dziuda

    Hi again,

    1) At this moment we do not support deploying to the subfolder in Netlify and in fact I am not sure if it is even possible.

    2) Could you check if your issue with credentials is similar to this: https://forum.getpublii.com/topic/publii-keeps-forgetting-login-settings-for-netlify/ ?

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.