[英]Error Compiling truffle project, stuck with unfound error,
我正在使用 WSL(ubuntu 18.04)我已經安裝了 truffle、solc 和 node js(npm)......我在 truffle 中啟動了一個簡單的項目,然后當我使用truffle compile
。 我遇到了一個錯誤
Compiling your contracts...
===========================
Error: SyntaxError: Unexpected end of input
at Object.compile (/mnt/c/Users/Test/AppData/Roaming/npm/node_modules/truffle/build/webpack:/packages/workflow-compile/legacy/index.js:72:1)
Truffle v5.1.2 (core: 5.1.2)
Node v13.5.0
我什至找不到這個index.js
文件。 這可能是哪里?
檢查您的合同 pragma 語句或 truffle 配置。 如果您可能正在針對錯誤的 Solidity 編譯器進行編譯。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.