Issue
I have made an update to my script.js and I would like to minify it using "minify" in node js. On the command line I type: minify script.js > script.min.js and I am receiving the following error: /node_modules/bin/minify.js:3 import "tryToCatch" from "try-to-catch" Unexpected identifier
Solution
Updating node version to >=16 should work:
Answered By - Yasio Answer Checked By - Pedro (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.