Code Monkey home page Code Monkey logo

Comments (2)

realchandan avatar realchandan commented on July 17, 2024 1

The issue was happening due to the missing --arch argument, which led it to default to ia32.

I forked your gethyas/hyas and changed the postinstall script to include the --arch x64 argument.

And now I am referencing my forked GitHub repository in my site's package.json.

before

"gethyas": "^2.2.2",

after

"gethyas": "github:realchandan/hyas#002cd14d6a1311e0ca45693ee7e79d40e848094d",

Also, I had to add the --arch x64 argument to the postinstall script for my site's package.json.

And it worked fine.

Thank you for creating this theme.

from doks.

h-enk avatar h-enk commented on July 17, 2024

I cannot reproduce your issue on Windows 11 Pro (Node v20.11.0 and npm 10.2.4) and with WSL (Node v20.11.1 and npm 10.2.4)

What you could try:

  • delete package-lock.json and the node_modules directory — then run npm i again
  • use npm 10.2.4

Has anyone else stumbled upon this issue?

If this doesn't help, maybe it's a good idea to raise an issue: dominique-mueller/hugo-installer

BTW) In the upcoming Hyas 2.3 release — available soon — hugo-installer will be dropped. Then you will need to use your own (global) Hugo install

from doks.

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.