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
An error occurred while running semantic-release: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at new NodeError (node:internal/errors:405:5)
at validateString (node:internal/validators:162:11)
at Module.join (node:path:1171:7)
at success (file:///node_modules/@semantic-release/[secure]/dist/success.js:6:26)
at validator (file:///node_modules/semantic-release/lib/plugins/normalize.js:36:30)
at file:///node_modules/semantic-release/lib/plugins/pipeline.js:38:42
at next (file:///node_modules/semantic-release/node_modules/p-reduce/index.js:16:10) {
code: 'ERR_INVALID_ARG_TYPE',
pluginName: '@semantic-release/[secure]'
}
AggregateError:
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at success (file:///node_modules/@semantic-release/[secure]/dist/success.js:6:26)
at validator (file:///node_modules/semantic-release/lib/plugins/normalize.js:36:30)
at file:///node_modules/semantic-release/lib/plugins/pipeline.js:38:42
at next (file:///node_modules/semantic-release/node_modules/p-reduce/index.js:16:10)
at file:///node_modules/semantic-release/lib/plugins/pipeline.js:55:13
at async pluginsConfigAccumulator.<computed> [as success] (file:///node_modules/semantic-release/lib/plugins/index.js:87:11)
at async run (file:///node_modules/semantic-release/index.js:215:3)
at async Module.default (file:///node_modules/semantic-release/index.js:275:22)
at async default (file:///node_modules/semantic-release/cli.js:55:5) {
errors: [
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at new NodeError (node:internal/errors:405:5)
at validateString (node:internal/validators:162:11)
at Module.join (node:path:1171:7)
at success (file:///node_modules/@semantic-release/[secure]/dist/success.js:6:26)
at validator (file:///node_modules/semantic-release/lib/plugins/normalize.js:36:30)
at file:///node_modules/semantic-release/lib/plugins/pipeline.js:38:42
at next (file:///node_modules/semantic-release/node_modules/p-reduce/index.js:16:10) {
code: 'ERR_INVALID_ARG_TYPE',
pluginName: '@semantic-release/[secure]'
}
]
}
So, it appears that even though there is a default value for releasePath you can't actually get this to build successfully without having it explicitly set.
Current behavior
I'm getting the following results.
Expected behavior
The release package is completed successfully.
semantic-release
version"semantic-release": "^22.0.8", "@semantic-release/wordpress": "^1.5.4"
CI environment
Buildkite/Local
Plugins used
No response
semantic-release
configurationCI logs
The text was updated successfully, but these errors were encountered: