question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error message when typing mono .paket/paket.exe init

See original GitHub issue

Good day,

I have started to learn F# development recently and I cannot work with Paket package manager. When I try to init my project with command mono .paket/paket.exe init on macOS Sierra, I get an error message that says this: Paket version 3.33.4 Paket failed with: The type initializer for 'Paket.Constants' threw an exception.

Is this some kind of bug or I am doing something wrong? I am currently following book “Analyzing and Visualizing Data with F#”

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
gantriorcommented, May 29, 2017

I had the same issue and figured out that nuget cache was incorrectly configured and inaccessible. So fix for me was verifying “NuGetCachePath” environment variable and fixing its path. It is unfortunate that error describing that was seen only within 3 inner-exceptions (so only when debugging Paket), so not very obvious from exception message thrown to console…

0reactions
enricosadacommented, Jan 24, 2018

Closing, was an environment issue.

added https://github.com/fsprojects/Paket/issues/3010 to track to add a log instead of just crash

Read more comments on GitHub >

github_iconTop Results From Across the Web

Forge does not create working projects under Linux · Issue #68
paket/paket.exe" install Checking Paket version (version install requested)... Input string was not in a correct format. (Github - cached) mono "/coding/.paket/ ...
Read more >
Creating F# solutions in VSCode from scratch
Now, to create your project, hit Ctrl+Shift+P and start typing new ... mono .paket/paket.exe init $ mono .paket/paket.exe add --project ...
Read more >
WebSharper: From Zero to an Azure-deployed Web ...
This particular project was created as a Single-Page Application; this project type was chosen because the application runs on a single page and ......
Read more >
Angular 8 How to connect Angular tutorial Tour of ...
I need some pointers! My goal is to connect the tutorial to back-end using EF. The tour of the heroes uses in-memory-data.service, ...
Read more >
Release Notes
Release Notes. 6.0.0 - 2023-02-20. ENHANCEMENT: Site UI fixes and documentation link fixes. 6.0.0-beta001 - 2022-12-21. BUGFIX: Error detecting msbuild ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found