Open SDPrio opened 3 years ago
Encore and its dependencies require at least Node.js 10, but you are using Node.js 9.
Given your stacktrace, your error is coming from the camelcase
module where some people already faced this kind of issue because they were not using Node.js 10 (at least):
I have set up a new
Symfony 5.2
project and add Webpack Encore. The project uses a shared Server with no root access usingnpm 5.6.0
andnode 9.9.0
. As far as I know the Server runs on a 32bit CentOS Version, so this seems to be the highest supported versions of npm and node. Yarn is not available on this server.Installations works without any problems. I have made no changes to the webpack.config.js and asset/ files which have been automatically created. Running
npm run dev
fails:Since the error is not reported in any my custom files, I assume that this is a problem of Node.js / Webpack itself? Is this correct?
I found another issue which says, that node v8 should be the min. requirement. Thus using v9.9.0 should be no problem, should it?
Is there anything I can do to find the actual cause and to solve the problem?