Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in Building the Project #27

Open
sajalcody opened this issue Apr 7, 2019 · 7 comments
Open

Errors in Building the Project #27

sajalcody opened this issue Apr 7, 2019 · 7 comments

Comments

@sajalcody
Copy link

Building project in C:\Users~\purescript-presto\examples\billpay-react
Error 1 of 5:

at bower_components\purescript-strings\src\Data\String\NonEmpty\Internal.purs line 37, column 1 - line 37, column 1

Unable to parse module:
unexpected "else"
expecting declaration or end of input

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

Error 2 of 5:

at bower_components\purescript-psci-support\src\PSCI\Support.purs line 21, column 1 - line 21, column 1

Unable to parse module:
unexpected "else"
expecting declaration or end of input

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

Error 3 of 5:

at bower_components\purescript-functors\src\Data\Functor\Coproduct\Inject.purs line 17, column 1 - line 17, column 1

Unable to parse module:
unexpected "else"
expecting declaration or end of input

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

Error 4 of 5:

at bower_components\purescript-foreign-generic\src\Foreign\Generic\Class.purs line 183, column 1 - line 183, column 1

Unable to parse module:
unexpected "else"
expecting declaration or end of input

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

Error 5 of 5:

at bower_components\purescript-either\src\Data\Either\Inject.purs line 16, column 1 - line 16, column 1

Unable to parse module:
unexpected "else"
expecting declaration or end of input

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

  • ERROR: Subcommand terminated with exit code 1
@aravindgopall
Copy link
Contributor

aravindgopall commented Apr 8, 2019

The issue occurred because of version mismatch
If you are using purescript version 0.12 try latest master
Else use v0.3.0 tag and try

@sajalcody
Copy link
Author

The issue occurred because of version mismatch
If you are using purescript version 0.12 try latest master
Else use v0.3.0 tag and try

My purs version is 0.11.7

@sajalcody
Copy link
Author

Else use v0.3.0 tag and try

The Error is still the same

@iAmMrinal0
Copy link
Contributor

Can you delete the output directory and try to build again. Make sure the version matches the ones below.

Pulp version: 11.0.0
purs version: 0.11.7
purescript-presto: 0.3.0

@sajalcody
Copy link
Author

Can you delete the output directory and try to build again. Make sure the version matches the ones below.

Pulp version: 11.0.0
purs version: 0.11.7
purescript-presto: 0.3.0

My versions are different.
I have upgraded the purs to 0.12.3

@aravindgopall
Copy link
Contributor

Can you delete
bower_components,
output folder,
.bowerrc,
.pulp_cache files
Then try to build again on master branch with your current version (0.12.3)

@sajalcody
Copy link
Author

Can you delete
bower_components,
output folder,
.bowerrc,
.pulp_cache files
Then try to build again on master branch with your current version (0.12.3)

Build Successful.

But, localhost8080/dist is not getting connected. Please help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants