Hi,
I recently bought the abp commercial license and I'm trying to setup all in order to start testing but I'm unable to install ABP Suite.
When I do the following:
C:\Users\Paulo Vaz.dotnet\tools>abp suite install [11:37:38 INF] ABP CLI (https://abp.io) [11:37:39 INF] Version 3.3.1 (Stable) [11:37:40 INF] Installing ABP Suite... Failed to create shell shim for tool 'volo.abp.suite': Failed to create tool shim for command 'abp-suite': Access to the path 'C:\Users\Paulo Vaz.dotnet\tools\abp-suite.exe' is denied. Tool 'volo.abp.suite' failed to install. [11:37:46 INF] You can also run the following command to install ABP Suite. [11:37:46 INF] dotnet tool install -g Volo.Abp.Suite
I don't know if it's related with the whitespace on my username.
It's the first time that this problem happen's in similar situations.
Thank you, Paulo Vaz
17 Answer(s)
-
0
Access to the path 'C:\Users\Paulo Vaz.dotnet\tools\abp-suite.exe' is denied.
This looks like a permission issue in windows.
You can try to use the administrator to open the
cmd
and execute theabp suite install
command. -
0
I already I've tryed that. No success.
Also if I try:
C:\WINDOWS\system32>dotnet tool install -g Volo.Abp.Suite error NU1101: Unable to find package volo.abp.suite. No packages exist with this id in source(s): aspnet-contrib, C:\Program Files\dotnet\sdk\NuGetFallbackFolder, DevExpress 20.1 Local, Microsoft Visual Studio Offline Packages, nuget.org, Syncfusion WinUI Nugets 18.3.0.35 The tool package could not be restored. Tool 'volo.abp.suite' failed to install. This failure may have been caused by:
- You are attempting to install a preview release and did not use the --version option to specify the version.
- A package by this name was found, but it was not a .NET tool.
- The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
- You mistyped the name of the tool.
For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool
No success also !
-
0
Problem solved with the help of Liming Ma, thanks.
-
0
hi pvaz
If you get other questions or problems, please feel free to feedback. Thank you.
-
1
can you write the solution for others?
-
0
Hi alper,
I did not copied the command line that was used, sorry, but it was done saying that the destination directory needed to be another one and not the one that is by default.
Sorry.
But even with that solved, seems that the solution builder is not working well.
I create the project, but until now I was unable to make it work.
Followed all steps, database created and filled with data, swagger (host api) works, but identity server not, gives the following error:
NullReferenceException: Object reference not set to an instance of an object. AspNetCore.Themes_Lepton_Components_Toolbar_LanguageSwitch_Default.ExecuteAsync()
this error was already reported at least twice, but I've not found any solution for that.
Also the web, having the host api running well, and starting the web version, I can see the first page, with the login button.
But when I press the login button gives error:
An unhandled exception occurred while processing the request. SocketException: Nenhuma ligação pôde ser feita porque o computador de destino as recusou ativamente. System.Net.Http.ConnectHelper.ConnectAsync(string host, int port, CancellationToken cancellationToken)
HttpRequestException: Nenhuma ligação pôde ser feita porque o computador de destino as recusou ativamente. System.Net.Http.ConnectHelper.ConnectAsync(string host, int port, CancellationToken cancellationToken)
IOException: IDX20804: Unable to retrieve document from: '[PII is hidden. For more details, see https://aka.ms/IdentityModel/PII.]'. Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.GetDocumentAsync(string address, CancellationToken cancel)
InvalidOperationException: IDX20803: Unable to obtain configuration from: '[PII is hidden. For more details, see https://aka.ms/IdentityModel/PII.]'. Microsoft.IdentityModel.Protocols.ConfigurationManager<T>.GetConfigurationAsync(CancellationToken cancel)
Cors origin has the correct localhost and port.
Tried and tried so many times. Really frustring.
-
0
hi pvaz
You are using the Tiered Structure application, please refer to the documentation to learn how to run it.
https://docs.abp.io/en/commercial/latest/startup-templates/application/solution-structure#dbmigrator-project
https://docs.abp.io/en/commercial/latest/startup-templates/application/solution-structure#tiered-structure
https://docs.abp.io/en/commercial/latest/startup-templates/application/solution-structure#how-to-run-1
-
0
Hi,
seems almost everything is working now, only react native is now giving error and I did not test angular version.
When starting react native on a real android device, it give the following error:
console.error: "You started loading the font "Roboto.medium", but used it before it finished loading You need to wait for Font.loadAsync to complete before using the font. We recomend loading all fonts before rendering the app, and rendering only Expo.ApoLoading while waiting for loading to complete.
What's the solution ?
-
0
Hi pvaz
As of v4.0-rc-4, we have fixed some bugs in source code of React Native UI. Can you try again by downloading the latest RC template?
If the problem will not fix with the new template, please let me know and take a look at this answer.
-
0
Done the upgrade to RC4, done a new project.
Problem is the same:
Here is the error that show in command line:
You need to wait for Font.loadAsync to complete before using the font.
We recommend loading all fonts before rendering the app, and rendering only Expo.AppLoading while waiting for loading to complete.
node_modules\react-native\Libraries\YellowBox\YellowBox.js:63:8 in console.error
node_modules\expo\build\environment\muteWarnings.fx.js:27:24 in error
node_modules\expo-font\build\Font.js:18:16 in processFontFamily
node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:3683:38 in diffProperties
node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:3694:8 in diffProperties
node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:4109:29 in createInstance
node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:15835:12 in completeWork
node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:19409:28 in completeUnitOfWork
node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:19380:30 in performUnitOfWork
node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:19347:39 in workLoopSync
node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:18997:22 in renderRoot
- [native code]:null in renderRoot
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:18709:28 in runRootCallback
- [native code]:null in runRootCallback
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:5642:32 in runWithPriority$argument_1
- node_modules\scheduler\cjs\scheduler.development.js:643:23 in unstable_runWithPriority
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:5638:22 in flushSyncCallbackQueueImpl
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:5627:28 in flushSyncCallbackQueue
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:18556:30 in scheduleUpdateOnFiber
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:7799:17 in classComponentUpdater.enqueueSetState
- node_modules\react\cjs\react.development.js:325:31 in Component.prototype.setState
- node_modules\native-base\dist\src\basic\ToastContainer.js:1:4738 in showToast
- http://192.168.2.171:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:149244:43 in show
- src\interceptors\APIInterceptor.js:46:13 in api.interceptors.response.use$argument_1
- node_modules\promise\setimmediate\core.js:37:14 in tryCallOne
- node_modules\promise\setimmediate\core.js:123:25 in setImmediate$argument_0
- node_modules\react-native\Libraries\Core\Timers\JSTimers.js:146:14 in _callTimer
- node_modules\react-native\Libraries\Core\Timers\JSTimers.js:194:17 in _callImmediatesPass
- node_modules\react-native\Libraries\Core\Timers\JSTimers.js:458:30 in callImmediates
- [native code]:null in callImmediates
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:407:6 in __callImmediates
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:143:6 in __guard$argument_0
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:384:10 in __guard
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:142:17 in __guard$argument_0
- [native code]:null in flushedQueue
- [native code]:null in callFunctionReturnFlushedQueue
Network Error
- node_modules\axios\lib\core\createError.js:15:17 in createError
- node_modules\axios\lib\adapters\xhr.js:80:22 in handleError
- node_modules\event-target-shim\dist\event-target-shim.js:818:39 in EventTarget.prototype.dispatchEvent
- node_modules\react-native\Libraries\Network\XMLHttpRequest.js:574:29 in setReadyState
- node_modules\react-native\Libraries\Network\XMLHttpRequest.js:388:25 in __didCompleteResponse
- node_modules\react-native\Libraries\vendor\emitter\EventEmitter.js:190:12 in emit
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:436:47 in __callFunction
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:111:26 in __guard$argument_0
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:384:10 in __guard
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:110:17 in __guard$argument_0
- [native code]:null in callFunctionReturnFlushedQueue
The above error occurred in task fetchAppConfig created by takeLatest(app/fetchAppConfigAsync, fetchAppConfig) created by _callee created by rootSaga Tasks cancelled due to error: takeLatest(app/fetchAppConfigAsync, fetchAppConfig) takeLatest(app/setLanguageAsync, setLanguage) takeLatest(app/logoutAsync, logout)
- node_modules\react-native\Libraries\YellowBox\YellowBox.js:63:8 in console.error
- node_modules\expo\build\environment\muteWarnings.fx.js:27:24 in error
- node_modules@redux-saga\core\dist\io-1d6eccda.js:115:16 in logError
- node_modules@redux-saga\core\dist\redux-saga-core.dev.cjs.js:1006:13 in end
- node_modules@redux-saga\core\dist\redux-saga-core.dev.cjs.js:816:4 in abort
- node_modules@redux-saga\core\dist\redux-saga-core.dev.cjs.js:831:10 in task.cont
- http://192.168.2.171:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:196282:16 in end
- node_modules@redux-saga\core\dist\redux-saga-core.dev.cjs.js:816:4 in abort
- node_modules@redux-saga\core\dist\redux-saga-core.dev.cjs.js:831:10 in task.cont
- http://192.168.2.171:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:196282:16 in end
- node_modules@redux-saga\core\dist\redux-saga-core.dev.cjs.js:816:4 in abort
- node_modules@redux-saga\core\dist\redux-saga-core.dev.cjs.js:831:10 in task.cont
- http://192.168.2.171:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:196282:16 in end
- node_modules@redux-saga\core\dist\redux-saga-core.dev.cjs.js:816:4 in abort
- node_modules@redux-saga\core\dist\redux-saga-core.dev.cjs.js:831:10 in task.cont
- node_modules@redux-saga\core\dist\redux-saga-core.dev.cjs.js:1181:15 in next
- http://192.168.2.171:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:196446:11 in currCb
- node_modules@redux-saga\core\dist\redux-saga-core.dev.cjs.js:399:2 in resolvePromise
- node_modules\promise\setimmediate\core.js:37:14 in tryCallOne
- node_modules\promise\setimmediate\core.js:123:25 in setImmediate$argument_0
- node_modules\react-native\Libraries\Core\Timers\JSTimers.js:146:14 in _callTimer
- node_modules\react-native\Libraries\Core\Timers\JSTimers.js:194:17 in _callImmediatesPass
- node_modules\react-native\Libraries\Core\Timers\JSTimers.js:458:30 in callImmediates
- [native code]:null in callImmediates
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:407:6 in __callImmediates
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:143:6 in __guard$argument_0
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:384:10 in __guard
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:142:17 in __guard$argument_0
- [native code]:null in flushedQueue
- [native code]:null in callFunctionReturnFlushedQueue
-
0
Hi,
Any prediction when it will be released ? I'm under pressure to make a presentation and need that working.
-
0
The v4.0-final will be released on December 3. I will send you an mail that contains a working React Native UI version.
-
0
closing the issue since the main question has been answered. if you have other questions, you can create a new one.
-
0
The main issue is that i do not have a running version, so it's a installation problem still.
-
0
Hello,
I also have the font loading error in my react app.
My project was created with version 3.3, but even after upgrading to 4.1 the problem still exists. Has it been fixed already? It seems that "abp update" doesn't update the react package - how can I upgrade my react to 4.1?
Thanks and best regards Claus
-
0
Hello,
abp update
command only upgrades NPM and NuGet packages. React Native cannot be upgraded via ABP CLI. Because there are no RN packages. I suggest you; Create a new template and check the latest source code. The font loading problem has been resolved. You can find the solution in the latest template.