Code Monkey home page Code Monkey logo

Comments (7)

nikku avatar nikku commented on September 10, 2024

I've updated the CLI to include debug output.

Could you use [email protected] and run your command with the --verbose flag?

from hugo-cli.

nikku avatar nikku commented on September 10, 2024

(seems like extracting Hugo does not work correctly on MacOS).

from hugo-cli.

sugizo avatar sugizo commented on September 10, 2024

$ npm install [email protected]

$ node_modules/.bin/hugo --verbose
DEBUG target={ platform: 'darwin', arch: 'x64' }
DEBUG searching executable at </Users/sugizo/hugo/node_modules/hugo-cli/tmp/hugo_0.30.2_darwin_amd64>
hugo not downloaded yet. attempting to grab it...
DEBUG downloading archive from https://github.com/spf13/hugo/releases/download/v0.30.2/hugo_0.30.2_macOS-64bit.zip
fetched hugo v0.30.2
extracting archive...
DEBUG extracted archive to </Users/sugizo/hugo/node_modules/hugo-cli/tmp>
executable </Users/sugizo/hugo/node_modules/hugo-cli/tmp/hugo_0.30.2_darwin_amd64> not found
please report this as a bug
(node:1556) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: executable not found

$ ls -la node_modules/hugo-cli/tmp/hugo_0.30.2_macOS-64bit.zip
-rw-r--r-- 1 sugizo staff 129195 Oct 27 21:43 node_modules/hugo-cli/tmp/hugo_0.30.2_macOS-64bit.zip

from hugo-cli.

nikku avatar nikku commented on September 10, 2024

Thanks for the info. What is the content of the node_modules/hugo-cli/tmp/ folder?

from hugo-cli.

sugizo avatar sugizo commented on September 10, 2024

node_modules/hugo-cli/tmp have only 1 file :
hugo_0.30.2_macOS-64bit.zip

trying to extract it manually via gui finder (hugo_0.30.2_macOS-64bit.zip) and got the result is file : hugo_0.30.2_macOS-64bit.zip.cpgz

from hugo-cli.

nikku avatar nikku commented on September 10, 2024

Thanks for your input. Should be fixed with [email protected].

from hugo-cli.

nikku avatar nikku commented on September 10, 2024

Adressed via 767780c.

from hugo-cli.

Related Issues (12)

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.