google / clasp

🔗 Command Line Apps Script Projects
https://developers.google.com/apps-script/guides/clasp
Apache License 2.0
4.59k stars 428 forks source link

clasp fails to create projects on an M1 mac #880

Open joshsny opened 3 years ago

joshsny commented 3 years ago

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

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?

nabedge commented 2 years ago

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