google/aside

An error occurs when running npx.

YukiFujisawa opened this issue · 1 comments

Thank you for letting me use it very much in the development of GAS.
Currently, in v1.3.3, I would like to report that npx did not work.

node

$ node -v
v20.2.0

@google/aside@1.3.1 npx OK

$ npx @google/aside@1.3.1 init
Need to install the following packages:
  @google/aside@1.3.1
Ok to proceed? (y) y
npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
? Project Title: › Untitled

@google/aside@1.3.3 npx NG

$ npx @google/aside@1.3.3 init
/Users/yuki/.nvm/versions/node/v20.2.0/bin/aside: line 1: /Applications: is a directory
/Users/yuki/.nvm/versions/node/v20.2.0/bin/aside: line 2: *: command not found
/Users/yuki/.nvm/versions/node/v20.2.0/bin/aside: line 3: *: command not found
/Users/yuki/.nvm/versions/node/v20.2.0/bin/aside: line 4: syntax error near unexpected token `('
/Users/yuki/.nvm/versions/node/v20.2.0/bin/aside: line 4: ` * Licensed under the Apache License, Version 2.0 (the "License");'

@google/aside@1.3.3 local OK

$ npm rum build
$ node dist/src/index.js init
? Project Title: › Untitled

@paranerd Thanks for the fix!