p-org / peasy-ide-vscode Goto Github PK
View Code? Open in Web Editor NEWPeasy: An Intuitive Development Environment for P
Home Page: https://p-org.github.io/peasy-ide-vscode/
License: MIT License
Peasy: An Intuitive Development Environment for P
Home Page: https://p-org.github.io/peasy-ide-vscode/
License: MIT License
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
For instance, in VSCode, the debugger use F5 as the resume key.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.