Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Error on Install-Node.js and get started with NTVS



  • I'm trying to follow the following tutorial:
    https://github.com/Microsoft/nodejstools/wiki/Install-Node.js-and-get-started-with-NTVS

    But it works with npm registry but it does not with proget npm feed with upstream connector to npm registry


    Registry url: http://fh1-proget01/npm/internal/
        Path to npm: C:\Program Files\nodejs\npm.cmd
        Downloading package cache to C:\Users\rbittencourt\AppData\Local\Microsoft\Node.js Tools\NpmCache\384010e6-6fd9-4a6b-987b-689be65484ba\all_packages.json
        Downloading list of packages from http://fh1-proget01/npm/internal/-/all
        Downloaded 1MB of the package list (43MB total)
        Downloaded 2MB of the package list (43MB total)
        Downloaded 3MB of the package list (43MB total)
        Downloaded 4MB of the package list (43MB total)
        Downloaded 5MB of the package list (43MB total)
        Downloaded 6MB of the package list (43MB total)
        Downloaded 7MB of the package list (43MB total)
        Downloaded 8MB of the package list (43MB total)
        Downloaded 9MB of the package list (43MB total)
        Downloaded 10MB of the package list (43MB total)
        Downloaded 11MB of the package list (43MB total)
        Downloaded 12MB of the package list (43MB total)
        Downloaded 13MB of the package list (43MB total)
        Downloaded 14MB of the package list (43MB total)
        Downloaded 15MB of the package list (43MB total)
        Downloaded 16MB of the package list (43MB total)
        Downloaded 17MB of the package list (43MB total)
        Downloaded 18MB of the package list (43MB total)
        Downloaded 19MB of the package list (43MB total)
        Downloaded 20MB of the package list (43MB total)
        Downloaded 21MB of the package list (43MB total)
        Downloaded 22MB of the package list (43MB total)
        Downloaded 23MB of the package list (43MB total)
        Downloaded 24MB of the package list (43MB total)
        Downloaded 25MB of the package list (43MB total)
        Downloaded 26MB of the package list (43MB total)
        Downloaded 27MB of the package list (43MB total)
        Downloaded 28MB of the package list (43MB total)
        Downloaded 29MB of the package list (43MB total)
        Downloaded 30MB of the package list (43MB total)
        Downloaded 31MB of the package list (43MB total)
        Downloaded 32MB of the package list (43MB total)
        Downloaded 33MB of the package list (43MB total)
        Downloaded 34MB of the package list (43MB total)
        Downloaded 35MB of the package list (43MB total)
        Downloaded 36MB of the package list (43MB total)
        Downloaded 37MB of the package list (43MB total)
        Downloaded 38MB of the package list (43MB total)
        Downloaded 39MB of the package list (43MB total)
        Downloaded 40MB of the package list (43MB total)
        Downloaded 41MB of the package list (43MB total)
        Downloaded 42MB of the package list (43MB total)
        Download complete - updating database
        Reading 44585489 bytes from C:\Users\rbittencourt\AppData\Local\Microsoft\Node.js Tools\NpmCache\384010e6-6fd9-4a6b-987b-689be65484ba\all_packages.json (03/02/2017 16:40:24)
        Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: . Path '', line 0, position 0.
           at Newtonsoft.Json.JsonTextReader.ParseValue()
           at Newtonsoft.Json.JsonTextReader.ReadInternal()
           at Newtonsoft.Json.JsonTextReader.Read()
           at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.<>c__DisplayClass6_0.<ParseResultsAndAddToDatabase>b__0()
           at SQLite.SQLiteConnection.RunInTransaction(Action action)
           at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.ParseResultsAndAddToDatabase(TextReader reader, String dbFilename, String registryUrl)
           at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.<>c__DisplayClass23_2.<ExecuteAsync>b__2()
           at System.Threading.Tasks.Task.InnerInvoke()
           at System.Threading.Tasks.Task.Execute()
        --- End of stack trace from previous location where exception was thrown ---
           at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
           at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
           at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.<ExecuteAsync>d__23.MoveNext()
        Download or parsing failed - deleting C:\Users\rbittencourt\AppData\Local\Microsoft\Node.js Tools\NpmCache. Try refreshing the catalog again. Otherwise restart Visual Studio, and try again.
        Deleting 384010e6-6fd9-4a6b-987b-689be65484ba
        Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: . Path '', line 0, position 0.
           at Newtonsoft.Json.JsonTextReader.ParseValue()
           at Newtonsoft.Json.JsonTextReader.ReadInternal()
           at Newtonsoft.Json.JsonTextReader.Read()
           at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.<>c__DisplayClass6_0.<ParseResultsAndAddToDatabase>b__0()
           at SQLite.SQLiteConnection.RunInTransaction(Action action)
           at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.ParseResultsAndAddToDatabase(TextReader reader, String dbFilename, String registryUrl)
           at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.<>c__DisplayClass23_2.<ExecuteAsync>b__2()
           at System.Threading.Tasks.Task.InnerInvoke()
           at System.Threading.Tasks.Task.Execute()
        --- End of stack trace from previous location where exception was thrown ---
           at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
           at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
           at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.<ExecuteAsync>d__23.MoveNext()
        --- End of stack trace from previous location where exception was thrown ---
           at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
           at Microsoft.NodejsTools.Npm.SPI.NpmCommander.NmpCommandRunner.<ExecuteAsync>d__2.MoveNext()
        --- End of stack trace from previous location where exception was thrown ---
           at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
           at Microsoft.NodejsTools.Npm.SPI.NpmCommander.<DoCommandExecute>d__12.MoveNext()
    

    Product: ProGet
    Version: 4.6.7



  • It's had to say what the issue is; you'll need to attach Fiddler and find the specific URL and response that's causing the error message.



  • Alana,

    I think it maybe a UTC boom...
    I will try today to "fiddler" it.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation