2017-05-08 49 views
3

我的包在我的stack.yaml包含github。當我運行堆棧解析器時,我收到以下消息:No extra-dep setting found for package at URL:堆棧:什麼意思是「沒有在URL上找到包的額外設置」

我無法在這種情況下找到堆棧文檔中的文檔。警告表明什麼?需要採取哪些糾正措施?

flags: {} 
extra-package-dbs: [] 
packages: 
- '.' 
- location: /home/frank/Workspace8/repo8/uniform/uniform-algebras 
    extra-dep: true 
- location: /home/frank/Workspace8/repo8/uniform/uniform-time 
    extra-dep: true 
- location: 
     git: https://github.com/andrewufrank/uniform-strings.git 
     commit: ba8bd37567758c1807bf470b3dda4f471cee0f5f 
     extra-dep: true 
- location: 
     git: https://github.com/andrewufrank/uniform-error.git 
     commit: 46c62fcf8b4d6b7a5a9a3622c724ab573fce295d 
     extra-dep: true 
extra-deps: 
- data-easy-0.7.0 
- pipes-4.3.2 
resolver: lts-8.13 

回答

0

這只是一個警告信息,可以安全地忽略它。不知道爲什麼這樣的警告會出現,不過,包似乎要被打上「特DEP:真正的」

10

,您會收到錯誤消息,因爲最後兩個包的位置對在YAML錯誤水平extra-dep場層次結構。 Stack沒有從它預期的位置找到它們,並且相應地表現出來。

要解決的問題,您應該移動領域了在層次結構如下:

- location: 
     git: https://github.com/andrewufrank/uniform-strings.git 
     commit: ba8bd37567758c1807bf470b3dda4f471cee0f5f 
    extra-dep: true 
- location: 
     git: https://github.com/andrewufrank/uniform-error.git 
     commit: 46c62fcf8b4d6b7a5a9a3622c724ab573fce295d 
    extra-dep: true 

無視警告,並在堆棧關於依賴性作爲項目的一部分,沒有固定的問題的結果。例如,當您要求Stack在您的項目中運行測試時,它也會嘗試在這些依賴項中運行測試。通常這是不需要的而且相當混亂。

相關問題