Git Product home page Git Product logo

peasy-ide-vscode's People

Contributors

aman-goel avatar ankushdesai avatar haoran-wen avatar mchadalavada avatar soumyasmruti avatar suesther avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

peasy-ide-vscode's Issues

Espresso Machine Not Compiling with Json File

When I try to compile the Espresso Machine Example this error shows up:

Compiling generated C# code FAILED!
MSBuild version 17.5.1+f6fdcf537 for .NET
  Determining projects to restore...
  All projects are up-to-date for restore.
/Users/zhouchrs/workplace/P/Tutorial/3_EspressoMachine/PGenerated/CSharp/EspressoMachine.cs(1486,37): error CS0246: The type or namespace name 'PJsonFormatter' could not be found (are you missing a using directive or an assembly reference?) [/Users/zhouchrs/workplace/P/Tutorial/3_EspressoMachine/PGenerated/CSharp/EspressoMachine.csproj]
/Users/zhouchrs/workplace/P/Tutorial/3_EspressoMachine/PGenerated/CSharp/EspressoMachine.cs(1420,37): error CS0246: The type or namespace name 'PJsonFormatter' could not be found (are you missing a using directive or an assembly reference?) [/Users/zhouchrs/workplace/P/Tutorial/3_EspressoMachine/PGenerated/CSharp/EspressoMachine.csproj]

Build FAILED.

/Users/zhouchrs/workplace/P/Tutorial/3_EspressoMachine/PGenerated/CSharp/EspressoMachine.cs(1486,37): error CS0246: The type or namespace name 'PJsonFormatter' could not be found (are you missing a using directive or an assembly reference?) [/Users/zhouchrs/workplace/P/Tutorial/3_EspressoMachine/PGenerated/CSharp/EspressoMachine.csproj]
/Users/zhouchrs/workplace/P/Tutorial/3_EspressoMachine/PGenerated/CSharp/EspressoMachine.cs(1420,37): error CS0246: The type or namespace name 'PJsonFormatter' could not be found (are you missing a using directive or an assembly reference?) [/Users/zhouchrs/workplace/P/Tutorial/3_EspressoMachine/PGenerated/CSharp/EspressoMachine.csproj]
    0 Warning(s)
    2 Error(s)

Time Elapsed 00:00:01.17




[THIS SHOULD NOT HAVE HAPPENED, please report it to the P team or create a GitHub issue]
Compiling generated C# code FAILED!
MSBuild version 17.5.1+f6fdcf537 for .NET
  Determining projects to restore...
  All projects are up-to-date for restore.
/Users/zhouchrs/workplace/P/Tutorial/3_EspressoMachine/PGenerated/CSharp/EspressoMachine.cs(1486,37): error CS0246: The type or namespace name 'PJsonFormatter' could not be found (are you missing a using directive or an assembly reference?) [/Users/zhouchrs/workplace/P/Tutorial/3_EspressoMachine/PGenerated/CSharp/EspressoMachine.csproj]
/Users/zhouchrs/workplace/P/Tutorial/3_EspressoMachine/PGenerated/CSharp/EspressoMachine.cs(1420,37): error CS0246: The type or namespace name 'PJsonFormatter' could not be found (are you missing a using directive or an assembly reference?) [/Users/zhouchrs/workplace/P/Tutorial/3_EspressoMachine/PGenerated/CSharp/EspressoMachine.csproj]

Build FAILED.

/Users/zhouchrs/workplace/P/Tutorial/3_EspressoMachine/PGenerated/CSharp/EspressoMachine.cs(1486,37): error CS0246: The type or namespace name 'PJsonFormatter' could not be found (are you missing a using directive or an assembly reference?) [/Users/zhouchrs/workplace/P/Tutorial/3_EspressoMachine/PGenerated/CSharp/EspressoMachine.csproj]
/Users/zhouchrs/workplace/P/Tutorial/3_EspressoMachine/PGenerated/CSharp/EspressoMachine.cs(1420,37): error CS0246: The type or namespace name 'PJsonFormatter' could not be found (are you missing a using directive or an assembly reference?) [/Users/zhouchrs/workplace/P/Tutorial/3_EspressoMachine/PGenerated/CSharp/EspressoMachine.csproj]
    0 Warning(s)
    2 Error(s)

Time Elapsed 00:00:01.17

Peasy can't find p.exe on Windows

Peasy complains that P isn't installed so I have to use the VS Code terminal to run p compile. I looked at the Peasy code and located the problem.

The function checkPInstalled checks if the p binary exists but on Windows, it is an exe file and for some reason, the basename of the file is p.exe not p.

So a fix will need to make sure it can detect the p.exe on Windows.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.