Update GRAV + Admin = Compiling Error

A lot of errors between obsolete and files not found… :roll_eyes:
replace with BackUP and repeat compil…

at the moment after some corrections…

– first One edit gruntfile.js


new webpack.optimize.CommonsChunkPlugin("vendor", "vendor.js", Infinity)

with this:

new webpack.optimize.CommonsChunkPlugin({ name: 'vendor', filename: 'vendor.js' })

But when compiling/ gulp watch

return this ERROR:

ERROR in Entry module not found: Error: Cannot resolve module ‘babel’ in /home/user/blog.wpfix.it/user/plugins/admin/themes/grav

You have probably encountered these problems?


Ok, new situation:

npm install babel

but chanhe Error: babel is moved to babel-core

ok, npm install babel-core

& set: babel-loader in webpack.conf.js

but Error: ERROR in Loader /home/user/node_modules/eslint/lib/api.js didn't return a function


There is no one who has advanced experience with GULP and NPM.
Maybe the developers of the Admin PLUGIN could help to solve.
Thank you

The last situation is:

ERROR in The node API for 'babel' has been moved to 'babel-core'.

(edit 20/12/2017)

Due to a recent reinstallation of my entire server, including node JS / npm… when I went back to GRAV to update, I forgot the most important thing npm install inside the GRAV template. In fact I did not realize that the folder ’ node_modules ’ was missing. :upside_down_face:

A big-Thanx to Andy Miller :v: