Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataToPersists expects component to be relative but found absolute #50

Open
staizen-jose-macalla opened this issue Sep 1, 2022 · 7 comments

Comments

@staizen-jose-macalla
Copy link

Environment:

  • Ubuntu 22.04
  • Bit version 0.0.833 (latest)

Tried on several angular versions:

  • angular@1.2.5
  • angular@1.2.1

bit status result:
image

when i do bit tag i get this error which blocks tagging of the modules:

image

@AntGrisha
Copy link

Same issue here!
bit tag works fine on previous versions of bit though...

@ocombe
Copy link
Member

ocombe commented Sep 1, 2022

Hello, can you try v1.2.8 ? (don't forget to remove the current capsule before you reinstall, with bit capsule delete --scope-aspects)

@v4ssi404
Copy link

v4ssi404 commented Sep 1, 2022

Hello, can you try v1.2.8 ? (don't forget to remove the current capsule before you reinstall, with bit capsule delete --scope-aspects)

Bit version 0.0.833 (latest)
I have the same problem with bit angular v1.1.10, i tried v1.2.8.
I tried to removing capsule with your command and also with bit capsule delete --all but now i get this on any command i try.

Cannot find module './internal/_complement'
Require stack:
- /home/pixel/.bvm/versions/0.0.833/bit-0.0.833/node_modules/@teambit/legacy/node_modules/ramda/src/reject.js
- /home/pixel/.bvm/versions/0.0.833/bit-0.0.833/node_modules/@teambit/legacy/dist/scope/scope.js
- /home/pixel/.bvm/versions/0.0.833/bit-0.0.833/node_modules/@teambit/legacy/dist/scope/scope-loader.js
- /home/pixel/.bvm/versions/0.0.833/bit-0.0.833/node_modules/@teambit/scope/dist/scope.main.runtime.js
- /home/pixel/.bvm/versions/0.0.833/bit-0.0.833/node_modules/@teambit/bit/dist/load-bit.js
- /home/pixel/.bvm/versions/0.0.833/bit-0.0.833/node_modules/@teambit/bit/dist/app.js
- /home/pixel/.bvm/versions/0.0.833/bit-0.0.833/node_modules/@teambit/bit/bin/bit

@ocombe
Copy link
Member

ocombe commented Sep 1, 2022

I assume that you ran bit install after deleting the capsule @sviluppo ?

@v4ssi404
Copy link

v4ssi404 commented Sep 1, 2022

I assume that you ran bit install after deleting the capsule @sviluppo ?

Yes pretty sure.

I downgraded to 0.0.825 and upgraded again to the latest version.
I am not able anymore to launch bit capsule delete --scope-aspects or any bit command because i get Cannot find module './internal/_complement'...etc

If i downgrade (tried 0.0.825 and 0.0.832) i get the error reported from @staizen-jose-macalla

@staizen-jose-macalla
Copy link
Author

staizen-jose-macalla commented Sep 2, 2022

After doing the bit capsule delete --scope-aspects then bit install
i am now getting this error when i do bit compile

versions:
v1.2.1
v1.2.5
v1.2.8

image

@ocombe

@staizen-jose-macalla
Copy link
Author

when i also tried to downgrade to bit 0.0.814 it is giving me this error when i do bit install

angular version:

  • v1.2.1
  • v1.2.5
  • v1.2.8

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants