@y315ryu

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

node compile.js のエラー

解決したいこと

下記の必要なnode module を追加したい

発生している問題・エラー

C:\Users\y315r\inbox> node compile.js
node:internal/modules/cjs/loader:1042
throw err;
^
Error: Cannot find module 'C:\Users\y315r\inbox\compile.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1039:15)
at Module._load (node:internal/modules/cjs/loader:885:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}

Node.js v18.13.0

自分で試したこと

npm i --save solcのダウンロード

0 likes

2Answer

Comments

  1. @y315ryu

    Questioner

    すいません。次から気を付けます。

module が足りないのではなくて C:\Users\y315r\inbox に compile.js が存在しないというエラーです。

1Like

Comments

  1. @y315ryu

    Questioner

    ありがとうございます!

Your answer might help someone💌