Comments (19)
In Task Runner Explorer, check that you have run install for Signum.React, Signum.React.Extensions and YourApp.React (combo box on the left top corner of Task Runner Explorer)
from framework.
from framework.
About the TSGenerator, maybe you have more info in the Output panel. Can you paste what you have there?
from framework.
Hi again, @MehdyKarimpour, @olmobrutall
I'm using VS 2019 Enterprise 16.4.4
And my Output window details...
1>------ Build started: Project: Signum.React, Configuration: Debug x64 ------
2>------ Build started: Project: ObjesoftAppSignumV1.Terminal, Configuration: Debug x64 ------
2>Signum.MSBuildTask starting: obj\x64\Debug\netcoreapp3.1\ObjesoftAppSignumV1.Terminal.dll
2>Signum.MSBuildTask already processed: obj\x64\Debug\netcoreapp3.1\ObjesoftAppSignumV1.Terminal.dll
1>Starting SignumTSGenerator
2>ObjesoftAppSignumV1.Terminal -> C:\Users\dogan\source\repos\Signum\ObjesoftAppSignumV1.Terminal\bin\Debug\netcoreapp3.1\ObjesoftAppSignumV1.Terminal.dll
1>SignumTSGenerator already processed (154ms)
1>C:\Users\dogan\source\repos\Signum\Framework\Signum.React\Scripts\Components\Typeahead.tsx(249,10): error TS2769: Build:No overload matches this call.
1>Done building project "Signum.React.csproj" -- FAILED.
3>------ Build started: Project: Signum.React.Extensions, Configuration: Debug x64 ------
3>Starting SignumTSGenerator
3>Unhandled exception. System.IO.FileNotFoundException: Could not find file 'C:\Users\dogan\source\repos\Signum\Framework\Signum.React\bin\x64\Debug\netcoreapp3.1\Signum.React.dll'.
3>File name: 'C:\Users\dogan\source\repos\Signum\Framework\Signum.React\bin\x64\Debug\netcoreapp3.1\Signum.React.dll'
3> at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
3> at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
3> at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
3> at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
3> at Mono.Cecil.ModuleDefinition.GetFileStream(String fileName, FileMode mode, FileAccess access, FileShare share)
3> at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters)
3> at Signum.TSGenerator.PreloadingAssemblyResolver..ctor(String[] references)
3> at Signum.TSGenerator.Program.Main(String[] args)
3>C:\Users\dogan\.nuget\packages\signum.tsgenerator\3.0.0\build\Signum.TSGenerator.targets(5,5): error MSB3073: The command "dotnet "C:\Users\dogan\.nuget\packages\signum.tsgenerator\3.0.0\build\Signum.TSGenerator.dll" "obj\x64\Debug\netcoreapp3.1\Signum.React.Extensions.dll" "C:\Users\dogan\source\repos\Signum\Extensions\Signum.React.Extensions\obj\SignumReferences.txt" "C:\Users\dogan\source\repos\Signum\Extensions\Signum.React.Extensions\obj\SignumContent.txt"" exited with code -532462766.
3>Done building project "Signum.React.Extensions.csproj" -- FAILED.
4>------ Build started: Project: ObjesoftAppSignumV1.React, Configuration: Debug x64 ------
4>Starting SignumTSGenerator
4>Unhandled exception. System.IO.FileNotFoundException: Could not find file 'C:\Users\dogan\source\repos\Signum\Framework\Signum.React\bin\x64\Debug\netcoreapp3.1\Signum.React.dll'.
4>File name: 'C:\Users\dogan\source\repos\Signum\Framework\Signum.React\bin\x64\Debug\netcoreapp3.1\Signum.React.dll'
4> at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
4> at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
4> at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
4> at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
4> at Mono.Cecil.ModuleDefinition.GetFileStream(String fileName, FileMode mode, FileAccess access, FileShare share)
4> at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters)
4> at Signum.TSGenerator.PreloadingAssemblyResolver..ctor(String[] references)
4> at Signum.TSGenerator.Program.Main(String[] args)
4>C:\Users\dogan\.nuget\packages\signum.tsgenerator\3.0.0\build\Signum.TSGenerator.targets(5,5): error MSB3073: The command "dotnet "C:\Users\dogan\.nuget\packages\signum.tsgenerator\3.0.0\build\Signum.TSGenerator.dll" "obj\x64\Debug\netcoreapp3.1\ObjesoftAppSignumV1.React.dll" "C:\Users\dogan\source\repos\Signum\ObjesoftAppSignumV1.React\obj\SignumReferences.txt" "C:\Users\dogan\source\repos\Signum\ObjesoftAppSignumV1.React\obj\SignumContent.txt"" exited with code -532462766.
4>Done building project "ObjesoftAppSignumV1.React.csproj" -- FAILED.
========== Build: 1 succeeded, 3 failed, 9 up-to-date, 0 skipped ==========
from framework.
Hi Again,
I try step by step build project,
If i build Signum.React project, it has following errors,
1>------ Build started: Project: Signum.React, Configuration: Debug x64 ------
1>Starting SignumTSGenerator
1>SignumTSGenerator already processed (57ms)
1>C:\Users\dogan\source\repos\Signum\Framework\Signum.React\Scripts\Components\Typeahead.tsx(249,10): error TS2769: Build:No overload matches this call.
1>Done building project "Signum.React.csproj" -- FAILED.
from framework.
Do you have the latest TS? https://devblogs.microsoft.com/typescript/announcing-typescript-3-8/
from framework.
Or here https://marketplace.visualstudio.com/items?itemName=TypeScriptTeam.typescript-382
from framework.
Hi, I've already installed TS latest version. and same error,
But when i open the project in Task Runner getting these error
ERROR in ./node_modules/react-transition-group/esm/CSSTransition.js
Module not found: Error: Can't resolve 'dom-helpers/addClass' in 'C:\Users\dogan\source\repos\Signum\ObjesoftAppSignumV1.React\node_modules\react-transition-group\esm'
@ ./node_modules/react-transition-group/esm/CSSTransition.js 5:0-47 13:11-22
@ ./node_modules/react-transition-group/esm/index.js
@ ../Framework/Signum.React/Scripts/Frames/Notify.tsx
@ ./App/Main.tsx
ERROR in ./node_modules/react-transition-group/esm/CSSTransition.js
Module not found: Error: Can't resolve 'dom-helpers/removeClass' in 'C:\Users\dogan\source\repos\Signum\ObjesoftAppSignumV1.React\node_modules\react-transition-group\esm'
@ ./node_modules/react-transition-group/esm/CSSTransition.js 6:0-53 19:11-25
@ ./node_modules/react-transition-group/esm/index.js
@ ../Framework/Signum.React/Scripts/Frames/Notify.tsx
@ ./App/Main.tsx
from framework.
Please check your package.json file with Southwind one,
https://github.com/signumsoftware/southwind/blob/master/Southwind.React/package.json
Also install lastest version of yarn (1.22.0) and yarn installer for VS 2019
https://marketplace.visualstudio.com/items?itemName=MadsKristensen.YarnInstaller
from framework.
Hi @olmobrutall
Task Runner Results are
C:\Users\dogan\source\repos\Signum\Framework\Signum.React> cmd.exe /c yarn upgrade
yarn upgrade v1.22.4
[1/4] Resolving packages...
warning [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
warning react-bootstrap > [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
warning react-bootstrap > react-overlays > [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Rebuilding all packages...
success Saved lockfile.
success Saved 63 new dependencies.
info Direct dependencies
├─ @fortawesome/[email protected]
├─ @fortawesome/[email protected]
├─ @fortawesome/[email protected]
├─ @fortawesome/[email protected]
├─ @fortawesome/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
└─ [email protected]
info All dependencies
├─ @fortawesome/[email protected]
├─ @fortawesome/[email protected]
├─ @fortawesome/[email protected]
├─ @fortawesome/[email protected]
├─ @fortawesome/[email protected]
├─ @restart/[email protected]
├─ @restart/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
└─ [email protected]
Done in 6.27s.
Process terminated with code 0.
C:\Users\dogan\source\repos\Signum\Framework\Signum.React> cmd.exe /c yarn install
yarn install v1.22.4
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.21s.
Process terminated with code 0.
C:\Users\dogan\source\repos\Signum\Extensions\Signum.React.Extensions> cmd.exe /c yarn install
yarn install v1.22.4
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.10s.
Process terminated with code 0.
from framework.
I think this file has a problem.
1>------ Build started: Project: Signum.React, Configuration: Debug x64 ------
1>Starting SignumTSGenerator
1>SignumTSGenerator already processed (58ms)
1>C:\Users\dogan\source\repos\Signum\Framework\Signum.React\Scripts\Components\Typeahead.tsx(249,10): error TS2769: Build:No overload matches this call.
1>Done building project "Signum.React.csproj" -- FAILED.
from framework.
Hi Again,
I drop my solution, and Download a new one from the web site DuplicateApplication,
Now, build is ok.
Database is also Ok.
from framework.
But, I Want to start MyApp.React project, I'm getting this error,
Exception thrown: 'System.InvalidOperationException' in Signum.Utilities.dll
An exception of type 'System.InvalidOperationException' occurred in Signum.Utilities.dll but was not handled in user code
Sequence contains no CultureInfoEntity
from framework.
Perfect!
You can try running C# migrations? ([YourAppName].Terminal => CS menu item)
This menu item creates necessary data on database to run the application.
from framework.
Hi @MehdyKarimpour
I run the Terminal Project with CS and Load options, after that i run my React project, i got this error,
System.InvalidOperationException
HResult=0x80131509
Message=Sequence contains no CultureInfoEntity
Source=Signum.Utilities
StackTrace:
at Signum.Utilities.EnumerableUniqueExtensions.FirstEx[T](IEnumerable`1 collection) in C:\Users\dogan\source\repos\ObjeSoftSFV2\Framework\Signum.Utilities\Extensions\EnumerableExtensions.cs:line 268
at Signum.React.Translation.CultureController.CurrentCulture() in C:\Users\dogan\source\repos\ObjeSoftSFV2\Extensions\Signum.React.Extensions\Translation\CulturesController.cs:line 43
at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<<InvokeActionMethodAsync>g__Logged|12_1>d.MoveNext()
from framework.
Why is it so hard to start? or may be i don't know some hidden tricks.
Sorry to disturb you, @MehdyKarimpour
from framework.
Try restarting IIS or making a tiny change in Starter.cs in React project and play again. .Net Core (opposed to .Net Framework) doesn't try to start again after an failed start.
It'S hard to start because there are many technologies involved SQL, .Net Core, Typescript, React, yarn, all of them changing frequently so it's hard to keep the documentation up to date.
Remember is an open source project and the people contributing to it of helping you are not getting any money for it. If you find changes in documentation or of any other kind that will make the starting experience better pull request are more than welcome.
from framework.
Hi DoganC,
Olmo is right but I can check the project by AnyDesk, if you want.
Send your AnyDesk`s ID to my Skype(live:mkarimpour_1) or paste it here.
from framework.
Hi @MehdyKarimpour , @olmobrutall
Thanks for every think.
The Project is running. It's about Loading data.
from framework.
Related Issues (20)
- Upgrade to .NET Core? HOT 7
- Test environment path HOT 3
- Where is the export tool bar to xml? HOT 1
- Mysql support and .net core HOT 5
- Bug Report code generation. HOT 1
- Change license to MIT HOT 15
- Does not Compile as Release with VS2019 HOT 4
- dotnet publish -c Release does not work with Dotnet SDK 3.0 Pre HOT 2
- EMail Message Create button is missing. HOT 1
- Receiving emails via smpt HOT 1
- Ability to disable prompt 'lose changes' HOT 5
- Translation Problem in Dasboard Tab view HOT 2
- Login Signum with AD HOT 7
- Key 'Signum.Entities.Rest.RestLogEntity' (string) not found on ItemsDictionary HOT 7
- How to use [CurrentEntity] to filter current entity HOT 11
- Problems with transactions HOT 2
- Read Only property of Entity in UI HOT 2
- Improve password security HOT 3
- Problems with getOperationInfo and tryGetOperationInfo HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from framework.