Title: Module manifest could not be processed · Issue #12599 · PowerShell/PowerShell · GitHub
Open Graph Title: Module manifest could not be processed · Issue #12599 · PowerShell/PowerShell
X Title: Module manifest could not be processed · Issue #12599 · PowerShell/PowerShell
Description: Steps to reproduce Module files.zip Running Test-ModuleManifest -Path "ATTACHED psd1 FILE" PS C:\Users\nrtat> Test-ModuleManifest -Path .\Documents\WindowsPowerShell\Modules\Tatux.Utils\Tatux.Utils.psd1 This issue presented itself while ...
Open Graph Description: Steps to reproduce Module files.zip Running Test-ModuleManifest -Path "ATTACHED psd1 FILE" PS C:\Users\nrtat> Test-ModuleManifest -Path .\Documents\WindowsPowerShell\Modules\Tatux.Utils\Tatux.Utils...
X Description: Steps to reproduce Module files.zip Running Test-ModuleManifest -Path "ATTACHED psd1 FILE" PS C:\Users\nrtat> Test-ModuleManifest -Path .\Documents\WindowsPowerShell\Modules\Tatux.Util...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/12599
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Module manifest could not be processed","articleBody":"\u003c!--\r\n\r\nFor Windows PowerShell 5.1 issues, suggestions, or feature requests please use the following link instead:\r\nWindows PowerShell [UserVoice](https://windowsserver.uservoice.com/forums/301869-powershell)\r\n\r\nThis repository is **ONLY** for PowerShell Core 6 and PowerShell 7+ issues.\r\n\r\n- Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\r\n- Search the existing issues.\r\n- Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- Refer to the [known issues](https://docs.microsoft.com/powershell/scripting/whats-new/known-issues-ps6?view=powershell-6).\r\n\r\n-->\r\n\r\n# Steps to reproduce\r\n[Module files.zip](https://github.com/PowerShell/PowerShell/files/4593515/Module.files.zip)\r\n\r\n```powershell\r\nRunning Test-ModuleManifest -Path \"ATTACHED psd1 FILE\"\r\n\r\nPS C:\\Users\\nrtat> Test-ModuleManifest -Path .\\Documents\\WindowsPowerShell\\Modules\\Tatux.Utils\\Tatux.Utils.psd1\r\n\r\nThis issue presented itself while trying to use Publish-Module\r\nI then tested the command in both versions of PS\r\n\r\n```\r\n\r\n# Expected behavior\r\n\r\n```none\r\nManifest file is validated.\r\n\r\nThe command above works in Powershell Verstion 5.1\r\n\r\n```\r\n\r\n# Actual behavior\r\n\r\n```powershell\r\nTest-ModuleManifest: The module manifest 'Tatux.Utils' could not be processed because it is not a valid PowerShell module manifest file. Remove the elements that are not permitted: C:\\Users\\nrtat\\Documents\\WindowsPowerShell\\Modules\\Tatux.Utils\\Tatux.Utils.psd1\r\n```\r\n\r\n# Environment data\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\nName Value\r\n---- -----\r\nPSVersion 7.0.0\r\nPSEdition Core\r\nGitCommitId 7.0.0\r\nOS Microsoft Windows 10.0.18363\r\nPlatform Win32NT\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n\r\n```none\r\n\r\n```\r\n","author":{"url":"https://github.com/ntatschner","@type":"Person","name":"ntatschner"},"datePublished":"2020-05-07T14:32:23Z","url":"https://github.com/PowerShell/PowerShell/issues/12599"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:cbcba874-d6d6-fc4c-f467-9f4468a49219 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 864A:7212A:1D3BD0:286DE0:6AFD8F41 |
| html-safe-nonce | ba8bb740198a79196f5cc4e676c2912ec57ce5954a0dd0b28b2938792d97b33b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjRBOjcyMTJBOjFEM0JEMDoyODZERTA6NkFGRDhGNDEiLCJ2aXNpdG9yX2lkIjoiMzA1MjU2NjM0MjkxODgzNjAzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | faf39c08f69057d151ffd8388fe7a17ac92a06f0fde1d6bfaaff669f0eef5d6f |
| hovercard-subject-tag | issue:614105380 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/12599/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b1b3184c8280fdf8509d60552b485eabae164da2d1863568aebff243ea1da67e/PowerShell/PowerShell/issues/12599 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b1b3184c8280fdf8509d60552b485eabae164da2d1863568aebff243ea1da67e/PowerShell/PowerShell/issues/12599 |
| og:image:alt | Steps to reproduce Module files.zip Running Test-ModuleManifest -Path "ATTACHED psd1 FILE" PS C:\Users\nrtat> Test-ModuleManifest -Path .\Documents\WindowsPowerShell\Modules\Tatux.Utils\Tatux.Utils... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ntatschner |
| hostname | github.com |
| expected-hostname | github.com |
| None | bc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width