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
TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function. Received an instance of Object at promisify (node:internal/util:423:3) \node_modules\@turbo\gen\node_modules\del\index.js:13:17) #10681
I verified that the issue exists in the latest Turborepo canary release.
Link to code that reproduces this issue
"@turbo/gen": "^2.5.4"
Which canary version will you have in your reproduction?
$ npm list turbo tms-api@1.0.0 C:\Users\ └── turbo@2.5.4
Environment information
Expected behavior
should not throw an error
Actual behavior
turbo 2.5.4
node:internal/errors:540
throw error;
^
turbo 2.5.4
node:internal/errors:540
throw error;
^
TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function. Received an instance of Object
at promisify (node:internal/util:423:3)
at Object. (\node_modules@turbo\gen\node_modules\del\index.js:13:17)
at Module._compile (node:internal/modules/cjs/loader:1562:14)
at Object..js (node:internal/modules/cjs/loader:1699:10)
at Module.load (node:internal/modules/cjs/loader:1313:32)
at Function._load (node:internal/modules/cjs/loader:1123:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
at Module.require (node:internal/modules/cjs/loader:1335:12)
at require (node:internal/modules/helpers:136:16) {
code: 'ERR_INVALID_ARG_TYPE'
}