環境構築– category –
-
【Webpack3】解決。ERROR in ./node_modules/forever-agent/index.js
【Webpack3】解決。ERROR in ./node_modules/forever-agent/index.js 画像のようにモジュールが解決されない。。場合、 Module not found: Error: Can't resolve 'net' in Module not found: Error: Can't resolve 'tls' in とかなっているやつを webpack.... -
【Weabpack v1 → v3】解決「Conflict: Multiple assets emit to the same filename bundle.js」
【Weabpack v1 → v3】解決「Conflict: Multiple assets emit to the same filename bundle.js」 下のようになっている箇所を output: { path: __dirname + "/dist", filename: "bundle.js", }, このようにする output: { path: __dirname + "/dist", filen... -
【babel】これ出たら「You have mistakenly installed the `babel` package, which is a no-op in Babel 6.」
【babel】これ出たら「You have mistakenly installed the `babel` package, which is a no-op in Babel 6.」 babel --version でbabelの確認をしたら出た文言です。 https://babeljs.io/docs/usage/cli/ hit run command npm uninstall --global babel-c... -
【React】これ。SyntaxError: ‘import’ and ‘export’ may only appear at the top level
【React】これ。SyntaxError: 'import' and 'export' may only appear at the top level -
【Webpack/node-fetch】これを解決「ERROR in ../~/iconv-lite/encodings/tables/gb18030-ranges.json」
【Webpack/node-fetch】これを解決「ERROR in ../~/iconv-lite/encodings/tables/gb18030-ranges.json」 node-fetchのライブラリで参照しているファイルがwebpackで解決できないみたい。 調べると node-fetchじゃなくて代わりに isomorphic-fetchを使うこ... -
【VisualBox】意外と簡単だった。。MacでWindows7(IE)の表示確認するための環境を整える4つの手順
【VisualBox】意外と簡単だった。。MacでWindows7(IE)の表示確認するための環境を整える4つの手順 PCページ作る案件でIEを見なくては行けなくなりました。なので環境を整えたいと思い、意気込んでいたら結構簡単でしたので 「【VisualBox】意外と簡単だっ... -
【Webpack/babelrc/babel-loader】これが出たら。Module build failed: ReferenceError: [BABEL] [filePath] Unknown option: ./index.js.babelrc.preset
【Webpack/babelrc/babel-loader】これが出たら。Module build failed: ReferenceError: [BABEL] [filePath] Unknown option: ./index.js.babelrc.preset ここに https://github.com/babel/babel-loader/issues/132#issuecomment-223110041 書いてあるよう... -
【React】 if(!element.loader || element.loader.indexOf(“!”) >= 0) throw new Error(“Cannot define ‘query’ and multiple loaders in loaders list”);
【React/webpack/babel-loader】もし「Error: Cannot define 'query' and multiple loaders in loaders list」で「 if(!element.loader || element.loader.indexOf("!") >= 0) throw new Error("Cannot define 'query' and multiple loaders in loaders li... -
【Chrome/Ajax,Promise/ローカルサーバー】これが出たらやる9つのこと「XMLHttpRequest cannot load localhost:3000/sub/comments. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource」
【Chrome/Ajax,Promise/ローカルサーバー】これが出たらやる9つのこと「XMLHttpRequest cannot load localhost:3000/sub/comments. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome... -
【webpack】webpackDevMiddleware とは
【webpack】webpackDevMiddleware とは webpackDevMidleware -ドキュメント- webpackDevMiddleware はデータ構造領域に接続するミドルウェに対しての小さなミドルウェアです。 メモリーの静的ファイルをコンパイルしたりそれらを受け取る際に使用します。... -
【Webpack】ERROR in multi html Module not found: Error: Cannot resolve module ‘file’ in
【Webpack】ERROR in multi html Module not found: Error: Cannot resolve module 'file' in ERROR in multi html Module not found: Error: Cannot resolve module 'file' in /Users/[username]/[repository]/[projectName]/src @ multi html confirm Er... -
【Webpack】書いて覚えるWebpack.config/練習(webpackplayground)
【Webpack】書いて覚えるWebpack.config/練習(webpackplayground) webpackの設定ってあまり書きませんよね。基盤を作った人が最初に書いて、あとはだれかがちょこっと修正して、 全体が分からないでもそれなりにどこかを見ながら、、 でも実のところこれっ... -
【gulp】zsh: command not found: gulp!!!「急にgulpが壊れた!」と思ったら読む記事
【gulp】zsh: command not found: gulp!!!「急にgulpが壊れた!」と思ったら読む記事 zsh: command not found: gulp まず。急には壊れません。 じゃあ原因は何だ!(お前だよ) っていうのがありまして、 わたしも「ですよね、、」と思いながらも、ずーっとハ... -
IntelliJに変えて3日目にしてAtomに対して思うこと(intelliJvsAtom)
IntelliJに変えて3日目にしてAtomに対して思うこと Atomの良いところは格好いいところ、ビジュアルがいいところ、 ですが、重いのがつらかったですね。 すぐクラッシュするし固まる。 あと仰々しい。 「これ今やってまーーーす」感。。 なによりコードを追... -
【Vagrant】Mac簡単設定の方法
【Vagrant】Mac簡単設定の方法 いまさらですが、、 今度マシン変えたときのためにメモっとく 1 virtualBoxのダウンロード https://www.virtualbox.org/wiki/Downloads 2 vagrantのダウンロード https://www.vagrantup.com/downloads.html 3 vagrantの初期... -
【Vagrant】vagrant upしたら An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again.
vagrant upしたら An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again. Couldn't open file /Users/**/base このように出た場合、 https://www.vagrantup.com/d...
1