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
I try creating a new next-app (same things happens when I use yarn create react-app) yarn create next-app box3-creator --ts
and I meet a problem error An unexpected error occurred: "Cannot create property '' on string ''".
This is error log
Arguments:
D:\Program Files\nodejs\node.exe C:\Users\shycj\.node\corepack\yarn\1.22.15\bin\yarn.js add --exact --cwd D:\Projects\box3-creator react react-dom next
PATH:
C:\Users\shycj\AppData\Local\Temp\yarn--1648477642726-0.8772115353785859;C:\Users\shycj\AppData\Local\Yarn\Data\global\node_modules\.bin;C:\Users\shycj\AppData\Local\Yarn\Data\link\node_modules\.bin;D:\Program Files\libexec\lib\node_modules\npm\bin\node-gyp-bin;D:\Program Files\lib\node_modules\npm\bin\node-gyp-bin;D:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Python310\Scripts\;C:\Python310\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;D:\Program Files\Microsoft VS Code\bin;D:\Program Files\Git\cmd;D:\Program Files\Bandizip\Bandizip;D:\Program Files\nodejs\;C:\ProgramData\chocolatey\bin;C:\Users\shycj\AppData\Local\Microsoft\WindowsApps;C:\Users\shycj\AppData\Roaming\npm;C:\Users\shycj\AppData\Local\Yarn\bin;C:\Users\shycj\.dotnet\tools
Yarn version:
1.22.15
Node version:
16.14.0
Platform:
win32 x64
Trace:
TypeError: Cannot create property '' on string ''
at set (C:\Users\shycj\.node\corepack\yarn\1.22.15\lib\cli.js:53945:28)
at set (C:\Users\shycj\.node\corepack\yarn\1.22.15\lib\cli.js:53959:14)
at set (C:\Users\shycj\.node\corepack\yarn\1.22.15\lib\cli.js:53959:14)
at set (C:\Users\shycj\.node\corepack\yarn\1.22.15\lib\cli.js:53959:14)
at set (C:\Users\shycj\.node\corepack\yarn\1.22.15\lib\cli.js:53939:16)
at Function.objectPath.set (C:\Users\shycj\.node\corepack\yarn\1.22.15\lib\cli.js:53992:14)
at NpmRegistry.mergeEnv (C:\Users\shycj\.node\corepack\yarn\1.22.15\lib\cli.js:92155:18)
at NpmRegistry.<anonymous> (C:\Users\shycj\.node\corepack\yarn\1.22.15\lib\cli.js:31942:12)
at Generator.next (<anonymous>)
at step (C:\Users\shycj\.node\corepack\yarn\1.22.15\lib\cli.js:310:30)
npm manifest:
{
"name": "box3-creator",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
}
}
yarn manifest:
No manifest
Lockfile:
No lockfile
Other things: npx create-next-app works
I cleaned cache
The text was updated successfully, but these errors were encountered:
I try creating a new next-app (same things happens when I use
yarn create react-app
)yarn create next-app box3-creator --ts
and I meet a problem
error An unexpected error occurred: "Cannot create property '' on string ''".
This is error log
Other things:
npx create-next-app
worksI cleaned cache
The text was updated successfully, but these errors were encountered: