-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
$ npx create-webnami-blog [[ BLOG ]]
Creating new blog project...
node:fs:1701
const stats = binding.lstat(
^
Error: ENOENT: no such file or directory, lstat '/Users/[[ USER ]]/.npm/_npx/65612003b4daa79c/node_modules/create-webnami-blog/.gitignore.template'
at Object.lstatSync (node:fs:1701:25)
at Object.lstatSync (/Users/[[ USER ]]/.npm/_npx/65612003b4daa79c/node_modules/graceful-fs/polyfills.js:318:34)
at statFunc (/Users/[[ USER ]]/.npm/_npx/65612003b4daa79c/node_modules/fs-extra/lib/util/stat.js:24:20)
at getStatsSync (/Users/[[ USER ]]/.npm/_npx/65612003b4daa79c/node_modules/fs-extra/lib/util/stat.js:25:19)
at Object.checkPathsSync (/Users/[[ USER ]]/.npm/_npx/65612003b4daa79c/node_modules/fs-extra/lib/util/stat.js:64:33)
at Object.copySync (/Users/[[ USER ]]/.npm/_npx/65612003b4daa79c/node_modules/fs-extra/lib/copy/copy-sync.js:27:38)
at file:///Users/[[ USER ]]/.npm/_npx/65612003b4daa79c/node_modules/create-webnami-blog/bin/cli.js:45:4
at ModuleJob.run (node:internal/modules/esm/module_job:371:25)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:669:26)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5) {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/[[ USER ]]/.npm/_npx/65612003b4daa79c/node_modules/create-webnami-blog/.gitignore.template'
}
Node.js v24.6.0
Copying the template file found in this repo to that path fixes the problem
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels