Skip to content

Lesson 5: package-lock.json and yarn.lock are not created automatically #5285

Answered by yeskaydee
yeskaydee asked this question in Q&A
Discussion options

You must be logged in to vote

issue solved:- try using the npm list

as you can see in my case these two files are present at the /Users/santosh directory
go to the directory and remove the node modules and below mentioned

and voila now if you run yarn add sold , it works

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@yeskaydee
Comment options

@yeskaydee
Comment options

@yeskaydee
Comment options

@yeskaydee
Comment options

Answer selected by yeskaydee
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants