ivopr / tamagui-expo

An Expo template with Tamagui
270 stars 22 forks source link

npm create tamagui throw err 'MODULE_NOT_FOUND' #47

Closed Usama-Akbar closed 1 year ago

Usama-Akbar commented 1 year ago

PS C:\Users\DELL. COM\Desktop\NewFramework> npm create tamagui node:internal/modules/cjs/loader:1051 throw err; ^

Error: Cannot find module 'C:\Users\DELL.' at Module._resolveFilename (node:internal/modules/cjs/loader:1048:15) at Module._load (node:internal/modules/cjs/loader:901:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }

Node.js v20.6.0 node:child_process:965 throw err; ^

Error: Command failed: node C:\Users\DELL. COM\AppData\Local\npm-cache_npx\cadfc13f3cbc65c6\node_modules\create-tamagui\dist\index.js at checkExecSyncError (node:child_process:890:11) at Object.execSync (node:child_process:962:15) at Object. (C:\Users\DELL. COM\AppData\Local\npm-cache_npx\cadfc13f3cbc65c6\node_modules\create-tamagui\run.js:6:26) at Module._compile (node:internal/modules/cjs/loader:1241:14) at Module._extensions..js (node:internal/modules/cjs/loader:1295:10) at Module.load (node:internal/modules/cjs/loader:1091:32) at Module._load (node:internal/modules/cjs/loader:938:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12) at node:internal/main/run_main_module:23:47 { status: 1, signal: null, output: [ null, null, null ], pid: 13884, stdout: null, stderr: null }

Node.js v20.6.0 npm ERR! code 1 npm ERR! path C:\Users\DELL. COM\Desktop\NewFramework npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c create-tamagui

npm ERR! A complete log of this run can be found in: C:\Users\DELL. COM\AppData\Local\npm-cache_logs\2023-09-05T08_14_40_060Z-debug-0.log

ivopr commented 1 year ago

do npm create work? I always thought It was npx create. Also, the command you're trying doesn't seem right, you might need to read the readme of this repo If you want to use this template, or the readme of tamagui/tamagui to get started with the oficial Tamagui template