Use ember-auto-import instead of ember-browserify #138

Merged
galfert merged 3 commits from feature/use_ember_auto_import into master 2019-07-15 16:54:56 +00:00
galfert commented 2019-07-15 15:34:49 +00:00 (Migrated from github.com)

After some harsh fighting with npm and its unhelpful error messages, I finally managed to replace ember-browserify with ember-auto-import.

It required some custom Webpack config that inlines the JSON files in the kosmos-schemas dependency, instead of loading it via readFileSync.

After that, all other (seemingly) unrelated errors went away as well.

After some harsh fighting with npm and its unhelpful error messages, I finally managed to replace ember-browserify with ember-auto-import. It required some custom Webpack config that inlines the JSON files in the `kosmos-schemas` dependency, instead of loading it via `readFileSync`. After that, all other (seemingly) unrelated errors went away as well.
galfert commented 2019-07-15 15:40:16 +00:00 (Migrated from github.com)

Damn, Travis still has build errors.

I actually deleted my node_modules directory and did a fresh install without problems.

Does anybody else get any errors?

Damn, Travis still has build errors. I actually deleted my `node_modules` directory and did a fresh install without problems. Does anybody else get any errors?
fsmanuel (Migrated from github.com) reviewed 2019-07-15 15:55:47 +00:00
@@ -61,7 +62,9 @@
"kosmos-schemas": "^2.0.0",
fsmanuel (Migrated from github.com) commented 2019-07-15 15:55:47 +00:00
They use a frok: https://github.com/ipfs/js-ipfs-http-client/blob/master/package.json#L67
galfert (Migrated from github.com) reviewed 2019-07-15 15:58:34 +00:00
@@ -61,7 +62,9 @@
"kosmos-schemas": "^2.0.0",
galfert (Migrated from github.com) commented 2019-07-15 15:58:33 +00:00

Any idea why I have to add the package at all when it's a dependency of a dependency?
I didn't have any error about it locally, but Travis did.

Any idea why I have to add the package at all when it's a dependency of a dependency? I didn't have any error about it locally, but Travis did.
fsmanuel (Migrated from github.com) reviewed 2019-07-15 16:36:31 +00:00
@@ -61,7 +62,9 @@
"kosmos-schemas": "^2.0.0",
fsmanuel (Migrated from github.com) commented 2019-07-15 16:36:31 +00:00

No. But the kredits-contracts dependencies are a mess. All kind of forks and beta releases... The blockchain community has to learn a lot about npm dependencies...

No. But the `kredits-contracts` dependencies are a mess. All kind of forks and beta releases... The blockchain community has to learn a lot about npm dependencies...
raucao (Migrated from github.com) reviewed 2019-07-15 16:45:40 +00:00
@@ -61,7 +62,9 @@
"kosmos-schemas": "^2.0.0",
raucao (Migrated from github.com) commented 2019-07-15 16:45:40 +00:00

Aragon npm deps:

fail-imminent

Aragon npm deps: ![fail-imminent](https://user-images.githubusercontent.com/842/61233221-56521700-a730-11e9-9233-fcba4703ec5a.jpg)
raucao commented 2019-07-15 16:54:49 +00:00 (Migrated from github.com)

Hooray, all warnings gone!

Hooray, all warnings gone!
Sign in to join this conversation.