Closed Will-Hendrix closed 9 months ago
That is not first command, you should run npm install
or better npm ci
first.
On second look, that looks like you have old nodejs that comes from ubuntu repos. You need at least v16. 18 or 20 should work too.
Some good info here. https://www.reddit.com/r/laravel/comments/xqtcgz/ubuntu_and_node_getting_syntaxerror_unexpected/
the npm run build fails out when running the first command:
the file
webpack.prod.js
is there, but not nearly big enough to reach a line 133. I'm relatively new to linux so I may just be doing something dumb, but I can't figure out what it is.