Error On split command
balajimuthukrish opened this issue · 3 comments
balajimuthukrish commented
Error On split command
Steps To reproduce
- npm install kuto
- kuto split index.87aecb75.js out/ (executed split on bundle file and I am trying this on vue).
and got Following Error
.nvm/versions/node/v12.22.10/bin/kuto: 1: Syntax error: "(" unexpected
I was not sure about how to install kuto and will this work on latest node versions?
samthor commented
Can you include some of the bundle you're trying to split? Kuto just uses
acorn to parse which is fairly standard.
…On Mon, Mar 25, 2024, 19:57 balajimuthukrish ***@***.***> wrote:
Error On split command
*Steps To reproduce*
1. npm install kuto
2. kuto split index.87aecb75.js out/ (executed split on bundle file
and I am trying this on vue).
and got Following Error
.nvm/versions/node/v12.22.10/bin/kuto: 1: Syntax error: "(" unexpected
I was not sure about how to install kuto and will this work on latest node
versions?
—
Reply to this email directly, view it on GitHub
<#1>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA5DEGBYI5DYOSRZX5FYZDYZ7RINAVCNFSM6AAAAABFGTJESOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYDKMRSGE4DKNY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
samthor commented
Oh - Kuto probably needs Node 18+ to run.
I can check what features it needs later, but 12 is too old.
…On Mon, Mar 25, 2024, 20:17 Sam Thorogood ***@***.***> wrote:
Can you include some of the bundle you're trying to split? Kuto just uses
acorn to parse which is fairly standard.
On Mon, Mar 25, 2024, 19:57 balajimuthukrish ***@***.***>
wrote:
> Error On split command
>
> *Steps To reproduce*
>
> 1. npm install kuto
> 2. kuto split index.87aecb75.js out/ (executed split on bundle file
> and I am trying this on vue).
> and got Following Error
> .nvm/versions/node/v12.22.10/bin/kuto: 1: Syntax error: "(" unexpected
>
> I was not sure about how to install kuto and will this work on latest
> node versions?
>
> —
> Reply to this email directly, view it on GitHub
> <#1>, or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAA5DEGBYI5DYOSRZX5FYZDYZ7RINAVCNFSM6AAAAABFGTJESOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYDKMRSGE4DKNY>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>
samthor commented
Kuto should now run on Node 14+.