Next.js: Cannot install via npm

Created on 3 Nov 2016  路  4Comments  路  Source: vercel/next.js

Is this because of node v7.0.0?
image

Most helpful comment

Very naive question but has this got anything to do with the fact that your directory/project itself might be called next too?

All 4 comments

Very naive question but has this got anything to do with the fact that your directory/project itself might be called next too?

It's just a folder I created to try Next.js. I doubt it.

@Stas-Buzunko I guess it occurred because the name field of the package.json is next.

Yeah it's the project name in your package.json

馃悰 reproduce error:

mkdir next && cd $_ && npm init --yes && npm install next

see error output.

馃寛 happy path

mkdir next_demo && cd $_ && npm init --yes && npm install next

next installs \o/

Was this page helpful?
0 / 5 - 0 ratings