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 tried to generate a new project for @testing-library, but there are some fs errors. I think it's failing to copy files to the current directory before moving them, but I'm not sure why. Could there have been breaking changes in Yeoman since?
~ → mkdir example
~ → cd example
~/example → npx -p yo -p generator-kcd-oss -c 'yo kcd-oss'
? What do you want to name your module? example
? Should people install this as one of their devDependencies? Yes
? What's the project description?
node:events:491
throw er; // Unhandled 'error' event
^
Error: ENOENT: no such file or directory, scandir '/Users/nick/example/gitattributes'
at Object.readdirSync (node:fs:1450:3)
at exports.readdir (/usr/local/lib/node_modules/generator-kcd-oss/node_modules/@mrmlnc/readdir-enhanced/lib/sync/fs.js:18:20)
at Object.safeCall [as safe] (/usr/local/lib/node_modules/generator-kcd-oss/node_modules/@mrmlnc/readdir-enhanced/lib/call.js:24:8)
at DirectoryReader.readNextDirectory (/usr/local/lib/node_modules/generator-kcd-oss/node_modules/@mrmlnc/readdir-enhanced/lib/directory-reader.js:78:10)
at DirectoryReader.stream._read (/usr/local/lib/node_modules/generator-kcd-oss/node_modules/@mrmlnc/readdir-enhanced/lib/directory-reader.js:57:18)
at Readable.read (node:internal/streams/readable:496:12)
at readdirSync (/usr/local/lib/node_modules/generator-kcd-oss/node_modules/@mrmlnc/readdir-enhanced/lib/sync/index.js:27:21)
at Function.readdirSyncStat (/usr/local/lib/node_modules/generator-kcd-oss/node_modules/@mrmlnc/readdir-enhanced/lib/index.js:34:10)
at ReaderSync.dynamicApi (/usr/local/lib/node_modules/generator-kcd-oss/node_modules/fast-glob/out/providers/reader-sync.js:64:24)
at ReaderSync.api (/usr/local/lib/node_modules/generator-kcd-oss/node_modules/fast-glob/out/providers/reader-sync.js:56:25)
Emitted 'error' event on Readable instance at:
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -2,
syscall: 'scandir',
code: 'ENOENT',
path: '/Users/nick/example/gitattributes'
}
Node.js v18.7.0
~/example → yo doctor
Yeoman Doctor
Running sanity checks on your system
✔ No .bowerrc file in home directory
✔ Global configuration file is valid
✔ NODE_PATH matches the npm root
✔ No .yo-rc.json file in home directory
✔ Node.js version
✔ npm version
✔ yo version
Everything looks all right!
The text was updated successfully, but these errors were encountered:
I tried to generate a new project for @testing-library, but there are some fs errors. I think it's failing to copy files to the current directory before moving them, but I'm not sure why. Could there have been breaking changes in Yeoman since?
The text was updated successfully, but these errors were encountered: