Replies: 1 comment 1 reply
-
If you haven't initialized your project, try running |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Create an empty folder.
Run
pnpm add express
, but nothing happens.I expected a
package.json
file to be created, the dependency to be added, and the package installed.Okay, so you create the
package.json
file manually. Now, installing a package should work for sure, right? Wrong!You get an error:
Unexpected end of JSON input while parsing empty string in ...\package.json
.Now, you need to add
{}
to thepackage.json
for it to work.This is frustrating.
Beta Was this translation helpful? Give feedback.
All reactions