1123
Делаем все по readme из архива скрипта.
При выполнении php artisan key:generate, APP_KEY в .env не заполнился автоматически, вписали его вручную
Но выполнение npm run prod заканчивается ошибкой:
[root@vps49973 assets]# npm run prod
> @ prod /var/www/www-data/data/www/****/themes/mdb/assets
> npm run production
> @ production /var/www/www-data/data/www/******/themes/mdb/assets
> cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
ERROR Failed to compile with 1 errors 16:43:39
error in ./js/vue/components/FormulasList.vue?vue&type=template&id=2eb44e27&
Syntax Error: SyntaxError: Unexpected token (1:1016)
@ ./js/vue/components/FormulasList.vue?vue&type=template&id=2eb44e27& 1:0-216 1:0-216
@ ./js/vue/components/FormulasList.vue
@ ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./js/vue
/components/Formulas.vue?vue&type=script&lang=js&
@ ./js/vue/components/Formulas.vue?vue&type=script&lang=js&
@ ./js/vue/components/Formulas.vue
@ ./js/vue/app.js
@ multi ./js/vue/app.js ./sass/mdb/_custom.scss
2 assets
ERROR in ./js/vue/components/FormulasList.vue?vue&type=template&id=2eb44e27& (./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-load
er/lib??vue-loader-options!./js/vue/components/FormulasList.vue?vue&type=template&id=2eb44e2
7&)
Module build failed (from ./node_modules/vue-loader/lib/loaders/templateLoader.js):
SyntaxError: Unexpected token (1:1016)
at Parser.pp$4.raise (/var/www/www-data/data/www/*****/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:2757:13)
at Parser.pp.unexpected (/var/www/www-data/data/www/******/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:647:8)
at Parser.pp.expect (/var/www/www-data/data/www/******/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:641:26)
at Parser.pp$3.parseExprList (/var/www/www-data/data/www/******/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:2651:14)
at Parser.pp$3.parseSubscripts (/var/www/www-data/data/www/*****/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:2075:29)
at Parser.pp$3.parseExprSubscripts (/var/www/www-data/data/www/******/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:2050:21)
at Parser.pp$3.parseMaybeUnary (/var/www/www-data/data/www/******/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:2024:17)
at Parser.pp$3.parseExprOps (/var/www/www-data/data/www/*****/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:1966:19)
at Parser.pp$3.parseMaybeConditional (/var/www/www-data/data/www/*****/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:1949:19)
at Parser.pp$3.parseMaybeAssign (/var/www/www-data/data/www/******/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:1925:19)
at Parser.pp$3.parsePropertyValue (/var/www/www-data/data/www/******/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:2443:87)
at Parser.pp$3.parseProperty (/var/www/www-data/data/www/*******/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:2434:8)
at Parser.pp$3.parseObj (/var/www/www-data/data/www/******/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:2380:23)
at Parser.pp$3.parseExprAtom (/var/www/www-data/data/www/******/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:2179:17)
at Parser.<anonymous> (/var/www/www-data/data/www/******/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:6003:24)
at Parser.parseExprAtom (/var/www/www-data/data/www/******/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:6129:31)
at Parser.pp$3.parseExprSubscripts (/var/www/www-data/data/www/******/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:2047:19)
at Parser.pp$3.parseMaybeUnary (/var/www/www-data/data/www/****/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:2024:17)
at Parser.pp$3.parseExprOps (/var/www/www-data/data/www/******/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:1966:19)
at Parser.pp$3.parseMaybeConditional (/var/www/www-data/data/www/******/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:1949:19)
at Parser.pp$3.parseMaybeAssign (/var/www/www-data/data/www/******/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:1925:19)
at Parser.pp$3.parsePropertyValue (/var/www/www-data/data/www/******/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:2443:87)
at Parser.pp$3.parseProperty (/var/www/www-data/data/www/*****/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:2434:8)
at Parser.pp$3.parseObj (/var/www/www-data/data/www/*****/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:2380:23)
at Parser.pp$3.parseExprAtom (/var/www/www-data/data/www/*****/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:2179:17)
at Parser.<anonymous> (/var/www/www-data/data/www/*****/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:6003:24)
at Parser.parseExprAtom (/var/www/www-data/data/www/*****/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:6129:31)
at Parser.pp$3.parseExprSubscripts (/var/www/www-data/data/www/*****/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:2047:19)
at Parser.pp$3.parseMaybeUnary (/var/www/www-data/data/www/******/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:2024:17)
at Parser.pp$3.parseExprOps (/var/www/www-data/data/www/*****/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:1966:19)
at Parser.pp$3.parseMaybeConditional (/var/www/www-data/data/www/*****/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:1949:19)
at Parser.pp$3.parseMaybeAssign (/var/www/www-data/data/www/*****/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:1925:19)
at Parser.pp$3.parseExprList (/var/www/www-data/data/www/*****/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:2663:20)
at Parser.pp$3.parseSubscripts (/var/www/www-data/data/www/****/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:2075:29)
at Parser.pp$3.parseExprSubscripts (/var/www/www-data/data/www/*****/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:2050:21)
at Parser.pp$3.parseMaybeUnary (/var/www/www-data/data/www/******/themes/mdb/assets/node_modules/vue-template-es2015-compiler/bu
ble.js:2024:17)
@ ./js/vue/components/FormulasList.vue?vue&type=template&id=2eb44e27& 1:0-216 1:0-216
@ ./js/vue/components/FormulasList.vue
@ ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./js/vue
/components/Formulas.vue?vue&type=script&lang=js&
@ ./js/vue/components/Formulas.vue?vue&type=script&lang=js&
@ ./js/vue/components/Formulas.vue
@ ./js/vue/app.js
@ multi ./js/vue/app.js ./sass/mdb/_custom.scss
npm ERR! Linux 3.10.0-1062.9.1.el7.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "production"
npm ERR! node v6.17.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! @ production: `cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @ production script 'cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /var/www/www-data/data/www/****/themes/mdb/assets/npm-debug.log
npm ERR! Linux 3.10.0-1062.9.1.el7.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "prod"
npm ERR! node v6.17.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! @ prod: `npm run production`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ prod script 'npm run production'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run production
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /var/www/www-data/data/www/*****/themes/mdb/assets/npm-debug.log