A
A
Alexander Pankov2018-08-23 10:32:39
Node.js
Alexander Pankov, 2018-08-23 10:32:39

How to run a site on node js on your locale?

please tell
me 1) I cloned the repository
2) installed all the dependencies (npm install)
3) I write node server.js and I get an error
because of what it is and how to fix it?
WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
stackTrace
- at webpack (/Users/untca/Sites/atticus.loc/node_modules/webpack/lib/webpack.js:19:9)
- at initWebpack (/Users/untca/Sites/atticus.loc/server.js:9 :22)
5b7e6310b5088435770207.jpeg
A bunch of technologies: expressjs server, build on webpack, render on react + redux
in the description there is also such a phrase:
"To run on the server, we use the pm2 package, the task to run on production is build."
but I don’t understand what it means, what kind of tasks and where to look at them

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anubis, 2018-08-23
@Anubis

Error in server.js file on line #9, wrong format webpackConfig is fed into webpack
Everything is written, you just need to read error texts

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question