CLI tool to initialize a React Native application with Expo. Provides options to include Typescript, file-based routing via Expo Router, configuration based routing via pure React Navigation, styling via Nativewind, Restyle, Unistyles, StyleSheets, or Tamagui, and/or backend as a service such as Firebase and Supabase.
Hi, I've just tried running npx create-expo-stack but I am getting an error that the @clack/prompts module cannot be found.
Expected Behavior
CLI should run
Current Behavior
Error that @clack/prompts module cannot be found, full error log here:
❯ npx create-expo-stack
Need to install the following packages:
create-expo-stack@2.5.1
Ok to proceed? (y) y
/Users/gethin/.npm/_npx/b7475f0f52fd459b/node_modules/gluegun/build/index.js:15
throw up;
^
Error: Cannot find module '@clack/prompts'
Require stack:
- /Users/gethin/.npm/_npx/b7475f0f52fd459b/node_modules/create-expo-stack/build/utilities/printOutput.js
- /Users/gethin/.npm/_npx/b7475f0f52fd459b/node_modules/create-expo-stack/build/utilities/index.js
- /Users/gethin/.npm/_npx/b7475f0f52fd459b/node_modules/create-expo-stack/build/commands/create-expo-stack.js
- /Users/gethin/.npm/_npx/b7475f0f52fd459b/node_modules/gluegun/build/loaders/module-loader.js
- /Users/gethin/.npm/_npx/b7475f0f52fd459b/node_modules/gluegun/build/loaders/command-loader.js
- /Users/gethin/.npm/_npx/b7475f0f52fd459b/node_modules/gluegun/build/runtime/runtime.js
- /Users/gethin/.npm/_npx/b7475f0f52fd459b/node_modules/gluegun/build/domain/builder.js
- /Users/gethin/.npm/_npx/b7475f0f52fd459b/node_modules/gluegun/build/index.js
- /Users/gethin/.npm/_npx/b7475f0f52fd459b/node_modules/create-expo-stack/build/cli.js
- /Users/gethin/.npm/_npx/b7475f0f52fd459b/node_modules/create-expo-stack/bin/create-expo-stack.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
at Module._load (node:internal/modules/cjs/loader:984:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (/Users/gethin/.npm/_npx/b7475f0f52fd459b/node_modules/create-expo-stack/build/utilities/printOutput.js:42:17)
at Module._compile (node:internal/modules/cjs/loader:1369:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
at Module.load (node:internal/modules/cjs/loader:1206:32)
at Module._load (node:internal/modules/cjs/loader:1022:12)
at Module.require (node:internal/modules/cjs/loader:1231:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/gethin/.npm/_npx/b7475f0f52fd459b/node_modules/create-expo-stack/build/utilities/printOutput.js',
'/Users/gethin/.npm/_npx/b7475f0f52fd459b/node_modules/create-expo-stack/build/utilities/index.js',
'/Users/gethin/.npm/_npx/b7475f0f52fd459b/node_modules/create-expo-stack/build/commands/create-expo-stack.js',
'/Users/gethin/.npm/_npx/b7475f0f52fd459b/node_modules/gluegun/build/loaders/module-loader.js',
'/Users/gethin/.npm/_npx/b7475f0f52fd459b/node_modules/gluegun/build/loaders/command-loader.js',
'/Users/gethin/.npm/_npx/b7475f0f52fd459b/node_modules/gluegun/build/runtime/runtime.js',
'/Users/gethin/.npm/_npx/b7475f0f52fd459b/node_modules/gluegun/build/domain/builder.js',
'/Users/gethin/.npm/_npx/b7475f0f52fd459b/node_modules/gluegun/build/index.js',
'/Users/gethin/.npm/_npx/b7475f0f52fd459b/node_modules/create-expo-stack/build/cli.js',
'/Users/gethin/.npm/_npx/b7475f0f52fd459b/node_modules/create-expo-stack/bin/create-expo-stack.js'
]
}
Steps to Reproduce
Run npx create-expo-stack
Context (Environment)
macOS Sonoma 14.3.1
Node v20.12.0
NPM v10.5.0
I have tried clearing my node cache, and installing @clack/prompts globally.
Installing create-expo-stack with npm i -g create-expo-stack and running it directly works.
Hi, I've just tried running
npx create-expo-stack
but I am getting an error that the@clack/prompts
module cannot be found.Expected Behavior
CLI should run
Current Behavior
Error that
@clack/prompts
module cannot be found, full error log here:Steps to Reproduce
Run
npx create-expo-stack
Context (Environment)
macOS Sonoma 14.3.1 Node v20.12.0 NPM v10.5.0
I have tried clearing my node cache, and installing @clack/prompts globally. Installing create-expo-stack with
npm i -g create-expo-stack
and running it directly works.