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

Build Error #620

Closed
Dimbel1 opened this issue Aug 13, 2016 · 8 comments
Closed

Build Error #620

Dimbel1 opened this issue Aug 13, 2016 · 8 comments

Comments

@Dimbel1
Copy link

Dimbel1 commented Aug 13, 2016

Hey guys, i cant build omnisharp roslyn. I cloned the project and checked out, but when i want to build it, i got 2 errors:
./build.ps1: line 1: :OMNISHARP_PACKAGE_OSNAME: command not found
./build.ps1: line 2: .scriptscake-bootstrap.ps1: command not found

Do i miss some prerequisites?

@willl
Copy link
Member

willl commented Aug 14, 2016

@Dimbel1: Could you please provide additional details like what OS you are running?

And what are you using to run the build?

@DustinCampbell
Copy link
Contributor

This is a month old. @Dimbel1, are you OK if we go ahead and close this?

@jayvachon
Copy link

jayvachon commented Sep 22, 2016

I'm also getting this on Windows 10. Let me know what other details I could provide to help

@DustinCampbell
Copy link
Contributor

A couple of questions:

  • Are you running this within a normal Windows Command Prompt (elevated or otherwise)?
  • Do you have PowerShell configured to run scripts (e.g. set-executionpolicy Unrestricted)?

@jayvachon
Copy link

Originally tried this using Command Prompt, but tried it in PowerShell running as admin and got this:

Could not find Cake.exe at C:\Program Files\omnisharp-roslyn\scripts\..\.tools\Cake\Cake.exe
At C:\Program Files\omnisharp-roslyn\scripts\cake-bootstrap.ps1:113 char:5
+     Throw "Could not find Cake.exe at $CAKE_EXE"
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Could not find ...s\Cake\Cake.exe:String) [], RuntimeException
    + FullyQualifiedErrorId : Could not find Cake.exe at C:\Program Files\omnisharp-roslyn\scripts\..\.tools\Cake\Cake
   .exe

(looks related to #484)

@DustinCampbell
Copy link
Contributor

FWIW, it does look similar to #484, but that issue seems to have been solved.

@DustinCampbell
Copy link
Contributor

@david-driscoll, do you have any ideas?

@DustinCampbell
Copy link
Contributor

OK. I see what's happening. The problem is the space in the path name (e.g. C:\Program Files\omnisharp-roslyn\scripts.....). We're tracking this problem with #691.

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

No branches or pull requests

4 participants