bit-angular icon indicating copy to clipboard operation
bit-angular copied to clipboard

DataToPersists expects component to be relative but found absolute

Open staizen-jose-macalla opened this issue 3 years ago • 7 comments

Environment:

  • Ubuntu 22.04
  • Bit version 0.0.833 (latest)

Tried on several angular versions:

bit status result: image

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

image

staizen-jose-macalla avatar Sep 01 '22 07:09 staizen-jose-macalla

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

AntGrisha avatar Sep 01 '22 09:09 AntGrisha

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

ocombe avatar Sep 01 '22 09:09 ocombe

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

v4ssi404 avatar Sep 01 '22 10:09 v4ssi404

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

ocombe avatar Sep 01 '22 13:09 ocombe

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

v4ssi404 avatar Sep 01 '22 13:09 v4ssi404

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 avatar Sep 02 '22 01:09 staizen-jose-macalla

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

staizen-jose-macalla avatar Sep 02 '22 01:09 staizen-jose-macalla