Comments (3)
We don't provide FFI shims for all libraries in the PureScript package sets; you can't execute Node libraries on Try PureScript, but the compiler will still happily typecheck it for you.
from trypurescript.
It's possible to catch this error and bubble it up to the Halogen application, displaying a message to the user directly. However, since the core team is currently working on a new compiler release and the new registry I think it's unlikely anyone gets to it in the near term. That said, I'd certainly accept pull requests that help surface this error or a warning to the user!
from trypurescript.
Thanks for the quick reply.
Maybe it'd be helpful to add it to the doc? Or try to provide a meaningful error message to users when that happens?
from trypurescript.
Related Issues (20)
- Migrate to GH Actions
- Deploy latest version? HOT 1
- Usage of React.Basic.Hooks is broken HOT 2
- Loading continues even after loading screen disappears HOT 2
- Proposal: Load foreign code with ES Module Shims and import maps HOT 5
- Proposal: Introduce `esbuild` for Try PureScript
- Type search "/search" endpoint not working
- Update to 0.15.0 compiler HOT 1
- Try PureScript is broken HOT 1
- How to deal with warnings in examples? HOT 2
- Uncaught ReferenceError: main is not defined HOT 3
- NPM dependency shims no longer work on Firefox 102.1? HOT 4
- Missing Effect import in examples
- User-inputted module's `main` call called twice HOT 7
- Proposal: Add the es-optimizer as an option for ShowJS HOT 1
- Publish as a library HOT 1
- The fallback github url has additional "/" in path HOT 4
- Code editor is difficult to use in iOS Safari
- Add options for bare-bones use
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 trypurescript.