Добрый день! набираю в консоли RAILS_ENV=production bundle exec rake webpacker:compile
Выходит ошибка:
------------------------------------------------------->
......
"id": 1,
"identifier": "/home/nikola/rails5/vsrednem/node_modules/css-loader/index.js?minimize!/home/nikola/rails5/vsrednem/node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-3aab8807\",\"scoped\":true,\"hasInlineConfig\":false}!/home/nikola/rails5/vsrednem/node_modules/vue-loader/lib/selector.js?type=styles&index=0!/home/nikola/rails5/vsrednem/app/javascript/packs/app.vue",
"name": "./~/css-loader?minimize!./~/vue-loader/lib/style-compiler?{\"vue\":true,\"id\":\"data-v-3aab8807\",\"scoped\":true,\"hasInlineConfig\":false}!./~/vue-loader/lib/selector.js?type=styles&index=0!./app/javascript/packs/app.vue",
"index": 0,
"index2": 1,
"size": 220,
"cacheable": true,
"built": true,
"optional": false,
"prefetched": false,
"chunks": [
0
],
"assets": [],
"issuer": null,
"issuerId": null,
"issuerName": null,
"failed": false,
"errors": 0,
"warnings": 0,
"reasons": [],
"usedExports": true,
"providedExports": null,
"depth": 0,
"source": "exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(undefined);\n// imports\n\n\n// module\nexports.push([module.id, \"p[data-v-3aab8807]{font-size:2em;text-align:center}\", \"\"]);\n\n// exports\n"
}
],
"filteredModules": 0,
"children": [],
"name": "extract-text-webpack-plugin"
}
]
}
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
'
/home/nikola/.rbenv/versions/2.4.0/bin/bundle:22:in load'
/home/nikola/.rbenv/versions/2.4.0/bin/bundle:22:in
Tasks: TOP => webpacker:compile
(See full trace by running task with --trace)
<---------------------------------------------------------END
Deploy также не работает.
Помогите. спасибо
@1989medium Hey, Could you please paste full logs?
@gauravtiwari sorry for Russian folklore... please paste here a link to gist with full trace
@1989medium закинь полный лог в gist и ссылку в студию.
Извините, ошибка была найдена в компоненте vue-particles в node_modules/vue-particles/.babelrc
Если сможете запустить vue-particles то я буду рад увидеть как устранили ошибку .babelrc
Спасибо!
Are you using this code in .babelrc? (Вы используете этот код в .babelrc?)
{
"presets": [
["env", {
"modules": false,
"targets": {
"browsers": "> 1%",
"uglify": true
},
"useBuiltIns": true
}]
]
}
Closing this due to inactivity. Feel free to report back if any issues 👍
Most helpful comment
@gauravtiwari sorry for Russian folklore...
please paste here a link to gist with full trace@1989medium закинь полный лог в gist и ссылку в студию.