Skip to content

Commit a454ae8

Browse files
emizzle0x-r4bbit
authored andcommitted
feat(@embark/core): Support minimum truffle projects
When taking a bare-minimum truffle project, created from the [`metacoin` truffle box](https://github.com/truffle-box/metacoin-box), there were only two steps that needed to happen as a prerequisite: 1. First, run `embark init`, creating a default `embark.json` 2. Second, run `npm init`, creating a default `package.json`. Trying to run `embark run` before those prequisites would error with appropriate directions in the console, guiding the user to run those steps explicitly. After running these two steps, Embark would hang waiting for the namesystem plugin to come up. Changing the default namesystem config to disabled allows Embark to start up successfully without hanging. The rationale behind this decision is that if `embark.json` doesn’t exist, then we cannot expect that the namesystem plugin will be installed in the project either, and thefore its default value should be disabled.
1 parent 469504f commit a454ae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/core/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ export class Config {
562562
loadCommunicationConfigFile() {
563563
const configObject = {
564564
default: {
565-
enabled: true,
565+
enabled: false,
566566
provider: "whisper",
567567
available_providers: ["whisper"],
568568
client: "geth",

0 commit comments

Comments
 (0)