Comments (6)
The issue was npm i fountain.ts
(not npm i fountain) and also importing fountain.ts
(not fountain
)
import from 'fountain'
is a totally different package.
from fountain-js.
I'm trying to import it to a browser-based SvelteKit JS project.
from fountain-js.
I'm looking into this, but just as an update for you.
I ran my tests against Node v16.14.0
and they all came out passing. In fact I did a bit of upgrading to the testing suite just because there were some deprecated methods in there and everything still appears to be working fine.
Reading into this, this seems to be a fairly common issue in Vite and I did find references that indicated using older versions of Vite like 2.7x could help resolve this issue in the meantime.
Ultimately, it does seem like its something missing in my package like perhaps the modules
field as best I can tell.
Overall, I am still fairly new to all of this so I'm going to keep digging into this and let you know once I get something solid to work with.
from fountain-js.
I don't think the new version is registered with npm.
from fountain-js.
Apologies, I just meant that I updated my testing suite earlier, which would have not gone to NPM; however, I have just published v0.1.3
and will hopefully be up shortly.
Many thanks to @rezonant for the assist.
from fountain-js.
Yup! I just realized my README was wrong too. 🤦♀️
This is now updated.
from fountain-js.
Related Issues (8)
- Question: Nesting dialog HOT 1
- Character names with hashes (#) are parsed incorrectly HOT 4
- Action with a newline gets a <br /> inserted HOT 3
- Parentheticals can't be italicized HOT 6
- SyntaxError: Invalid regular expression: invalid group specifier name RegExp — rules.ts:23
- differences with mattdaly/Fountain.js HOT 3
- Doesn't seem to recognise `!` and `@` HOT 17
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 fountain-js.