msgpack4nim icon indicating copy to clipboard operation
msgpack4nim copied to clipboard

Package 'msgpack4nim' has an incorrect structure

Open kdheepak opened this issue 4 years ago • 1 comments

When I try to install msgpack4nim, I get the following warning. I wanted to open an issue to track this issue.

 Installing msgpack4nim@>= 0.2.2
Downloading https://github.com/jangko/msgpack4nim using git
   Warning: Package 'msgpack4nim' has an incorrect structure. The top level of the package source directory should contain at most one module, named 'msgpack4nim.nim', but a file named 'msgpack4collection.nim' was found. This will be an error in the future.
      Hint: If this is the primary source file in the package, rename it to 'msgpack4nim.nim'. If it's a source file required by the main module, or if it is one of several modules exposed by 'msgpack4nim', then move it into a 'msgpack4nim/' subdirectory. If it's a test file or otherwise not required to build the the package 'msgpack4nim.nim', prevent its installation by adding `skipFiles = @["msgpack4collection.nim"]` to the .nimble file. See https://github.com/nim-lang/nimble#libraries for more info.
  Verifying dependencies for [email protected]
 Installing [email protected]
   Success: msgpack4nim installed successfully.

kdheepak avatar Jan 03 '20 18:01 kdheepak

fixing this issue will introduce breaking changes. I have add deprecated warning. and we can truly fix this issue after some release in the future.

jangko avatar Jan 04 '20 03:01 jangko