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
When compiling with webpack, truffle-solidity-loader doesn't recognize Truffle 3.0.2 syntax
Will there be a update for this repo or we need to write the new build process ourselves?
Error message when running webpack dev server:
[TRUFFLE SOLIDITY] Compiling Migrations.sol...
[TRUFFLE SOLIDITY] Compiling SimpleStorage.sol...
[TRUFFLE SOLIDITY] Writing artifacts to ./.truffle-solidity-loader
[TRUFFLE SOLIDITY] COMPILATION FINISHED
[TRUFFLE SOLIDITY] RUNNING MIGRATIONS
[TRUFFLE SOLIDITY] Running migration: 1_initial_migration.js
/dapp/migrations/1_initial_migration.js:1
var Migrations = artifacts.require("./Migrations.sol");
^
ReferenceError: artifacts is not defined
at /dapp/migrations/1_initial_migration.js:1:18
at ContextifyScript.Script.runInContext (vm.js:35:29)
at ContextifyScript.Script.runInNewContext (vm.js:41:15)
at /dapp/node_modules/truffle/lib/require.js:78:14
at tryToString (fs.js:455:3)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:442:12)```
The text was updated successfully, but these errors were encountered:
When compiling with webpack, truffle-solidity-loader doesn't recognize Truffle 3.0.2 syntax
Will there be a update for this repo or we need to write the new build process ourselves?
Error message when running webpack dev server:
The text was updated successfully, but these errors were encountered: