GithubHelp home page GithubHelp logo

Comments (4)

kgiszewski avatar kgiszewski commented on June 15, 2024

It happens for me too. I know it's on his list of things to debug.

from archetype.

leekelleher avatar leekelleher commented on June 15, 2024

Thanks @kgiszewski

@tomfulton - I've tried extracting the zip itself (using 7-Zip) and each individual file throws an error saying Data error in '{GUID file path}'. File is broken. Also there are a lot of *.dll files in the zip.

Shall I raise an issue over at grunt-umbraco-package?

from archetype.

leekelleher avatar leekelleher commented on June 15, 2024

Figured it out... the VS project was copying all of the 3rd-party referenced assemblies over to the bin\Release folder, which in turn was being copied to the /dist/bin folder.

At this point I believe there has been a file locking issue and the zip file entry is created, but the file contents isn't being copied into the zip archive. So when Umbraco tries to extract it, the error is thrown.

My resolution for this is to prevent Visual Studio from copying all the 3rd-party assembly references to the bin\Release folder.

I've tested the produced zip, so that it contains only Archetype.dll and all the Angular files, and this installs fine in the Umbraco back-office.

I'll send a PR with the resolution.

from archetype.

tomfulton avatar tomfulton commented on June 15, 2024

@leekelleher Thanks Lee - seen the same on UrlPicker and solved the same way. I guess we need to remember to do that manually each time we do a NuGet upgrade.

from archetype.

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.