Problem with dependencies at the "Creating blueprints with Confluence Connect" Tutorial

Hello Everyone,

I´m trying to do the Blueprint Tutorial( Creating blueprints with Confluence Connect ), but can´t install the dependencies.
The “Getting started” tutorial and the “hello world” example are working without any problem but if i want to do the blueprint example it wont work. I followed the steps as descriped but got stuck at the installation of the dependencies.
Here is the Error text i get after i try npm install :

 C:\Users\DR\confluence-multipage-blueprint-example\node_modules\ngrok
npm ERR! command failed
npm ERR! command C:\windows\system32\cmd.exe /d /s /c node ./postinstall.js
npm ERR! ngrok - downloading binary https://bin.equinox.io/a/chRZWPptE7w/ngrok-2.1.1-windows-amd64.zip ...
npm ERR! ngrok - binary downloaded...
npm ERR! ngrok - error unpacking binary Error: You cannot extract a file outside of the target path
npm ERR!     at C:\Users\DR\confluence-multipage-blueprint-example\node_modules\decompress-zip\lib\decompress-zip.js:95:21
npm ERR!     at Array.map (<anonymous>)
npm ERR!     at C:\Users\DR\confluence-multipage-blueprint-example\node_modules\decompress-zip\lib\decompress-zip.js:91:25
npm ERR!     at _fulfilled (C:\Users\DR\confluence-multipage-blueprint-example\node_modules\q\q.js:854:54)
npm ERR!     at C:\Users\DR\confluence-multipage-blueprint-example\node_modules\q\q.js:883:30
npm ERR!     at Promise.promise.promiseDispatch (C:\Users\DR\confluence-multipage-blueprint-example\node_modules\q\q.js:816:13)
npm ERR!     at C:\Users\DR\confluence-multipage-blueprint-example\node_modules\q\q.js:624:44
npm ERR!     at runSingle (C:\Users\DR\confluence-multipage-blueprint-example\node_modules\q\q.js:137:13)
npm ERR!     at flush (C:\Users\DR\confluence-multipage-blueprint-example\node_modules\q\q.js:125:13)
npm ERR!     at processTicksAndRejections (node:internal/process/task_queues:78:11)

Here are the versions i use :

  • npm : 8.1.0
  • node : 16.13.0

Thanks for considering my request. I’m looking forward to your reply.

Once you get past the dependency problems, you will find other serious issues with the official blueprint tutorial. One key problem is that the webhook blueprint_page_created is broken since 2018 and Atlassian still has not prioritized a fix. However, it is possible to work around all of these problems and get a functioning multi-page blueprint app. I posted a free demo app in the Marketplace that shows how to get multi-page blueprints in Confluence. If you try it out and you have any feature requests or suggestions, please submit a support request to me.

Hi there craigafinch! I have been trying to get the blueprint tutorial to work for a while now and I finally found this post that explains why I have been struggling to get it to work. I am going to test your demo app to see if it can do what I need it to do and come back to you.

Is there the possibility of seeing the changes you made to get around these issues? Maybe on GitHub?

@ThomasConrady We use our code in revenue products, so we’re not ready to make it public on Github at this time. However, I would like to find a way to help. Can you send me a private message or submit a support request so I can understand your use case?