[COMMUNITY] Issue importing Carbon on x64 machine running x86 instance of PowerShell

Create issue
Issue #199 resolved
Christopher Campbell created an issue

I didn't see any documentation updates mention deprecated x86 support, so I assume this should still work.

PS C:\spsinstalls\shared\Carbon-2.1.0\Carbon> .\Import-Carbon.ps1
At C:\spsinstalls\shared\Carbon-2.1.0\Carbon\Functions\Initialize-Lcm.ps1:266 char:9
+         configuration Lcm
+         ~~~~~~~~~~~~~
Configuration is not supported in a Windows PowerShell x86-based console. Open a Windows PowerShell x64-based console,
and then try again.
At C:\spsinstalls\shared\Carbon-2.1.0\Carbon\Functions\Initialize-Lcm.ps1:263 char:5
+     {
+     ~
Missing closing '}' in statement block.
At C:\spsinstalls\shared\Carbon-2.1.0\Carbon\Functions\Initialize-Lcm.ps1:265 char:35
+         $WhatIfPreference = $false
+                                   ~
The Try statement is missing its Catch or Finally block.
At C:\spsinstalls\shared\Carbon-2.1.0\Carbon\Functions\Initialize-Lcm.ps1:353 char:1
+ }
+ ~
Unexpected token '}' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParseException
    + FullyQualifiedErrorId : ConfigurationDoesNotSupportWOW64

Comments (5)

  1. Aaron Jensen repo owner

    This is a bug. Unfortunately, we don't run any tests on x86 PowerShell. I'll get it fixed as soon as I can.

  2. Aaron Jensen repo owner

    What operating system? Is it a 64-bit OS and you're running 32-bit PowerShell?

    I imported Carbon on a x86-version of Windows 10 and didn't get that error.

  3. Christopher Campbell reporter

    I saw it on Windows 7 x64 and Windows 8.1 x64. Only seems to happen if you start a x86 instance of PowerShell on a x64 box. I can't recreate on a x86 machine either.

  4. Log in to comment