I have an NS 6.3.0 Core app on a windows 10 machine. When I try to build the cli gets stuck. Here are the details:
PS C:\DEV PROJECTS\DRAX\Project\wa_app> tns build android
Copying template files...
Platform android successfully added. v6.3.1
Preparing project...
Starting type checking service...
Using 1 worker with 4096MB memory limit
I have left it there for 90 minutes without any additional activity. Here is the output if I use --log trace:
Looking for project in 'C:\DEV PROJECTS\DRAX\Project\wa_app'
Project directory is 'C:\DEV PROJECTS\DRAX\Project\wa_app'.
Loading extensions.
System information:
{
"platform": "win32",
"shell": "C:\\WINDOWS\\system32\\cmd.exe",
"os": "Windows 10 Pro 6.3.18362",
"procArch": "x64",
"nodeVer": "12.6.0",
"npmVer": "6.9.0",
"nodeGypVer": null,
"nativeScriptCliVersion": "6.3.0",
"gitVer": "2.15.1.windows.2",
"dotNetVer": "4.8.03752",
"javacVersion": "1.8.0_172",
"javaVersion": "1.8.0_172",
"javaPath": "C:\\Program Files\\Java\\jdk1.8.0_172\\bin\\java.exe",
"adbVer": "1.0.41",
"androidInstalled": true,
"monoVer": null,
"gradleVer": null,
"isAndroidSdkConfiguredCorrectly": true,
"xcodeprojLocation": null,
"itunesInstalled": false,
"isCocoaPodsWorkingCorrectly": false,
"isCocoaPodsUpdateRequired": false,
"pythonInfo": null
}
Current CLI version: 6.3.0
Starting watch on killswitch C:\Users\Daniel\AppData\Local\Temp\Daniel\KillSwitches\cli
Trying to handle SIGINT event. CLI overrides this behavior and does not allow handling SIGINT as this causes issues with Ctrl + C in terminal.
The stackTrace of the location trying to handle SIGINT is:
at process.on (C:\Users\Daniel\AppData\Roaming\npm\node_modules\nativescript\lib\nativescript-cli.js:24:28)
at C:\Users\Daniel\AppData\Roaming\npm\node_modules\nativescript\node_modules\signal-exit\index.js:122:15
at Array.filter (<anonymous>)
at load (C:\Users\Daniel\AppData\Roaming\npm\node_modules\nativescript\node_modules\signal-exit\index.js:120:21)
at module.exports (C:\Users\Daniel\AppData\Roaming\npm\node_modules\nativescript\node_modules\signal-exit\index.js:35:5)
at Object.<anonymous> (C:\Users\Daniel\AppData\Roaming\npm\node_modules\nativescript\node_modules\proper-lockfile\lib\lockfile.js:296:1)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:643:32)
at Function.Module._load (internal/modules/cjs/loader.js:556:12)
at Module.require (internal/modules/cjs/loader.js:683:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Object.<anonymous> (C:\Users\Daniel\AppData\Roaming\npm\node_modules\nativescript\node_modules\proper-lockfile\index.js:3:18)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:643:32)
spawn: C:\Program Files\nodejs\node.exe "C:\Users\Daniel\AppData\Roaming\npm\node_modules\nativescript\lib\detached-processes\cleanup-process.js" "C:\Users\Daniel\AppData\Roaming\npm\node_modules\nativescript\lib\bootstrap.js"
Shasum of file C:\DEV PROJECTS\DRAX\Project\wa_app\package.json is b3aed19d4e097a799102ec94894a2a7b24e4c758
Got cached result for shouldMigrate for platform: Android
Initializing analytics statuses.
Analytics statuses: { TrackFeatureUsage: 'disabled', TrackExceptions: 'disabled' }
getInfos cacheConfig options: { forceCheck: undefined } current info from cache: [
{
message: 'Your ANDROID_HOME environment variable is set and points to correct directory.',
platforms: [ 'Android' ],
type: 'info'
},
{
message: 'Your adb from the Android SDK is correctly installed.',
platforms: [ 'Android' ],
type: 'info'
},
{
message: 'The Android SDK is installed.',
platforms: [ 'Android' ],
type: 'info'
},
{
message: 'A compatible Android SDK for compilation is found.',
platforms: [ 'Android' ],
type: 'info'
},
{
message: 'Javac is installed and is configured properly.',
platforms: [ 'Android' ],
type: 'info'
},
{
message: 'The Java Development Kit (JDK) is installed and is configured properly.',
platforms: [ 'Android' ],
type: 'info'
},
{
message: 'Local builds for iOS can be executed only on a macOS system. To build for iOS on a different operating system, you can use the NativeScript cloud infrastructure.',
additionalInformation: '',
platforms: [ 'iOS' ],
type: 'info'
}
]
Your ANDROID_HOME environment variable is set and points to correct directory.
Your adb from the Android SDK is correctly installed.
The Android SDK is installed.
A compatible Android SDK for compilation is found.
Javac is installed and is configured properly.
The Java Development Kit (JDK) is installed and is configured properly.
Local builds for iOS can be executed only on a macOS system. To build for iOS on a different operating system, you can use the NativeScript cloud infrastructure.
Selected targetSdk is: 28
Installed Android Targets are: [ 'android-25', 'android-26', 'android-28' ]
Selected buildToolsVersion is: 28.0.3
Validate options for platform: Android
Project dir from hooksArgs is: C:\DEV PROJECTS\DRAX\Project\wa_app.
Hooks directories: [ 'C:\\DEV PROJECTS\\DRAX\\Project\\wa_app\\hooks' ]
BeforeHookName for command prepare is before-prepare
Preparing project...
spawn: C:\Program Files\nodejs\node.exe "--max_old_space_size=4096" "--preserve-symlinks" "C:\DEV PROJECTS\DRAX\Project\wa_app\node_modules\webpack\bin\webpack.js" "--config=C:\DEV PROJECTS\DRAX\Project\wa_app\webpack.config.js" "--env.android" "--env.appPath=app" "--env.appResourcesPath=app\App_Resources" "--env.verbose" "--env.sourceMap"
clean-webpack-plugin: C:\DEV PROJECTS\DRAX\Project\wa_app\platforms\android\app\src\main\assets\app\**\* has been removed.
clean-webpack-plugin: C:\DEV PROJECTS\DRAX\Project\wa_app\platforms\android\app\src\main\assets\snapshots has been removed.
clean-webpack-plugin: C:\DEV PROJECTS\DRAX\Project\wa_app\platforms\android\app\build\configurations\nativescript-android-snapshot has been removed.
Starting type checking service...
Using 1 worker with 4096MB memory limit
The CLI also hangs on tns run command with:
C:\DEV PROJECTS\DRAX\Project\wa_app>tns run android
Searching for devices...
Preparing project...
File change detected. Starting incremental webpack compilation...
Starting type checking service...
Using 1 worker with 4096MB memory limit
webpack is watching the files…
I have tried removing nativescript, restarting my machine, restarting VS Code with no results. The same happens if I try to use SideKick.
Any ideas on how to get past this?
Thanks
After some testing, I narrowed it down to the https://www.npmjs.com/package/nativescript-contacts plugin. I do not know what the reason is, but as soon as I uninstalled it, everything worked as expected.
Related
I've had a Nightwatch project running on a daily timer testing my site. I have a log file that I check every few weeks to make sure everything is going smoothly. Today I noticed it's been running, but crashing after a couple seconds of running (it usually takes half an hour to do everything).
I haven't changed the code, updated any of the packages or node, or purposefully changed anything else on my computer in the past week.
I placed a lot of logging calls in my code (I had to use my fs logger because console.log is not showing up after the process runs like it normally does). It doesn't always quit at the same point through the code, so I figured it was a Nightwatch problem and not mine.
I created a simple test file I could use to see if my complicated tests were messing things up. It prints the logs to my file, but doesn't run any of the tests and the browser pops up for less than a second before the whole thing crashes.
Current test:
const fs = require('fs');
module.exports = {
'#tags': ['getDistricts'],
'Get Districts Assert Title': function (browser) {
fs.appendFile("./log.txt", "\nBROWSER: " + JSON.stringify(browser), function (err) { });
browser.pause(100000); //prevent method from ending before tickets are retrieved
fs.appendFile("./log.txt", "\nNew run: " + new Date(), function (err) { });
browser
.url('https://www.google.com')
.waitForElementVisible('body')
.assert.title('Google')
fs.appendFile("./log.txt", "\nRan tests", function (err) { });
}
};
Log file:
BROWSER: {"capabilities":{},"globals":{"waitForConditionTimeout":15000},"sessionId":null,"options":{"screenshots":true,"screenshotsPath":"./node_modules/nightwatch/screenshots/","skip_testcases_on_fail":true,"log_screenshot_data":true,"username":"${SAUCE_USERNAME}","accessKey":"${SAUCE_ACCESS_KEY}","desiredCapabilities":{"browserName":"chrome","javascriptEnabled":true,"acceptSslCerts":true,"platform":"ANY","chromeOptions":{"args":["Mozilla/5.0 (iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46\n (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3","--window-size=640,1136"]},"name":"Temp Test"}},"launchUrl":"http://localhost","launch_url":"http://localhost","screenshotsPath":"./node_modules/nightwatch/screenshots/","Keys":{"NULL":"","CANCEL":"","HELP":"","BACK_SPACE":"","TAB":"","CLEAR":"","RETURN":"","ENTER":"","SHIFT":"","CONTROL":"","ALT":"","PAUSE":"","ESCAPE":"","SPACE":"","PAGEUP":"","PAGEDOWN":"","END":"","HOME":"","LEFT_ARROW":"","UP_ARROW":"","RIGHT_ARROW":"","DOWN_ARROW":"","ARROW_LEFT":"","ARROW_UP":"","ARROW_RIGHT":"","ARROW_DOWN":"","INSERT":"","DELETE":"","SEMICOLON":"","EQUALS":"","NUMPAD0":"","NUMPAD1":"","NUMPAD2":"","NUMPAD3":"","NUMPAD4":"","NUMPAD5":"","NUMPAD6":"","NUMPAD7":"","NUMPAD8":"","NUMPAD9":"","MULTIPLY":"","ADD":"","SEPARATOR":"","SUBTRACT":"","DECIMAL":"","DIVIDE":"","F1":"","F2":"","F3":"","F4":"","F5":"","F6":"","F7":"","F8":"","F9":"","F10":"","F11":"","F12":"","COMMAND":"","META":""},"expect":{},"assert":{},"verify":{},"currentEnv":"tempTest_1","currentTest":{"name":"Get Districts Assert Title","module":"tempTest","results":{"steps":[],"passed":0,"failed":0,"errors":0,"skipped":0,"tests":0,"testcases":{},"timestamp":"Thu, 22 Aug 2019 18:50:31 GMT","time":0},"group":""}}
New run: Thu Aug 22 2019 13:50:31 GMT-0500 (Central Daylight Time)
Ran tests
npm test --verbose:
npm info it worked if it ends with ok
npm verb cli [ 'C:\\Program Files\\nodejs\\node.exe',
npm verb cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli 'test',
npm verb cli '--verbose' ]
npm info using npm#6.9.0
npm info using node#v10.16.0
npm verb run-script [ 'pretest', 'test', 'posttest' ]
npm info lifecycle artms-nightwatch#1.0.24~pretest: artms-nightwatch#1.0.24
npm info lifecycle artms-nightwatch#1.0.24~test: artms-nightwatch#1.0.24
> artms-nightwatch#1.0.24 test C:\Users\malai\Nightwatch
> nightwatch --env local
Starting selenium server in parallel mode... started - PID: 23680
Started child process for: tempTest
>> tempTest finished.
npm verb lifecycle artms-nightwatch#1.0.24~test: unsafe-perm in lifecycle true
npm verb lifecycle artms-nightwatch#1.0.24~test: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\malai\Nightwatch\node_modules\.bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\Java\jdk1.8.0_211\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\dotnet\;C:\Program Files (x86)\dotnet\;C:\Users\malai\AppData\Local\Microsoft\WindowsApps;C:\Users\malai\AppData\Roaming\npm;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\malai\.dotnet\tools
npm verb lifecycle artms-nightwatch#1.0.24~test: CWD: C:\Users\malai\Nightwatch
npm info lifecycle artms-nightwatch#1.0.24~test: Failed to exec test script
npm ERR! Test failed. See above for more details.
npm verb exit [ 1, true ]
npm timing npm Completed in 4145ms
npm verb code 1
I was never able to figure out why it stopped working, but I started from scratch and rebuilt the project on the most recent version of Nightwatch and copied my tests over and it's working again.
I am trying to instrument StoreDevTools with an oldish version of Angular (4.1.x) and #ngrx/store (5.2.0).
The zone.js version installed is 0.8.29
If I do the recommended way (ie. after StoreModule and EffectsModule) (app.module.ts):
StoreModule.forRoot({}),
EffectsModule.forRoot([]),
StoreDevtoolsModule.instrument({
name: 'myApp',
maxAge: 50,
}),
then the StoreDevTools crash with
Error:
zone.js?6788:682 Unhandled Promise rejection: Object(...) is not a function ; Zone: <root> ; Task: Promise.then ; Value: TypeError: Object(...) is not a function
at new StoreDevtools (store-devtools.js?51ff:764)
the js line referred says:
var liftedAction$ = merge(merge(actions$.asObservable().pipe(skip(1)), extension.actions$).pipe(map(liftAction)), dispatcher, extension.liftedActions$).pipe(observeOn(queueScheduler));
When I do the other way around, the StoreDevTols don't crash, but the inspector cannot see the store in there.
Both modules are receiving empty data because I am just putting the store in place and I start with a feature module.
StoreModule.forFeature('Feature1', feature1Reducer),
EffectsModule.forFeature([
Feature1Effects,
]),
There is no data stored at the root level, like app or auth just yet.
Is the error caused by dependencies (like zone.js for example) or by how I set up my store?
Redux DevTools 2.17.0
Old question, but if it helps anyone - I had a the same error after upgrading an old app to use #ngrx/store to 4.1.1
I had to match #ngrx/store-devtools to the same version number as the other #ngrx deps.
npm had initially installed it at latest which was 8.x at time of writing. As soon as the deps were matched the app and store loaded fine
"#angular/core": "5.2.11",
...
"#ngrx/effects": "4.1.1",
"#ngrx/store": "4.1.1",
"#ngrx/store-devtools": "4.1.1",
....
"zone.js": "0.8.12"
With QtCreator (for version 57) I created simple application that connects to DB and waits for notifications. There isn't realy much code for it and all of it works on LINUX:
MyDataBase = new QSqlDatabase(QSqlDatabase::addDatabase("QPSQL", "Main"));
Unfortunetly after transitioning from Linux to Windows (on which app will by mainy used) I encounteredd some issues. As usuall, missign dlls, but those were quick fast (copy-paste given .dll). Now I can't run this still on Windows, because it refuses to connect to db. With system's variable I managed to find more. Now even when I see error I can't even grasp what else could I do to make it work:
Found metadata in lib C:/_Qt/5.7/mingw53_32/plugins/sqldrivers/qsqlpsqld.dll, metadata=
{
"IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
"MetaData": {
"Keys": [
"QPSQL7",
"QPSQL"
]
},
"className": "QPSQLDriverPlugin",
"debug": true,
"version": 329472
}
"The plugin 'C:/_Qt/5.7/mingw53_32/plugins/sqldrivers/qsqlpsqld.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)"
not a plugin
QFactoryLoader::QFactoryLoader() checking directory path "D:/QT_Notifi/build-Notifier-Desktop_Qt_5_7_0_MinGW_32bit-Release/release/sqldrivers" ...
loaded library "C:/_Qt/5.7/mingw53_32/plugins/sqldrivers/qsqlpsql.dll"
QLibraryPrivate::loadPlugin failed on "C:/_Qt/5.7/mingw53_32/plugins/sqldrivers/qsqlpsql.dll" : "Cannot load library C:\\_Qt\\5.7\\mingw53_32\\plugins\\sqldrivers\\qsqlpsql.dll: %1 is not correct application of Win32."
QSqlDatabase: QPSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQL3 QODBC QODBC3 QPSQL QPSQL7
I've installed the latest version of Visual Studio Code (1.1.1) in OSX El Capitan (10.11.4). I also installed the latest version of Core RC2. dotnet --version gives me 1.0.0-preview1-002702. One of the web threads I read said to delete the older version of OmniSharp and install the latest, which I did. I also installed OpenSSL via Brew.
When I installed the newest yo generator for aspnet and created a sample app, it runs fine. When I try to open that folder in Visual Studio Code, I get this in the Output window:
Downloading and configuring the .NET Core Debugger... Telemetry is:
Enabled log : Restoring packages for
/Users/rheckart/.vscode/extensions/ms-vscode.csharp-0.3.7/coreclr-debug/project.json...
info : Committing restore... log : Lock file has not changed.
Skipping lock file write. Path:
/Users/rheckart/.vscode/extensions/ms-vscode.csharp-0.3.7/coreclr-debug/project.lock.json
log :
/Users/rheckart/.vscode/extensions/ms-vscode.csharp-0.3.7/coreclr-debug/project.json
log : Restore completed in 632ms.
NuGet Config files used:
/Users/rheckart/.vscode/extensions/ms-vscode.csharp-0.3.7/coreclr-debug/NuGet.config
Feeds used:
https://www.myget.org/F/dotnet-core/api/v3/index.json
https://api.nuget.org/v3/index.json
https://www.myget.org/F/coreclr-debug/api/v3/index.json Telemetry is: Enabled Error: Can not find runtime target for framework
'DNXCore,Version=v5.0' compatible with one of the target runtimes:
'osx.10.11-x64'. Possible causes:
1. The project has not been restored or restore failed - run dotnet restore
2. The project does not list one of 'osx.10.11-x64' in the 'runtimes' section. Error:
System.InvalidOperationException: Can not find runtime target for
framework 'DNXCore,Version=v5.0' compatible with one of the target
runtimes: 'osx.10.11-x64'. Possible causes:
1. The project has not been restored or restore failed - run dotnet restore
2. The project does not list one of 'osx.10.11-x64' in the 'runtimes' section. at
Microsoft.DotNet.ProjectModel.BuildWorkspace.GetRuntimeContext(ProjectContext
context, IEnumerable1 runtimeIdentifiers) at
System.Linq.Enumerable.WhereSelectListIterator2.MoveNext() at
System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at
Microsoft.DotNet.Tools.Publish.PublishCommand.TryPrepareForPublish()
at
Microsoft.DotNet.Tools.Publish.PublishCommand.<>c__DisplayClass0_0.b__0()
at
Microsoft.DotNet.Cli.CommandLine.CommandLineApplication.Execute(String[]
args) at Microsoft.DotNet.Tools.Publish.PublishCommand.Run(String[]
args) dotnet exited with error code 1 Error while installing .NET Core
Debugger.
I tried to do both steps 1 & 2, but I still get the same error. My project.json file looks like this:
{
"dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-rc2-3002702",
"type": "platform"
},
"Microsoft.AspNetCore.Mvc": "1.0.0-rc2-final",
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-rc2-final",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-rc2-final",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-rc2-final",
"Microsoft.Extensions.Configuration.FileExtensions": "1.0.0-rc2-final",
"Microsoft.Extensions.Configuration.Json": "1.0.0-rc2-final",
"Microsoft.Extensions.Logging": "1.0.0-rc2-final",
"Microsoft.Extensions.Logging.Console": "1.0.0-rc2-final",
"Microsoft.Extensions.Logging.Debug": "1.0.0-rc2-final"
},
"tools": {
"Microsoft.AspNetCore.Server.IISIntegration.Tools": {
"version": "1.0.0-preview1-final",
"imports": "portable-net45+win8+dnxcore50"
}
},
"frameworks": {
"netcoreapp1.0": {
"imports": [
"dotnet5.6",
"dnxcore50",
"portable-net45+win8"
]
}
},
"buildOptions": {
"emitEntryPoint": true,
"preserveCompilationContext": true
},
"runtimeOptions": {
"gcServer": true
},
"publishOptions": {
"include": [
"wwwroot",
"Views",
"appsettings.json",
"web.config"
]
},
"scripts": {
"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
},
"tooling": {
"defaultNamespace": "rc2api"
},
"runtimes": {
"osx.10.11-x64": { }
}
}
If I try to run debug in VS Code using the .NET Core Launch (web), I get an error:
Debug adapter executable
'/Users/rheckart/.vscode/extensions/ms-vscode.csharp-0.3.7/coreclr-debug/debugAdapters/OpenDebugAD7'
not found.
Any ideas as to why this isn't working?
I received the same error. For me, I noticed there was an update available for the VS Code C# extension (I saw the green circle on the icon in the lower-left). Once I installed the update (version 1.0.10) and restarted VS Code, the error went away and I got "Successfully installed .NET Core Debugger".
I managed to resolve this by removing an older .NET Core version and installing the latest one. It appears the installation failed due to command line options the older version did not support.
Uninstall script and latest installation package can be found here (steps 1 and 2): https://www.microsoft.com/net/core#macosx
I'm developing with ASP.NET5 on Mac OS X. I want to implement OAuth and use Secret Manager to store my secret configuration, so I'm following this DNXSecret Configuration page.
https://github.com/aspnet/Home/wiki/DNX-Secret-Configuration
But, after following the instructions, I couldn't successfully install user-secret command to my Mac, and I'm pretty much stuck.
As the first step, I installed DNVM and confirmed dnvm list command returns Mono as the runtime engine.
$ dnvm list
Active Version Runtime Arch Location Alias
------ ------- ------- ---- -------- -----
* 1.0.0-beta4 mono ~/.dnx/runtimes default
I also installed Yeoman, Grunt, Bower etc, and dnu restore command worked fine. I successfully showed a Yeoman scaffolded ASP.NET5 page both locally and on Azure.
Then I started to install Secret Manager, following the above page. In the beginning, the following command failed:
dnu commands install SecretManager
with the error below:
Errors in /Users/<username>/.dnx/bin/packages/SecretManager/1.0.0-beta4/app/project.json
Unable to locate SecretManager >= 1.0.0-beta4-10173
So, I modified the above 'project.json' file in its "dependencies" block as:
{
"version": "1.0.0-*",
"description": "ASP.NET 5 tool to manage user secrets.",
"dependencies": {
"SecretManager": "1.0.0-beta4" // <<- modified here
//"SecretManager": "1.0.0-beta4-10173"
},
"commands": {
"user-secret": "SecretManager"
},
"userSecretsId": "testuserSecretsId",
"frameworks": {
"dnx451": {},
"dnxcore50": {
"dependencies": {
"System.Console": "4.0.0-beta-*"
}
}
},
"entryPoint": "SecretManager",
"loadable": false
}
(before) "SecretManager": "1.0.0-beta4-10173"
(after) "SecretManager": "1.0.0-beta4"
Then the command finished successfully and SecretManager seems to be installed with the result below:
konishis-air:AspNetSocialLoginTest Ryuji$ dnu commands install SecretManager
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='SecretManager'.
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='SecretManager' 1674ms
Restoring packages for /Users/Ryuji/.dnx/bin/packages/e27d166dcf594105be47fff78420df10/project.json
Writing lock file /Users/Ryuji/.dnx/bin/packages/e27d166dcf594105be47fff78420df10/project.lock.json
Restore complete, 246ms elapsed
Restoring packages for /Users/Ryuji/.dnx/bin/packages/SecretManager/1.0.0-beta4/app/project.json
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Console'.
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Console' 1395ms
Writing lock file /Users/Ryuji/.dnx/bin/packages/SecretManager/1.0.0-beta4/app/project.lock.json
Restore complete, 1751ms elapsed
The following commands were installed: .project.json, user-secret
However, when I run user-secret command, I get 'command not found'.
Sorry, that is a known issue and we've fixed in beta5.
You have two options:
Pass the fallback source: dnu commands install secretmanager 1.0.0-beta4 -f https://www.myget.org/F/aspnetrelease/api/v2
Update to the latest beta5 bits