Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: コンパイルエラー対応:babelの設定を変更 #66

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

nori0906
Copy link
Owner

@nori0906 nori0906 commented Nov 7, 2023

コンパイルができずエラーが発生の対応(23/11/7)

エラー内容

railsエラー
Webpacker::Manifest::MissingEntryError in

「rails webpacker:compile」実行後のエラー
node:internal/process/promises:279
triggerUncaughtException(err, true /* fromPromise */);
Error: Cannot find package '@babel/plugin-proposal-private-methods'

参考
https://prograshi.com/framework/rails/webpackermanifestmissingentryerror/

今対処方法

  1. /babel.config.jsをプラグインを編集
    参考:
    simonbaird/tiddlyhost@c1063d6

  2. Nodeのバージョンを16系にダウングレード
    参考:
    https://www.freecodecamp.org/news/error-error-0308010c-digital-envelope-routines-unsupported-node-error-solved/

@nori0906 nori0906 merged commit 86d8ed1 into develop Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant