A lot of errors between obsolete and files not found... 🙄
replace with BackUP and repeat compil...
Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Solved by wblz View solution
at the moment after some corrections...
-- first One edit gruntfile.js
replace:
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?
_edit/update...
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:
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 ✌️
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 2 | 43 | 1 week ago | ||
| 2 | 54 | 4 weeks ago | ||
| 3 | 1181 | 1 month ago | ||
| 1 | 48 | 1 month ago | ||
| 3 | 73 | 2 months ago |