Vijay Tailor
unread,Oct 19, 2023, 7:07:46 PM10/19/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Apps Script Community
Hey there, I tried to use clasp with node v18.17.1 and v18.18.2 and got the same error when running clasp commands in the terminal:
clasp login
node:internal/modules/cjs/loader:1077
const err = new Error(message);
^
Error: Cannot find module 'define-data-property'
I tried it with node v21.0.0 and the error is gone
This used to work without any issues, and as far as I know, node v18 is considered LTS, so I guess clasp should be tested to work with it, shouldn't it?
Can anyone please confirm or deny this problem?
Kind regards,
Tailor