Created
June 18, 2017 13:08
-
-
Save hyuki0000/22ca73f80b001ddb39dba1e87e01826f to your computer and use it in GitHub Desktop.
Mastodon 1.3.3 -> 1.4.3 でエラー
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker-compose pull | |
$ docker-compose build | |
$ docker-compose run --rm web rails db:migrate | |
$ docker-compose run --rm web rails mastodon:maintenance:prepare_for_foreign_keys | |
$ docker-compose run --rm web rails db:migrate | |
$ docker-compose run --rm web rails assets:precompile | |
Creating mastodon user (UID : 1000 and GID : 1000)... | |
Updating permissions... | |
Executing process... | |
yarn install v0.24.5 | |
[1/4] Resolving packages... | |
[2/4] Fetching packages... | |
warning [email protected]: The platform "linux" is incompatible with this module. | |
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. | |
warning [email protected]: The engine "browser" appears to be invalid. | |
[3/4] Linking dependencies... | |
warning "[email protected]" has incorrect peer dependency "[email protected]". | |
error An unexpected error occurred: "ENOTEMPTY: directory not empty, rmdir '/mastodon/node_modules/.bin'". | |
info If you think this is a bug, please open a bug report with the information provided in "/mastodon/yarn-error.log". | |
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. | |
Webpacker is installed 🎉 🍰 | |
Using /mastodon/config/webpack/paths.yml file for setting up webpack paths | |
Compiling webpacker assets 🎉 | |
sh: /mastodon/node_modules/.bin/webpack: not found | |
rails aborted! | |
JSON::ParserError: 743: unexpected token at '' | |
/mastodon/vendor/bundle/ruby/2.4.0/gems/webpacker-1.2/lib/tasks/webpacker/compile.rake:13:in `block (2 levels) in <top (required)>' | |
/mastodon/vendor/bundle/ruby/2.4.0/gems/webpacker-1.2/lib/tasks/webpacker/compile.rake:40:in `block in <top (required)>' | |
/mastodon/vendor/bundle/ruby/2.4.0/gems/railties-5.1.1/lib/rails/commands/rake/rake_command.rb:21:in `block in perform' | |
/mastodon/vendor/bundle/ruby/2.4.0/gems/railties-5.1.1/lib/rails/commands/rake/rake_command.rb:18:in `perform' | |
/mastodon/vendor/bundle/ruby/2.4.0/gems/railties-5.1.1/lib/rails/command.rb:46:in `invoke' | |
/mastodon/vendor/bundle/ruby/2.4.0/gems/railties-5.1.1/lib/rails/commands.rb:16:in `<top (required)>' | |
/mastodon/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.0.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require' | |
/mastodon/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.0.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require' | |
/mastodon/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.1/lib/active_support/dependencies.rb:292:in `block in require' | |
/mastodon/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.1/lib/active_support/dependencies.rb:258:in `load_dependency' | |
/mastodon/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.1/lib/active_support/dependencies.rb:292:in `require' | |
bin/rails:4:in `<main>' | |
Tasks: TOP => webpacker:compile | |
(See full trace by running task with --trace) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mastodon/mastodon#3251