Hi,
I have created a package, to be shared with colleagues (via a zip… I know…). Unpacked, the folder structure is
C:/.../Lithe/
.git
docs/
src/
Lithe.jl
MoreStuff.jl
test/
Manifest.toml
Project.toml
and the Project.toml
is
name = "Lithe"
uuid = "fc63d2cd-8c42-4a5a-b72e-39d79328fe4b"
authors = ["Philippe Maincon <philippe.maincon@sintef.no>"]
version = "0.1.0"
[deps]
AbaqusReader = "bc6b9049-e460-56d6-94b4-a597b2c0390d"
FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549"
GLMakie = "e9467ef8-e4e7-5192-8a1a-b1aee30e663a"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
Packaging = "fd63d2cd-8b42-4a5f-b92e-39d79428fe4b"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
Ratios = "c84ed2f1-dad5-54f0-aa8e-dbefe2724439"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
[compat]
julia = "1.6.0"
[extras]
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
Debugger = "31a5f54b-26ea-5ae9-a837-f05ce5417438"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
Revise = "295af30f-e4ad-537b-8983-00126c2a3abe"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
[targets]
test = ["Test", "BenchmarkTools", "Debugger", "Documenter", "Logging", "Revise"]
I then try to open the package for development (on a “greenfield” computer) to prepare setup instructions for my package, but I get an error which I struggle to correct:
] dev "C:/.../Lithe/"
Error: could not find project file in package at "C:/.../Lithe/" maybe `subdir` needs to be specified
Does that ring any bells? Would a failure to parse Project.toml
cause this error? Why don’t I get this error on my other (development) computer?
Edit:
I tried the same installation on yet another computer and do not get said error. Confusion has been achieved!