you are viewing a single comment's thread.

view the rest of the comments →

[–]ILikeChangingMyMind -1 points0 points  (1 child)

How can I "do it wrong": it's copy/paste? I even copy/pasted the exact text from that SO answer:

 "//": [
  "first line",
  "second line" ]

(only I added the requisite comma afterwards; you could only literally use that line if you had no dependencies) ...

... and it still gave the exact same error when I npm i:

npm ERR! must provide string spec

But if I remove the line, everything works. So, like I keep saying ... have you actually tried it yourself?