LoginSignup
7
1

More than 5 years have passed since last update.

parcel使ってみたけど require is not defined が出ちゃって動かない対処法

Last updated at Posted at 2017-12-09

この記事みて、早速parcel使ってみたんですが、、、

ブラウザでlocalhost:1234を動かしても動作しない、、

原因

同じ症状で詰まっている人がいた模様
https://github.com/parcel-bundler/parcel/issues/40

私もlocalのnodeのバージョンがv6.11.1でした。

対策

nodebrewでv9.2.0にupdateしたら治りました。

めでたしめでたし。

7
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
1