Closed Ishaan28malik closed 4 years ago
@Ishaan28malik Helloπ It seems like succeeds.
yarn add front-matter --dev 557ms
yarn add v1.22.4
[1/4] π Resolving packages...
[2/4] π Fetching packages...
[3/4] π Linking dependencies...
[4/4] π¨ Building fresh packages...
success Saved lockfile.
success Saved 5 new dependencies.
info Direct dependencies
ββ front-matter@3.2.1
info All dependencies
ββ argparse@1.0.10
ββ esprima@4.0.1
ββ front-matter@3.2.1
ββ js-yaml@3.13.1
ββ sprintf-js@1.0.3
β¨ Done in 0.43s.
node -v
v12.16.2
yarn -v
1.22.4
Okay let me check it then, I tried with
yarn global add front-matter --dev
Does this work in your case?
Here you are.
yarn global add front-matter --dev
yarn global v1.22.4
[1/4] π Resolving packages...
[2/4] π Fetching packages...
[3/4] π Linking dependencies...
[4/4] π¨ Building fresh packages...
warning "front-matter@3.2.1" has no binaries
β¨ Done in 0.57s.
You might want to print your environment. like yarn and node version. And I don't know why you want global install.
Yeah, I want to use it for the whole project, and when I am installing it without global then ...
front-matter -v or -V
front-matter not found
The same is happening without global but at least the binaries are getting installed.
@Ishaan28malik Please paste these command's result:
node -v
yarn -v
No this is not what I meant ....
I tried yarn add front-matter --dev and it shows