Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import-RedditOAuthToken not working from PS, but works in ISE #47

Open
hrabosky opened this issue Mar 19, 2018 · 0 comments
Open

Import-RedditOAuthToken not working from PS, but works in ISE #47

hrabosky opened this issue Mar 19, 2018 · 0 comments

Comments

@hrabosky
Copy link

`At C:\Program Files\WindowsPowerShell\Modules\PSRAW\2.0.0.0\Classes\003-RedditOAuthResponse.ps1:17 char:6

  • [Microsoft.PowerShell.Commands.WebResponseObject]$Response
    
  •  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    

Unable to find type [Microsoft.PowerShell.Commands.WebResponseObject].
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : TypeNotFound

At C:\Program Files\WindowsPowerShell\Modules\PSRAW\2.0.0.0\Classes\004-RedditOAuthToken.ps1:32 char:13

  • hidden [Microsoft.PowerShell.Commands.WebRequestSession]$Session  ...
    
  •         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    

Unable to find type [Microsoft.PowerShell.Commands.WebRequestSession].
At C:\Program Files\WindowsPowerShell\Modules\PSRAW\2.0.0.0\Classes\004-RedditOAuthToken.ps1:32 char:73

  • ... n]$Session = [Microsoft.PowerShell.Commands.WebRequestSession]::new()
  •               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    

Unable to find type [Microsoft.PowerShell.Commands.WebRequestSession].
At C:\Program Files\WindowsPowerShell\Modules\PSRAW\2.0.0.0\Classes\004-RedditOAuthToken.ps1:42 char:10

  •     [RedditOAuthResponse]$Response
    
  •      ~~~~~~~~~~~~~~~~~~~
    

Unable to find type [RedditOAuthResponse].
At C:\Program Files\WindowsPowerShell\Modules\PSRAW\2.0.0.0\Classes\004-RedditOAuthToken.ps1:96 char:22

  • [void] Refresh ([RedditOAuthResponse]$Response) {
    
  •                  ~~~~~~~~~~~~~~~~~~~
    

Unable to find type [RedditOAuthResponse].
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : TypeNotFound

At C:\Program Files\WindowsPowerShell\Modules\PSRAW\2.0.0.0\Classes\005-RedditApiResponse.ps1:15 char:6

  • [RedditOAuthToken]$AccessToken
    
  •  ~~~~~~~~~~~~~~~~
    

Unable to find type [RedditOAuthToken].
At C:\Program Files\WindowsPowerShell\Modules\PSRAW\2.0.0.0\Classes\005-RedditApiResponse.ps1:18 char:6

  • [Microsoft.PowerShell.Commands.WebResponseObject]$Response
    
  •  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    

Unable to find type [Microsoft.PowerShell.Commands.WebResponseObject].
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : TypeNotFound

At C:\Program Files\WindowsPowerShell\Modules\PSRAW\2.0.0.0\Classes\007-RedditThing.ps1:15 char:13

  • hidden [RedditOAuthToken]$AccessToken
    
  •         ~~~~~~~~~~~~~~~~
    

Unable to find type [RedditOAuthToken].
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : TypeNotFound

At C:\Program Files\WindowsPowerShell\Modules\PSRAW\2.0.0.0\Classes\009-RedditComment.ps1:54 char:13

  • hidden [RedditOAuthToken]$AccessToken
    
  •         ~~~~~~~~~~~~~~~~
    

Unable to find type [RedditOAuthToken].
At C:\Program Files\WindowsPowerShell\Modules\PSRAW\2.0.0.0\Classes\009-RedditComment.ps1:57 char:21

  • RedditComment ([RedditOAuthToken]$AccessToken, [PSCustomObject]$O ...
    
  •                 ~~~~~~~~~~~~~~~~
    

Unable to find type [RedditOAuthToken].
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : TypeNotFound`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant