teambit / bit-angular

Angular support for bit harmony
28 stars 3 forks source link

DataToPersists expects component to be relative but found absolute #50

Open staizen-jose-macalla opened 2 years ago

staizen-jose-macalla commented 2 years ago

Environment:

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

AntGrisha commented 2 years ago

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

ocombe commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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

v4ssi404 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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

angular version:

image