You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compilation failed:The code generator has deoptimised the styling of "/mastodon/node_modules/emoji-mart/dist-es/data/data.js" as it exceeds the max of "500KB".
#5536
Closed
XuHandsome opened this issue
Oct 26, 2017
· 2 comments
docker-compose run --rm web rake assets:precompile
Starting mastodon_redis_1 ... done
Starting mastodon_db_1 ... done
Creating mastodon user (UID : 991 and GID : 991)...
Updating permissions...
Executing process...
Webpacker is installed 🎉 🍰
Using /mastodon/config/webpacker.yml file for setting up webpack paths
Compiling…
Compilation failed:
[BABEL] Note: The code generator has deoptimised the styling of "/mastodon/node_modules/emoji-mart/dist-es/data/data.js" as it exceeds the max of "500KB".
(node:174) DeprecationWarning: Chunk.modules is deprecated. Use Chunk.getNumberOfModules/mapModules/forEachModule/containsModule instead.
The text was updated successfully, but these errors were encountered:
This is due to the machine not having enough RAM during the build process. Try adding a temporary 1GB swap file with these instructions: #5836 (comment)
I had to seen this issue,and as this error:The code generator has deoptimised the styling of "xxx/xxx/templates.js as it exceeds the max of 500KB " when a templates.js document was packaged for webpack.So I found some method to resolve it. I know a truthful thing Because we could use the different program frames.
You can find gulpfile.js and search the word "babelify", exmaple :
docker-compose run --rm web rake assets:precompile
Starting mastodon_redis_1 ... done
Starting mastodon_db_1 ... done
Creating mastodon user (UID : 991 and GID : 991)...
Updating permissions...
Executing process...
Webpacker is installed 🎉 🍰
Using /mastodon/config/webpacker.yml file for setting up webpack paths
Compiling…
Compilation failed:
[BABEL] Note: The code generator has deoptimised the styling of "/mastodon/node_modules/emoji-mart/dist-es/data/data.js" as it exceeds the max of "500KB".
(node:174) DeprecationWarning: Chunk.modules is deprecated. Use Chunk.getNumberOfModules/mapModules/forEachModule/containsModule instead.
The text was updated successfully, but these errors were encountered: