Skip to content

Instantly share code, notes, and snippets.

@ThaddeusJiang
Last active August 7, 2018 07:21
Show Gist options
  • Save ThaddeusJiang/037f30296e06de049acd0788aaa73bcb to your computer and use it in GitHub Desktop.
Save ThaddeusJiang/037f30296e06de049acd0788aaa73bcb to your computer and use it in GitHub Desktop.
✅[Parcel 折腾记] 遭遇 parcel 1.5.1 bug,windows 上 parcel index.html 无法启动

遭遇 parcel 1.5.1 bug,windows 上 parcel index.html 无法启动

项目组新进成员,git clone 项目后,yarn start 无法启动。 进程停止,但是不结束,也没有任何error message。 现象:

C:\Users\...\Documents\GitHub\spage-pwa>yarn start
yarn run v1.3.2
$ parcel src/index.html --no-cache
Server running at http://localhost:1234
∞  Building MenuItem.js...

同事是 Winodws7,而且在中国。

最开始怀疑 yarn 安装依赖出了问题,但是我已经将 yarn.lock 进入 github 了。[排除] 然后怀疑是 Windows7 支持,但是其他同事也有 Windows7,正常启动。[排除]

最后:在 parcel 的的issue,发现这是 1.5.1 的bug。并且已经提交修改,等待 merge。

⌛️

处于项目考虑,暂时将 parcel 降到 1.2.1


因为 #36 ,parcel 升级到 1.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment