Comments (7)
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.
(seems like extracting Hugo does not work correctly on MacOS).
from hugo-cli.
$ 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.
Thanks for the info. What is the content of the node_modules/hugo-cli/tmp/
folder?
from hugo-cli.
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.
Thanks for your input. Should be fixed with [email protected]
.
from hugo-cli.
Adressed via 767780c.
from hugo-cli.
Related Issues (12)
- Hugo binary extraction is not within a folder on Windows HOT 1
- error on windows HOT 1
- how can I install a newer version? HOT 2
- Unable to specify extended version or alternate version HOT 3
- Hugo >= 0.54.0 not be able to download HOT 5
- Add example on how to download specific hugo version HOT 3
- How to run with specific version in grunt? HOT 2
- The hugo is not building the assets files (scss, js) HOT 7
- Module doesn't work on M1 Macbook due to incorrect architecture & URL HOT 1
- Fails on windows HOT 1
- > 0.17 download names are in a different format HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hugo-cli.