Git Product home page Git Product logo

Comments (11)

RobbieTheWagner avatar RobbieTheWagner commented on September 3, 2024

@MuseofMoose thanks for reporting this issue! Would you be able to try ember-shepherd 10 and see if that changes anything? This is definitely ember-auto-import related with the webpack chunks, but I am not sure why it is occurring.

Is ember-auto-import installed in your app? Perhaps adding it may also help.

from ember-shepherd.

MuseofMoose avatar MuseofMoose commented on September 3, 2024

@rwwagner90 Tried both changes but they didn't make any difference, sadly. Still getting the exact same error. Should I take this over to ember-auto-import and raise an issue there?

from ember-shepherd.

RobbieTheWagner avatar RobbieTheWagner commented on September 3, 2024

@MuseofMoose if you could provide an isolated reproduction, that would be helpful. It may be that updating Ember or Ember CLI versions is needed or something. I am not sure.

from ember-shepherd.

MuseofMoose avatar MuseofMoose commented on September 3, 2024

@rwwagner90 Fair enough. I'll do some more digging over the weekend and see if I can whip something simple up. I just noticed that doing a local ember build --prod does seem to create the expected chunk file so I'm now wondering if that chunk is getting lost during our extended build process.

Either way, I'll try and put something together or close this if I find out it's something else. I appreciate the help so far.

from ember-shepherd.

MuseofMoose avatar MuseofMoose commented on September 3, 2024

@rwwagner90 Sure enough, I wasn't properly copying over the chunk files and other ember-auto-import generated files further along in my build process. How silly of me. Apologies for not realizing and thank you again for trying to help. I'll close this now.

from ember-shepherd.

RobbieTheWagner avatar RobbieTheWagner commented on September 3, 2024

No problem! Hope you enjoy using Shepherd 😃

from ember-shepherd.

joegaudet avatar joegaudet commented on September 3, 2024

@MuseofMoose realize this is old, but running into the same issue, curious, did you use ember-cli-deploy to fix? And if so mind sharing your config?

from ember-shepherd.

joegaudet avatar joegaudet commented on September 3, 2024

@rwwagner90 I'm seeing this issue in development and production currently, thought strangely on second full load of the application it works fine.

from ember-shepherd.

RobbieTheWagner avatar RobbieTheWagner commented on September 3, 2024

@joegaudet it sounds like before this was a problem with ember-auto-import. I don't really have any suggestions other than blowing away node modules and updating them.

from ember-shepherd.

derrabauke avatar derrabauke commented on September 3, 2024

@rwwagner90 Is this issue back? I can't open the demo page. https://rwwagner90.github.io/ember-shepherd/docs/demo

vendor-56be03bdc2aa34cb191a44c52d4560b2.js:1159 Error while processing route: docs.demo Loading chunk 574 failed.
(error: https://rwwagner90.github.io/ember-shepherd/docs/api/modules/ember-shepherd/utils/ADDON_DOCS_ROOT_URL/assets/chunk.574.55dd52836b50b236133f.js) ChunkLoadError: Loading chunk 574 failed.
(error: https://rwwagner90.github.io/ember-shepherd/docs/api/modules/ember-shepherd/utils/ADDON_DOCS_ROOT_URL/assets/chunk.574.55dd52836b50b236133f.js)
    at o.f.j (https://rwwagner90.github.io/ember-shepherd/assets/chunk.143.29de83d81f2618619098.js:37:20)
    at https://rwwagner90.github.io/ember-shepherd/assets/chunk.143.29de83d81f2618619098.js:24:190
    at Array.reduce (<anonymous>)
    at o.e (https://rwwagner90.github.io/ember-shepherd/assets/chunk.143.29de83d81f2618619098.js:24:168)
    at a.callback (https://rwwagner90.github.io/ember-shepherd/assets/chunk.143.29de83d81f2618619098.js:2:1782)
    at a.exports (https://rwwagner90.github.io/ember-shepherd/assets/vendor-56be03bdc2aa34cb191a44c52d4560b2.js:20:21)
    at requireModule (https://rwwagner90.github.io/ember-shepherd/assets/vendor-56be03bdc2aa34cb191a44c52d4560b2.js:7:106)
    at e.exports.window.emberAutoImportDynamic (https://rwwagner90.github.io/ember-shepherd/assets/chunk.143.29de83d81f2618619098.js:2:100)
    at c._initialize (https://rwwagner90.github.io/ember-shepherd/assets/vendor-56be03bdc2aa34cb191a44c52d4560b2.js:7063:57)
    at c.addSteps (https://rwwagner90.github.io/ember-shepherd/assets/vendor-56be03bdc2aa34cb191a44c52d4560b2.js:7059:469)
(anonymous) @ vendor-56be03bdc2aa34cb191a44c52d4560b2.js:1159
buttons:1 Uncaught (in promise) ChunkLoadError: Loading chunk 574 failed.
(error: https://rwwagner90.github.io/ember-shepherd/docs/api/modules/ember-shepherd/utils/ADDON_DOCS_ROOT_URL/assets/chunk.574.55dd52836b50b236133f.js)
    at o.f.j (chunk.143.29de83d81f2618619098.js:37:20)
    at chunk.143.29de83d81f2618619098.js:24:190
    at Array.reduce (<anonymous>)
    at o.e (chunk.143.29de83d81f2618619098.js:24:168)
    at a.callback (chunk.143.29de83d81f2618619098.js:2:1782)
    at a.exports (vendor-56be03bdc2aa34cb191a44c52d4560b2.js:20:21)
    at requireModule (vendor-56be03bdc2aa34cb191a44c52d4560b2.js:7:106)
    at e.exports.window.emberAutoImportDynamic (chunk.143.29de83d81f2618619098.js:2:100)
    at c._initialize (vendor-56be03bdc2aa34cb191a44c52d4560b2.js:7063:57)
    at c.addSteps (vendor-56be03bdc2aa34cb191a44c52d4560b2.js:7059:469)

Thanks for the addon, anyways! Will try to adapt it in some existing apps of ours.

from ember-shepherd.

RobbieTheWagner avatar RobbieTheWagner commented on September 3, 2024

@derrabauke I am seeing the same issue. Embroider does not like me 😅

from ember-shepherd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.