0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

webpack5にした時にprettycronで利用しているlaterでエラーが出たので原因と恒久対応について調査したメモ

Posted at

bunkat/later

webpackでエラーが出る。
興味があれば、以下のissueを参照。
Can't find later-cov.js? #155

対応しているリポジトリ、npmのパッケージがある。
RickCarlino/later
meteor-later

新しいものがあるので、以下を使うのが良い。

breejs/later

npm install @breejs/later

補足

古いlater(bunkat/later)を使っているライブラリがあると実行時にエラーになる。
webpackで問題出る。webpack4まで大丈夫でもwebpack5でダメになる。

例) prettycron

対処方法

breejs/laterに置き換えた状態のprettycronをメンテナンスしている以下のリポジトリのものをインストール

brstyl/prettycron

# コマンドの説明
#
# Githubまたはローカルのnpm のパッケージをinstall
# npm install  アカウント名/リポジトリ名

npm install brstyl/prettycron
0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?