clasp icon indicating copy to clipboard operation
clasp copied to clipboard

clasp fails to create projects on an M1 mac

Open joshsny opened this issue 4 years ago • 1 comments
trafficstars

I'm a long time clasp user, after transitioning to an M1 Mac many clasp features seem to be failing.

To test the behaviour I tried to work through the clasp codelab: https://codelabs.developers.google.com/codelabs/clasp/

Expected Behavior

When creating a project an internal error occurs, meaning the project cannot be created.

Actual Behavior

The project is created.

Steps to Reproduce the Problem

  1. clasp create
  2. create which script? standalone
  3. Internal error encountered.

Specifications

  • Node version (node -v): v14.18.0
  • Version (clasp -v): 2.4.1
  • OS (Mac/Linux/Windows): M1 Mac

This is one of many errors I have encountered using clasp on an M1 Mac. Has anyone else successfully managed to use clasp on an M1 Mac?

joshsny avatar Oct 15 '21 13:10 joshsny

First, You should use Node.js 16 thats supports apple silicon officially. see https://medium.com/the-node-js-collection/node-js-16-available-now-7f5099a97e70

nabedge avatar Dec 06 '21 09:12 nabedge