Open
Description
ENV: Ubuntu 24.04.2 LTS
Release: 24.04
02:38:58 staran@nof-staran ai-test → npx create-browser-app
✔ Enter a name for your project test
✔ Would you like to start with a quickstart example? Yes
✔ Select AI model (API key required) OpenAI GPT-4o
✔ Are you using Cursor or Windsurf? None
✔ Run locally or on Browserbase (60 minutes free)? Local
✔ Run browser in headless mode (hide Chromium popup)? No
Creating new browser app...
Copying template from local scaffold directory: /home/staran/.nvm/versions/node/v20.10.0/lib/node_modules/create-browser-app/scaffold
Error creating project: Error: ENOENT: no such file or directory, lstat '/home/staran/.nvm/versions/node/v20.10.0/lib/node_modules/create-browser-app/scaffold'
at Object.lstatSync (node:fs:1660:3)
at Object.lstatSync (/home/staran/.nvm/versions/node/v20.10.0/lib/node_modules/create-browser-app/node_modules/graceful-fs/polyfills.js:318:34)
at statFunc (/home/staran/.nvm/versions/node/v20.10.0/lib/node_modules/create-browser-app/node_modules/fs-extra/lib/util/stat.js:24:20)
at getStatsSync (/home/staran/.nvm/versions/node/v20.10.0/lib/node_modules/create-browser-app/node_modules/fs-extra/lib/util/stat.js:25:19)
at Object.checkPathsSync (/home/staran/.nvm/versions/node/v20.10.0/lib/node_modules/create-browser-app/node_modules/fs-extra/lib/util/stat.js:64:33)
at Object.copySync (/home/staran/.nvm/versions/node/v20.10.0/lib/node_modules/create-browser-app/node_modules/fs-extra/lib/copy/copy-sync.js:27:38)
at cloneExample (file:///home/staran/.nvm/versions/node/v20.10.0/lib/node_modules/create-browser-app/dist/cli.js:202:8)
at Command.<anonymous> (file:///home/staran/.nvm/versions/node/v20.10.0/lib/node_modules/create-browser-app/dist/cli.js:506:11) {
errno: -2,
syscall: 'lstat',
code: 'ENOENT',
path: '/home/staran/.nvm/versions/node/v20.10.0/lib/node_modules/create-browser-app/scaffold'
}
By exploring it I realised the issue might be wrong path since I was able to find scaffold but in different place
02:44:05 staran@nof-staran create-browser-app → ls -la
total 20
drwxrwxr-x 3 staran staran 4096 бер 16 14:36 .
drwxrwxr-x 64 staran staran 4096 бер 16 14:36 ..
drwxrwxr-x 3 staran staran 4096 бер 16 14:36 dist
-rw-rw-r-- 1 staran staran 1347 бер 16 14:36 package.json
-rw-rw-r-- 1 staran staran 723 бер 16 14:36 README.md
02:44:07 staran@nof-staran create-browser-app → cd dist/
/home/staran/.npm/_npx/733603f3cc749cb8/node_modules/create-browser-app/dist
02:44:12 staran@nof-staran dist → ls -la
total 36
drwxrwxr-x 3 staran staran 4096 бер 16 14:36 .
drwxrwxr-x 3 staran staran 4096 бер 16 14:36 ..
-rw-rw-r-- 1 staran staran 20 бер 16 14:36 cli.d.ts
-rwxrwxr-x 1 staran staran 18338 бер 16 14:36 cli.js
drwxrwxr-x 3 staran staran 4096 бер 16 14:36 scaffold-js
02:44:17 staran@nof-staran dist → cd scaffold-js/
/home/staran/.npm/_npx/733603f3cc749cb8/node_modules/create-browser-app/dist/scaffold-js
02:44:31 staran@nof-staran scaffold-js → ls -la
total 24
drwxrwxr-x 3 staran staran 4096 бер 16 14:36 .
drwxrwxr-x 3 staran staran 4096 бер 16 14:36 ..
-rw-rw-r-- 1 staran staran 4435 бер 16 14:36 .cursorrules
-rw-rw-r-- 1 staran staran 206 бер 16 14:36 .env.example
drwxrwxr-x 3 staran staran 4096 бер 16 14:36 scaffold
02:44:34 staran@nof-staran scaffold-js → cd scaffold/
/home/staran/.npm/_npx/733603f3cc749cb8/node_modules/create-browser-app/dist/scaffold-js/scaffold
02:44:50 staran@nof-staran scaffold → ls -la
total 52
drwxrwxr-x 3 staran staran 4096 бер 16 14:36 .
drwxrwxr-x 3 staran staran 4096 бер 16 14:36 ..
-rw-rw-r-- 1 staran staran 1253 бер 16 14:36 config.json
-rw-rw-r-- 1 staran staran 4435 бер 16 14:36 .cursorrules
-rw-rw-r-- 1 staran staran 206 бер 16 14:36 .env.example
drwxrwxr-x 3 staran staran 4096 бер 16 14:36 examples
-rw-rw-r-- 1 staran staran 470 бер 16 14:36 package.json
-rw-rw-r-- 1 staran staran 1402 бер 16 14:36 README.md
-rw-rw-r-- 1 staran staran 2735 бер 16 14:36 stagehand.config.ts
-rw-rw-r-- 1 staran staran 432 бер 16 14:36 tsconfig.json
-rw-rw-r-- 1 staran staran 5210 бер 16 14:36 utils.ts
02:44:57 staran@nof-staran scaffold →
Metadata
Metadata
Assignees
Labels
No labels