Seems like the same error we had a few weeks ago. git submodule update
was run before. install_deps.sh
and full_run.sh
are currently broken. Since run.sh
also builds before running, it is broken aswell so not even the latest working build is started.
install_deps.sh
seems to try to build a new version of purescript instad of using the purs
that is already in PATH.
which purs
and purs --version
grant the expected results.
~/Projects/simple-text-html $ ./install_deps.sh
> [email protected] postinstall /home/pi/Projects/simple-text-html/node/node_modules/purescript
> install-purescript --purs-ver=0.13.5
✖ Check if a prebuilt 0.13.5 binary is provided for linux
No prebuilt PureScript binary is provided for x86 architecture.
▬ Download the prebuilt PureScript binary
▬ Verify the prebuilt binary works correctly
▬ Save the downloaded binary to the npm cache directory
↓ Fallback: building from source
/home/pi/Projects/simple-text-html/node/node_modules/zen-observable/lib/Observable.js:65
throw e;
^
TypeError: Cannot read property 'has' of undefined
at getCurrentTask (/home/pi/Projects/simple-text-html/node/node_modules/purescript-installer/index.js:308:24)
at Object.next (/home/pi/Projects/simple-text-html/node/node_modules/purescript-installer/index.js:374:16)
at notifySubscription (/home/pi/Projects/simple-text-html/node/node_modules/zen-observable/lib/Observable.js:135:18)
at onNotify (/home/pi/Projects/simple-text-html/node/node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.next (/home/pi/Projects/simple-text-html/node/node_modules/zen-observable/lib/Observable.js:235:7)
at Object.next (/home/pi/Projects/simple-text-html/node/node_modules/purescript-installer/install-purescript/index.js:90:15)
at notifySubscription (/home/pi/Projects/simple-text-html/node/node_modules/zen-observable/lib/Observable.js:135:18)
at onNotify (/home/pi/Projects/simple-text-html/node/node_modules/zen-observable/lib/Observable.js:179:3)
at SubscriptionObserver.next (/home/pi/Projects/simple-text-html/node/node_modules/zen-observable/lib/Observable.js:235:7)
at /home/pi/Projects/simple-text-html/node/node_modules/purescript-installer/download-or-build-purescript/index.js:246:13
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `install-purescript --purs-ver=0.13.5`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2019-12-10T23_35_35_953Z-debug.log
bower extra-resolution Unnecessary resolution: purescript-web-events#^2.0.0
Error 1 of 10:
in module Main
at src/Main.purs:17:1 - 17:60 (line 17, column 1 - line 17, column 60)
Module Node.Express.App was not found.
Make sure the source file exists, and that it has been provided as an input to the compiler.
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 10:
in module Main
at src/Main.purs:19:1 - 19:47 (line 19, column 1 - line 19, column 47)
Module Node.Express.Middleware.Static was not found.
Make sure the source file exists, and that it has been provided as an input to the compiler.
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 10:
in module Middleware.Middleware
at src/Middleware/Middleware.purs:7:1 - 7:52 (line 7, column 1 - line 7, column 52)
Module Node.Express.Handler was not found.
Make sure the source file exists, and that it has been provided as an input to the compiler.
See https://github.com/purescript/documentation/blob/master/errors/ModuleNotFound.md for more information,
or to contribute content related to this error.
Error 4 of 10:
in module Middleware.Middleware
at src/Middleware/Middleware.purs:8:1 - 8:46 (line 8, column 1 - line 8, column 46)
Module Node.Express.Types was not found.
Make sure the source file exists, and that it has been provided as an input to the compiler.
See https://github.com/purescript/documentation/blob/master/errors/ModuleNotFound.md for more information,
or to contribute content related to this error.
Error 5 of 10:
in module Handlers
at src/Handlers.purs:19:1 - 19:67 (line 19, column 1 - line 19, column 67)
Module Node.Express.Request was not found.
Make sure the source file exists, and that it has been provided as an input to the compiler.
See https://github.com/purescript/documentation/blob/master/errors/ModuleNotFound.md for more information,
or to contribute content related to this error.
Error 6 of 10:
in module Handlers
at src/Handlers.purs:20:1 - 20:51 (line 20, column 1 - line 20, column 51)
Module Node.Express.Response was not found.
Make sure the source file exists, and that it has been provided as an input to the compiler.
See https://github.com/purescript/documentation/blob/master/errors/ModuleNotFound.md for more information,
or to contribute content related to this error.
Error 7 of 10:
in module Handlers
at src/Handlers.purs:21:1 - 21:44 (line 21, column 1 - line 21, column 44)
Module Node.Express.Handler was not found.
Make sure the source file exists, and that it has been provided as an input to the compiler.
See https://github.com/purescript/documentation/blob/master/errors/ModuleNotFound.md for more information,
or to contribute content related to this error.
Error 8 of 10:
in module Handlers
at src/Handlers.purs:22:1 - 22:42 (line 22, column 1 - line 22, column 42)
Module Node.Express.Types was not found.
Make sure the source file exists, and that it has been provided as an input to the compiler.
See https://github.com/purescript/documentation/blob/master/errors/ModuleNotFound.md for more information,
or to contribute content related to this error.
Error 9 of 10:
in module Node.Express.Ws
at src/Node/Express/Ws.purs:14:1 - 14:47 (line 14, column 1 - line 14, column 47)
Module Node.Express.App was not found.
Make sure the source file exists, and that it has been provided as an input to the compiler.
See https://github.com/purescript/documentation/blob/master/errors/ModuleNotFound.md for more information,
or to contribute content related to this error.
Error 10 of 10:
in module Node.Express.Ws
at src/Node/Express/Ws.purs:15:1 - 15:88 (line 15, column 1 - line 15, column 88)
Module Node.Express.Types was not found.
Make sure the source file exists, and that it has been provided as an input to the compiler.
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