You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
SyntaxError: Invalid or unexpected token
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1178:20)
at Module._compile (node:internal/modules/cjs/loader:1220:27)
at requireFromString (/usr/local/lib/node_modules/truffle/build/webpack:/node_modules/require-from-string/index.js:28:1)
at VersionRange.compilerFromString (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/compilerSupplier/loadingStrategies/VersionRange.js:95:1)
at VersionRange. (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/compilerSupplier/loadingStrategies/VersionRange.js:111:1)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/compilerSupplier/loadingStrategies/VersionRange.js:5:43)
Truffle v5.11.5 (core: 5.11.5)
Node v18.18.0
I just follow the project from https://trufflesuite.com/guides/nft-marketplace/, when I come to the step of compiling the contracts in the "ethereum" file, it doesn't work, and I got the error like that.
How can I modify it?
The text was updated successfully, but these errors were encountered:
whitbirs
changed the title
Truffle Compile
Truffle Compile SyntaxError
Oct 6, 2023
:1
ELF
^
SyntaxError: Invalid or unexpected token
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1178:20)
at Module._compile (node:internal/modules/cjs/loader:1220:27)
at requireFromString (/usr/local/lib/node_modules/truffle/build/webpack:/node_modules/require-from-string/index.js:28:1)
at VersionRange.compilerFromString (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/compilerSupplier/loadingStrategies/VersionRange.js:95:1)
at VersionRange. (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/compilerSupplier/loadingStrategies/VersionRange.js:111:1)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/compilerSupplier/loadingStrategies/VersionRange.js:5:43)
Truffle v5.11.5 (core: 5.11.5)
Node v18.18.0
I just follow the project from https://trufflesuite.com/guides/nft-marketplace/, when I come to the step of compiling the contracts in the "ethereum" file, it doesn't work, and I got the error like that.
How can I modify it?
The text was updated successfully, but these errors were encountered: