Comments (5)
The version of PureScript is not pinned in package.json
, and the project doesn't build with the current version (0.14.5). Looking for a solution I found this open issue, and based on the comment above I thought (part of) the solution would be to pin PureScript to 0.11.6. However, npm
fails to install that version.
The earliest PureScript version npm
did manage to install for me is 0.12.0
– but that already breaks the build.
I'm new to this repository and also to PureScript; I intend to dig a little into it and see if I can work something out, but maybe someone else who's more familiar (e.g. @sharkdp, @wlnirvana) can lend a hand in moving this forward?
Let's get this repository working again!
from cube-composer.
That would be great, yes. Thank you.
from cube-composer.
So, in order to use PureScript 0.12.0, I updated the dependencies to the following:
"purescript-arrays": "^5.0.0",
"purescript-console": "^4.0.0",
"purescript-enums": "^4.0.0",
"purescript-foldable-traversable": "^4.0.0",
"purescript-integers": "^4.0.0",
"purescript-math": "^2.0.0",
"purescript-nullable": "^4.0.0",
"purescript-strings": "^4.0.0",
Note I removed the deprecated purescript-dom
, which only works with versions prior to 0.12.x.
I also had a problem with purescript-isometric
, whose latest release (3.0.0) is older than 0.12.x, and whose inclusion caused a lot of version conflicts in dependencies. But the GitHub repository has a newer state which just hasn't been released (yet), so I solved the issue temporarily by taking src
– along with the dependencies in bower.json
– from the current snapshot and embedding them in (my local copy of) this code base.
With that I managed to bower install
.
But many things in the code base need to be updated in order for it to compile:
- anything using the deprecated
purescript-eff
(Control.Monad.Eff
); - anything using the deprecated
purescript-maps
(Data.StrMap
); - anything using the deprecated
purescript-dom
; - possibly other stuff.
Being unfamiliar with the language and with this code base, this is a bit too much for me to tackle on my own. @sharkdp, would you like to pair up on it? Hopefully, after an initial joint session to introduce me to some of the specifics I should be able to continue by myself.
Or maybe someone else can do it.
Or alternatively, maybe someone can find a way to install PureScript 0.11.x – this should make everything much simpler.
from cube-composer.
Thank you for looking into this, @tomyuval. I'm not very active in the PureScript community anymore and therefore not familiar with recent updates to all the core libraries and the tooling changes. I currently don't have the time to help with getting this up & running again, but I should find some time to review PRs, if you (or someone else) wants to help.
Maybe you could ask the PureScript community for help? They have been very supportive in the past. Not sure where the best place to ask would be though. Maybe https://www.reddit.com/r/purescript/?
from cube-composer.
Thanks, @sharkdp.
Eventually I figured it out: pinning PureScript to 0.11.6 does work (what happened before is I used ^0.11.6
which was resolved to 0.11.7, and that didn't work).
With #45 I managed to build the project locally without any problem.
from cube-composer.
Related Issues (20)
- Import and export of programs
- Boundary checks
- What is map(+1)? HOT 4
- Show level status in drop down
- Support smaller screen sizes HOT 3
- Drag and drop is broken on the iPad
- Show function applications next to results HOT 3
- Mobile version using ReactNative HOT 17
- License for the repository? HOT 3
- 3.1 - Brick(Easy) error HOT 1
- Level 4.1 solution not recognized HOT 4
- Allow localization to other languages HOT 3
- The function dialog sometimes obscures the view (perhaps allow to drag+move it?) HOT 1
- Add option to reset all levels HOT 1
- How launch cube-composer in our local environment,thanks HOT 5
- Let players know if better solutions were possible HOT 3
- Click and drag doesn't work on Chrome or Firefox HOT 2
- enhancement: For the mathematical puzzles, add a numeric label to each column. HOT 1
- enhancement: For the mathematical puzzles, add a numeric label to each column. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cube-composer.