It should tag a version
I might have done something wrong because it is the first time that I am using bit but I have the following error when I do bit tag --all or other bit methods:
TypeError: item.startsWith is not a function
at /Users/samuel/.nvm/versions/node/v9.8.0/lib/node_modules/bit-bin/node_modules/bit-javascript/dist/dependency-builder/build-tree.js:238:14
at XWrap.f (/Users/samuel/.nvm/versions/node/v9.8.0/lib/node_modules/bit-bin/node_modules/bit-javascript/node_modules/ramda/dist/ramda.js:6290:23)
at XWrap.@@transducer/step (/Users/samuel/.nvm/versions/node/v9.8.0/lib/node_modules/bit-bin/node_modules/bit-javascript/node_modules/ramda/dist/ramda.js:392:25)
at _arrayReduce (/Users/samuel/.nvm/versions/node/v9.8.0/lib/node_modules/bit-bin/node_modules/bit-javascript/node_modules/ramda/dist/ramda.js:5203:46)
at _reduce (/Users/samuel/.nvm/versions/node/v9.8.0/lib/node_modules/bit-bin/node_modules/bit-javascript/node_modules/ramda/dist/ramda.js:5233:24)
at reduceBy (/Users/samuel/.nvm/versions/node/v9.8.0/lib/node_modules/bit-bin/node_modules/bit-javascript/node_modules/ramda/dist/ramda.js:6289:16)
at /Users/samuel/.nvm/versions/node/v9.8.0/lib/node_modules/bit-bin/node_modules/bit-javascript/node_modules/ramda/dist/ramda.js:586:23
at /Users/samuel/.nvm/versions/node/v9.8.0/lib/node_modules/bit-bin/node_modules/bit-javascript/node_modules/ramda/dist/ramda.js:551:35
at /Users/samuel/.nvm/versions/node/v9.8.0/lib/node_modules/bit-bin/node_modules/bit-javascript/node_modules/ramda/dist/ramda.js:52:27
at /Users/samuel/.nvm/versions/node/v9.8.0/lib/node_modules/bit-bin/node_modules/bit-javascript/node_modules/ramda/dist/ramda.js:429:80
It does the same error with other node versions.
I could start tracking .vue component with bit add src/components/folder/*.vue They have been added to the bit.json but then anything else I do generates this error.
Hi @idealley .
Vue files are supported by bit, so i want to try and debug your issue locally.
can you please share the project with me privately so i can try to recreate this issue?
Hello, thank you!
Actually there is nothing secret. I just pushed it (with the bit config files) https://github.com/EuropeanRespiratorySociety/search
thanks @idealley .
i was able the reproduce the issue. will check to see the root cause and fix it :)
Cool, that's nice when we can reproduce ;)
@idealley This issue has been resolved as part of https://github.com/teambit/bit/pull/857
it will be part of the next bit version
@idealley This should be ok now with the new 0.12.10 release.
Most helpful comment
@idealley This issue has been resolved as part of https://github.com/teambit/bit/pull/857
it will be part of the next bit version