Skip to content

Unable to use purescript-d3 on current purescript #20

@arafangion

Description

@arafangion

When I do the following:

pulp --version
Pulp version 9.0.1
psc version 0.9.1 using /usr/local/bin/psc

pulp init # For a new project
bower install purescript-d3 --save

I get conflicting dependencies as follows:

Unable to find a suitable version for purescript-eff, please choose one by typing one of the >numbers below:

  1. purescript-eff#^0.1.0 which resolved to 0.1.2 and is required by purescript-st#0.1.1
  2. purescript-eff#^1.0.0 which resolved to 1.0.0 and is required by purescript-console#1.0.0

And neither of these options work.

I suspect that using the master branch will work, however bower currently seems to use v0.7.0, which still exhibits this issue.

Update: Yes, using the master build does work, although it builds with 17 warnings, all of which are much the same:

Warning 1 of 17:

in module Graphics.D3.Interpolate
at /Users/arahael/dev/tmp/bower_components/purescript-d3/src/Interpolate.purs line 8, column 1 - line 8, column 28

No type declaration was provided for the top-level declaration of ffi.
It is good practice to provide type declarations as a form of documentation.
The inferred type of ffi was:

 forall a. Array String -> String -> a

in value declaration ffi

See https://github.com/purescript/purescript/wiki/Error-Code-MissingTypeDeclaration for more information,
or to contribute content related to this warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions