Comments (5)
わたしの環境依存の問題だったようです。
仮想マシンのメモリを0.75GB→1.75GBに増やしたところ、yarn run build:js
が正常終了しました。
$ yarn run build:js
yarn run v0.24.5
$ webpack
================================
[5/18/2017, 12:35:36 PM] Start compile
(node:1222) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.com/webpack/loader-utils/issues/56
parseQuery() will be replaced with getOptions() in the next major version of loader-utils.
Hash: e3c4881fecd3a3b6b1a5
Version: webpack 2.4.1
Time: 47057ms
Asset Size Chunks Chunk Names
main.bundle.js 3.59 MB 0 [emitted] [big] main
main.bundle.js.map 4.14 MB 0 [emitted] main
[0] ./~/moment/moment.js 129 kB {0} [built]
[7] ./~/react/react.js 56 bytes {0} [built]
[90] ./~/react-dom/index.js 59 bytes {0} [built]
[112] ./~/openpgp/dist/openpgp.js 778 kB {0} [built]
[120] ./~/almin-logger/lib/AlminLogger.js 4.65 kB {0} [built]
[381] ./src/js/main.es6 3.17 kB {0} [built]
[382] ./~/babel-polyfill/lib/index.js 833 bytes {0} [built]
[392] ./src/js/Application.es6 2.33 kB {0} [built]
[407] ./src/js/pages/Dashboard.es6 10.3 kB {0} [built]
[429] ./src/js/store/AppStore.es6 1.85 kB {0} [built]
[456] ./~/core-js/fn/regexp/escape.js 107 bytes {0} [built]
[636] ./~/core-js/shim.js 7.38 kB {0} [built]
[675] ./~/raven-js/src/singleton.js 878 bytes {0} [built]
[763] ./~/regenerator-runtime/runtime.js 23.8 kB {0} [built]
[778] multi babel-polyfill ./src/js/main.es6 40 bytes {0} [built]
+ 764 hidden modules
[5/18/2017, 12:36:23 PM] Finish compile
================================
Done in 74.28s.
$ ll static/
total 7680
drwxrwxr-x. 2 naumanni naumanni 109 May 18 11:55 font
drwxrwxr-x. 2 naumanni naumanni 85 May 18 11:55 images
-rw-rw-r--. 1 naumanni naumanni 3623576 May 18 12:36 main.bundle.js
-rw-rw-r--. 1 naumanni naumanni 4179558 May 18 12:36 main.bundle.js.map
-rw-rw-r--. 1 naumanni naumanni 54073 May 18 12:21 main.css
from naumanni.
手元のMacOSでgtime -f '%M' yarn run build:js
してみたところ、1948958720
とでてきたので、約1.8GB使っているようです。凄い
[email protected]さんが書かれているように、スワップ領域増やしてみるのも良いかもしれません。
from naumanni.
報告ありがとうございます。
幾つか、教えてください
- nodeのバージョンを教えてください
yarn run build
だけ行うと、static/以下にmain.bundle.js等ができているはずなのですが、それはどうなっていますでしょうか?
from naumanni.
$ node -v
v6.10.3
yarn run build
だけを行った後の staticディレクトリの中身
$ ls -l static/
total 56
drwxrwxr-x 2 naumanni naumanni 109 May 18 00:08 font
drwxrwxr-x 2 naumanni naumanni 85 May 18 00:08 images
-rw-rw-r-- 1 naumanni naumanni 53689 May 18 19:15 main.css
どうもこの段階で生成されていないようです。。。
from naumanni.
検証ありがとうございます。
動作(ビルド)環境として、メモリ2GBは必須のようですね。。。
from naumanni.
Related Issues (20)
- Missing Scrollbars 行方不明のスクロールバー HOT 1
- 起動時に Failed to construct 'WebSocket' HOT 1
- [要望] インスタンス毎の色分けが欲しい
- [要望] カラム移動はヘッダのみにして欲しい
- タイムラインがロードされない HOT 1
- TypeError: Cannot read property 'reblog' of undefined
- AssertionError: false == true
- ロード時に TimelineColumn render method でエラー
- Build Error: Can't resolve naumanniConfig and naumanniPlugins HOT 10
- 起動時に TypeError: Cannot read property 'match' of null
- TypeError: this.refs.columnContainer.scrollToColumn
- Nginx SSL対応 HOT 6
- ログアウトできるようにしたい HOT 1
- 通知機能でエラーが出る HOT 1
- Mastodonの認証済みアプリ画面で、どこからの登録か分かるようにしてほしい
- フォローされると、WebsocketManager.es6でエラー
- ユーザー個別ページで、添付画像を何回も開くことができる
- [要望] メモ機能が欲しい HOT 2
- アカウント追加画面で、インスタンスボタンを複数設置したい HOT 1
- [要望] 公開鍵について HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from naumanni.