You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"To switch to the modern version, open your package.json and add this line to the end of the JSON object. Don't forget to add a comma to the end of the previous line 😉"
However, as of NPM 11 / npm/init-package-json#313 (it seems), type is already defined. Here's the default contents of package.json after running npm init -y in 11.0.0:
Hello, me again. ;) This time, I'm going through your nice https://docs.apify.com/academy/web-scraping-for-beginners/ course.
At the Setting up your project step, it contains the following directive:
However, as of NPM 11 / npm/init-package-json#313 (it seems),
type
is already defined. Here's the default contents ofpackage.json
after runningnpm init -y
in 11.0.0:If you follow the steps as directed, Visual Studio Code will get mad at you because there are duplicate keys:
The text was updated successfully, but these errors were encountered: