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
{{ message }}
Repository navigation
Uncaught Error: Could not find module ember-views/lib/compat/attrs #46
Not sure if this is related to #45 but a fresh install with ember 3.7.2, i'm getting this error:
Uncaught Error: Could not find module ember-views/lib/compat/attrs
Hi all, sorry for the inactivity recently. I am back now and have a solution to this. Ember has moved this module again in 3.6. I will submit a fix today
________________________________
From: Nate Johnson <notifications@github.com>
Sent: Thursday, March 28, 2019 11:47:22 PM
To: AltSchool/ember-cli-react
Cc: Subscribed
Subject: Re: [AltSchool/ember-cli-react] Uncaught Error: Could not find module ember-views/lib/compat/attrs (#46)
I'm getting the same issue. Just upgraded to 3.8. Anyone have a solution for this error?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#46 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AFFoU7HLQUlof6FXSpYTNbIYtwUHEXMxks5vbOQKgaJpZM4adJDo>.
Hey, update on this issue. I experienced this bug once again, only this time it was specifically after upgrading ember-source from 3.8.0 to 3.12.0. My ember-cli is 3.14.
Maybe there is a similar fix to your previous solution @pswai ?
EDIT: Actually, it still breaks when moving ember-source from 3.5 to 3.6. It's essentially the same issue I was having 2 years ago. Which is why our app is stuck at source code version 3.5 :/
@NateDawg90 Let me simulate an upgrade from 3.5 to 3.6 here. Instead of failing probably I should change it to retry with older paths. However it still feels weird to me since the module should have relocated in 3.6 🤔
If you don't mind can you share your upgrade steps with me?
@NateDawg90 I did an upgrade from 3.4 to 3.6 and it was working fine, however since i dont have any project with that version it is fresh. Here's what I did:
Generate new Ember app with ember-cli 3.4.4 on Node 10 (Node 16 did not work).
Install ember-cli-react-fork via npm.
Generate blueprint with ember g ember-cli-react.
Add a React component and verify it works.
Now prepare to upgrade. Run ember-cli-update --run-codemods (No change since the repo is fresh).
Run ember-cli-update --to 3.6.
Run npm i since ember-cli-update does not install dependencies.
Run ember s again. In my case it still works.
In your case, I have a feeling that ember-source 3.6 was loaded but somehow it is reporting version 3.5. Can you try logging Ember.VERSION in your app to check?
Activity
NateDawg90 commentedon Mar 28, 2019
I'm getting the same issue. Just upgraded to 3.8. Anyone have a solution for this error?
pswai commentedon Mar 28, 2019
NateDawg90 commentedon Sep 9, 2021
Hey, update on this issue. I experienced this bug once again, only this time it was specifically after upgrading
ember-sourcefrom 3.8.0 to 3.12.0. Myember-cliis 3.14.Maybe there is a similar fix to your previous solution @pswai ?
EDIT: Actually, it still breaks when moving
ember-sourcefrom 3.5 to 3.6. It's essentially the same issue I was having 2 years ago. Which is why our app is stuck at source code version 3.5 :/pswai commentedon Sep 9, 2021
@NateDawg90 Let me simulate an upgrade from 3.5 to 3.6 here. Instead of failing probably I should change it to retry with older paths. However it still feels weird to me since the module should have relocated in 3.6 🤔
If you don't mind can you share your upgrade steps with me?
pswai commentedon Sep 9, 2021
@NateDawg90 I did an upgrade from 3.4 to 3.6 and it was working fine, however since i dont have any project with that version it is fresh. Here's what I did:
ember g ember-cli-react.ember-cli-update --run-codemods(No change since the repo is fresh).ember-cli-update --to 3.6.npm isinceember-cli-updatedoes not install dependencies.ember sagain. In my case it still works.In your case, I have a feeling that
ember-source3.6 was loaded but somehow it is reporting version 3.5. Can you try loggingEmber.VERSIONin your app to check?