Skip to content
This repository has been archived by the owner on Oct 29, 2021. It is now read-only.
This repository has been archived by the owner on Oct 29, 2021. It is now read-only.

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

Open
thSoft opened this issue Sep 2, 2017 · 0 comments
Open

Comments

@thSoft
Copy link

thSoft commented Sep 2, 2017

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant