clasp
clasp copied to clipboard
clasp fails to create projects on an M1 mac
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
- clasp create
- create which script? standalone
- 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?
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