outwatch / purescript-outwatch

A functional and reactive UI framework based on Rx and VirtualDom
https://outwatch.github.io/?lang=purescript
Apache License 2.0
34 stars 5 forks source link

Module not found errors when trying Getting Started with PureScript #16

Open thSoft opened 7 years ago

thSoft commented 7 years ago

OS: macOS 10.12.4 npm: 3.10.10 purescript-outwatch: 0.7.0

Run:

npm install -g purescript pulp bower
pulp init
bower install purescript-outwatch
npm install rxjs snabbdom

Edit src/Main.purs:

module Main where

import OutWatch

main = render "#app" (h1 [text "Hello World"])

Create index.html:

<body>
  <div id="app"></div>
  <script type="text/javascript" src="index.js"></script>
</body>

Run:

pulp --watch browserify --to index.js

Output:

Error 1 of 3:

  in module RxJS.Observable
  at bower_components/purescript-rxps/src/RxJS/Observable.purs line 117, column 1 - line 117, column 52

    Module Test.QuickCheck was not found.
    Make sure the source file exists, and that it has been provided as an input to psc.

  See https://github.com/purescript/documentation/blob/master/errors/ModuleNotFound.md for more information,
  or to contribute content related to this error.

Error 2 of 3:

  in module RxJS.Observable
  at bower_components/purescript-rxps/src/RxJS/Observable.purs line 118, column 1 - line 118, column 37

    Module Test.QuickCheck.Gen was not found.
    Make sure the source file exists, and that it has been provided as an input to psc.

  See https://github.com/purescript/documentation/blob/master/errors/ModuleNotFound.md for more information,
  or to contribute content related to this error.

Error 3 of 3:

  in module Main
  at src/Main.purs line 3, column 1 - line 3, column 16

    Module OutWatch was not found.
    Make sure the source file exists, and that it has been provided as an input to psc.

  See https://github.com/purescript/documentation/blob/master/errors/ModuleNotFound.md for more information,
  or to contribute content related to this error.

* ERROR: Subcommand terminated with exit code 1