Fixing the dependency warnings. #541
-
As I'm sure others have too, I've been noticing many dependency warnings within Phoenix, and I decided to give a go at fixing them. The first thing I decided to do was to update to yarn 2.0 (since apparently this would help). One example of a warning is:
So this I tried to fix with Unfortunately this fails:
with:
@9inpachi ... any idea? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
This is unrelated to the command you shared. It's happening after installing dependencies when It's related to jsroot not supporting TypeScript and exposing the public API by specifying modules in |
Beta Was this translation helpful? Give feedback.
-
If you check for
Cool. The types were not included in the |
Beta Was this translation helpful? Give feedback.
If you check for
jsroot
innode_modules
, you will see that the files are not actually the ones from my repo. Yarn isn't resolving the dependency correctly.Cool. The types were not included in the
7.2.1
version as I asked linev about it here. But they have been added in the minor release7.3.0
. We should be able to switch to the new version.