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
Even more peculiar is that you set npm as the default package manager for NativeScript but then continue to execute yarn... ns package-manager set npm && yarn 🤔
$ npm run setup
> [email protected] setup
> npx rimraf node_modules package-lock.json dist tmp yarn.lock && yarn config set ignore-engines true && ns package-manager set npm && yarn
Need to install the following packages:
[email protected]
Ok to proceed? (y)
/var/folders/vh/k87yg0js1738942xms9k8cl80000gp/T/setup-628f8c3a.sh: line 1: yarn: command not found
The text was updated successfully, but these errors were encountered:
Hi @insytes its due to the inner package in the demo apps which link the packages that works best with npm (thus “ns package-manager” setting) however the root dependencies we often use yarn in workspace setting (some more advanced benefits like dependency hoisting when needed that way).
However we could remove yarn in the base setup - may push that change this week as I agree probably unnecessary for general needs.
Your setup script assumes yarn to be installed.
Even more peculiar is that you set npm as the default package manager for NativeScript but then continue to execute yarn...
ns package-manager set npm && yarn
🤔The text was updated successfully, but these errors were encountered: