-
Hi,
After searching, i'm able now to run the command 'npm install' with success (changing the babel version). But, the 'npm run build' gives some errors, which cause for the editor to freeze (blocks are not editable). Here are the errors:
WARNING in ./assets/js/modules/imageLibrary.js
jshint results in errors
Missing semicolon. @ line 92 char 18
}'Slim' is not defined. @ line 210 char 52
imageLibrary.currentSlimEdit = Slim.create(imageLibrary.imgSlimEditImage, {'Slim' is not defined. @ line 440 char 17
Slim.destroy(imageLibrary.imgSlimEditImage);'Slim' is not defined. @ line 444 char 48
imageLibrary.currentSlimEdit = Slim.create(imageLibrary.imgSlimEditImage, {'slimImageUpdate' is not defined. @ line 219 char 36
didUpload: slimImageUpdate,'slimImageUpdate' is not defined. @ line 453 char 32
didUpload: slimImageUpdate,'slimHandleServerError' is not defined. @ line 454 char 44
didReceiveServerError: slimHandleServerError,'slimImageTransform' is not defined. @ line 455 char 36
willTransform: slimImageTransform,WARNING in ./assets/js/modules/templates.js
jshint results in errors
Missing semicolon. @ line 84 char 105
$(templates.buttonSave).find('.bLabel').text( $(templates.buttonSave).attr('data-loading') )WARNING in ./assets/js/modules/packages.js
jshint results in errors
Expected '===' and instead saw '=='. @ line 50 char 44
if (data.export_site == 'yes') {ERROR in builder.bundle.js from UglifyJs
SyntaxError: Unexpected token name «of», expected punc «;» [./assets/js/modules/ui.js:101,12]ERROR in images.bundle.js from UglifyJs
SyntaxError: Unexpected token name «of», expected punc «;» [./assets/js/modules/ui.js:101,12]ERROR in packages.bundle.js from UglifyJs
SyntaxError: Unexpected token name «of», expected punc «;» [./assets/js/modules/ui.js:101,12]ERROR in settings.bundle.js from UglifyJs
SyntaxError: Unexpected token name «of», expected punc «;» [./assets/js/modules/ui.js:101,12]ERROR in sites.bundle.js from UglifyJs
SyntaxError: Unexpected token name «of», expected punc «;» [./assets/js/modules/ui.js:101,12]ERROR in users.bundle.js from UglifyJs
SyntaxError: Unexpected token name «of», expected punc «;» [./assets/js/modules/ui.js:101,12]Can someone advise please?
Regards
Kepler
Replies only viewable for logged in users
Attachments:
You must be logged in to view attached files.Replies only viewable for logged in users
- This reply was modified 6 years, 10 months ago by Andrew Ozols.
The topic ‘Webpack problem – almost’ is closed to new replies.