Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Plugins

Update GRAV + Admin = Compiling Error

Solved by wblz View solution

Started by wblz 9 years ago · 3 replies · 889 views
9 years ago

A lot of errors between obsolete and files not found... 🙄
replace with BackUP and repeat compil...

9 years ago

at the moment after some corrections...

-- first One edit gruntfile.js

replace:

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

with this:

TXT
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?

_edit/update...

last edited 12/09/17 by wblz
9 years ago

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

:upside_down_face:

9 years ago Solution

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 ✌️

last edited 12/20/17 by wblz

Suggested topics

Topic Participants Replies Views Activity
Plugins · by Rene, 1 week ago
2 47 1 week ago
Plugins · by Xavier, 4 weeks ago
2 56 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1182 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 50 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 74 2 months ago