Webpack Returned Errors to ember-auto-import

I have a problem build error like title of my topic, anyone can help me?

here’s my package.json

devDependencies: {
    "@ember/jquery": "^0.5.2",
    "@ember/optional-features": "^0.6.3",
    "broccoli-asset-rev": "^2.7.0",
    "ember-ajax": "^3.1.0",
    "ember-cached-shoe": "^0.2.0",
    "ember-cli": "^3.8.1",
    "ember-cli-app-version": "^3.2.0",
    "ember-cli-babel": "^6.16.0",
    "ember-cli-bundle-analyzer": "0.0.3",
    "ember-cli-concat": "^1.3.0",
    "ember-cli-dependency-checker": "^3.0.0",
    "ember-cli-eslint": "^4.2.3",
    "ember-cli-fastboot": "^2.0.0",
    "ember-cli-head": "^0.4.1",
    "ember-cli-htmlbars": "^3.0.0",
    "ember-cli-htmlbars-inline-precompile": "^1.0.3",
    "ember-cli-inject-live-reload": "^1.8.2",
    "ember-cli-less": "^1.5.5",
    "ember-cli-moment-shim": "^3.7.1",
    "ember-cli-qunit": "^4.3.2",
    "ember-cli-shims": "^1.2.0",
    "ember-cli-sri": "^2.1.1",
    "ember-cli-string-helpers": "^1.9.0",
    "ember-cli-template-lint": "^1.0.0-beta.1",
    "ember-cli-uglify": "^2.1.0",
    "ember-concurrency": "^0.8.19",
    "ember-data": "~3.4.0",
    "ember-export-application-global": "^2.0.0",
    "ember-font-awesome": "^4.0.0-rc.4",
    "ember-in-viewport": "^3.1.5",
    "ember-link-action": "^0.1.3",
    "ember-load-initializers": "^1.1.0",
    "ember-maybe-import-regenerator": "^0.1.6",
    "ember-moment": "^7.7.0",
    "ember-resolver": "^5.0.1",
    "ember-screen": "^1.0.0",
    "ember-service-worker": "^0.7.0",
    "ember-source": "~3.4.0",
    "ember-web-app": "^2.3.0",
    "eslint-plugin-ember": "^5.2.0",
    "loader.js": "^4.7.0",
    "qunit-dom": "^0.7.1"

I’am using ember-cli: 3.10.1, node: 10.16.0, os: win32 x64.

Please someone help me, thanks.

Please share the contents of the error.dump.*.log file.

What library are you trying to import using ember-auto-import?

Thanks for your reply @ef4,

First thing is I’m not sure where I use the ember-auto-import and what for, cause I just clone my client’s repo, and where I try to find ‘ember-auto-import’ in the app, I found nothing. But here’s the log, I share the link where I post the log cause the automated spam filter, Akismet, always temporarily hidden my post when I post the log in reply.

It looks like probably ember-cached-shoe uses ember-auto-import to load b2a.

I’m not seeing the original webpack error for some reason, I wonder if we have a windows bug that causes it not to be printed. Hmm.

Do you get any additional output if you set the environment variable AUTO_IMPORT_VERBOSE=true?

Yes, I see in the log that’s all caused by ember-cached-shoe.

How to set the environment variable AUTO_IMPORT_VERBOSE btw?

The log change to be like this if I remove ember-cached-shoe package

How to set the environment variable AUTO_IMPORT_VERBOSE btw?

You can run AUTO_IMPORT_VERSION=true ember b, another fun one is DEBUG=* ember b but beware you get a LOT of output.

In Powershell, you can run


before you run ember s

And FWIW, I confirmed that ember-auto-import does print webpack errors when used on windows, so I still don’t know why you aren’t seeing more useful feedback.

Ya, the problem is the webpack errors when I using ember-cached-shoe, and I need ember-cached-shoe for the router, I’am asking because all of my friends on the same project and using windows can work properly using ember-auto-import.

Is this is only breaking on your machine, have you tried removing all node_modules and reinstalling them? It could be that simple.

I just checked and I can build an app with ember-cached-shoe on windows.

Yes, but I’ve tested it on two devices of mine. I already tried removing all node_modules and reinstalling all of it, I also already tried to downgrade my ember-cli version, node and npm version but still have same result of error.

Did you get any additional console output using AUTO_IMPORT_VERBOSE? That should really cause some additional detail to print.