create-next-app Not working due to folder permission
#53913
-
SummaryError OutputThe application path is not writable, please check folder permissions and try again.
It is likely you do not have write permissions for this folder.Related Next.js Sourcenext.js/packages/create-next-app/create-app.ts Lines 127 to 135 in 9229f74 next.js/packages/create-next-app/helpers/is-writeable.ts Lines 3 to 10 in 599cde8 Attempts
NoteIt worked fine until I factory reset this Macbook, assuming node related config issue. Additional information- Hardware: Macbook Air M1 2020
- Software: OS X Ventura 13.5
- Node: v18.17.0
- Package Manager: `Homebrew 4.1.4` & `pnpm 8.6.12`ExampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
This was caused by naming the project as next.js/packages/create-next-app/index.ts Lines 205 to 215 in 599cde8 with error EditThe dependency Edit2It was expected behavior, since |
Beta Was this translation helpful? Give feedback.
-
|
npx create-next-app created my project but pnmp command its throwing error of not have access of writable |
Beta Was this translation helpful? Give feedback.
-
|
Similarly |
Beta Was this translation helpful? Give feedback.
This was caused by naming the project as
@next/project-name, recommending to add this case onnext.js/packages/create-next-app/index.ts
Lines 205 to 215 in 599cde8
with error
name can only contain URL-friendly characters, which occurs when naming the project starting with@.Edit
The dependency
validate-npm-package-namewhich Next.js is using passes@…