0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

nextのnpm run devで立ち上がらない

Posted at

ディレクトリが違った。
nextjs_hp/next_hpと同じ名前を二つ繋げてたのが良くなかった。
~ cd nextjs_hpと記入しても下層にディレクトリが移動していなかった。
~ lsで一覧を見て、コピペしたら移動して~ npm run devが効くようになった。

extjs_hp % npm run dev
npm ERR! code EJSONPARSE
npm ERR! path /Users/〜〜〜〜〜/nextjs_hp/package.json
npm ERR! JSON.parse Unexpected string in JSON at position ~~ while parsing '{
npm ERR! JSON.parse "dependencies": {
npm ERR! JSON.parse "tailwindcss":'
npm ERR! JSON.parse Failed to parse JSON data.
npm ERR! JSON.parse Note: package.json must be actual JSON, not just JavaScript.

npm ERR! A complete log of this run can be found in:

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?