Comments (5)
@tameemsafi I initialized the project using the default webpack for next.js app by running "npx create-next-app". I didn't modify anything in the webpack configuration, you can give it a try and use the package while running the project and then kill the server and start the project again, then it'll give you the same error.
I ended up using this package which was working fine with my project ...
https://www.npmjs.com/package/react-rotating-text
from typewriterjs.
@Shaker-Hamdi @roma-glushko I have fixed this issue now. Please update to v2.11.0
. The issue was related to an issue with webpack 4 that has been fixed in webpack 5 (webpack/webpack#8625).
from typewriterjs.
@Shaker-Hamdi This error is usually because it is running the code in node which does not have access to the window object. Could you let me know how you have setup your app? which webpack plugins are you using?
from typewriterjs.
@tameemsafi @Shaker-Hamdi the same issue comes when I require typewriterjs to the default gatsby starter project:
https://github.com/roma-glushko/roma-glushko.github.io
Output during gatsby build
command:
Any ideas on how to fix this issue?
from typewriterjs.
@roma-glushko Just use the package I referenced in my first comment, or this one, which is pretty cool as well ...
https://www.npmjs.com/package/react-typed
from typewriterjs.
Related Issues (20)
- How long is the time interval between letters when the delay option is set to 0? HOT 1
- TypewriterJS not working in a next.js app router HOT 2
- Typo HOT 2
- Add `map` files HOT 1
- Typewriter paused when tab/window is not active HOT 1
- Feature Request: Method to ClearAll immediately. HOT 7
- Can I attach a css class to it? When I add a class to the parent element to set a custom font, it doesn't work. HOT 1
- Issue with iPhone & RTL HOT 2
- Can i change de delay value meanwhile the effect is active?
- [Feature request] Add option to skip typing certain tags
- Font Size for style wrapper not working
- TypeScript: Type Error when injecting graphemeSplitter on stringSplitter `option` as per the documented demo
- Doesnt work with emojis HOT 2
- Why does it delete the text??
- Feature Request - Add Option for Wrapper to Get Height of Fully Typed Content HOT 1
- Safari does not connect scripts / apply opentype font features / kerning to text created with createTextNode HOT 1
- CDN version is broken
- How to completely stop the typing using React
- How to display initial text?
- Incorrect results when combining sequences of typeString (wrapped in HTML tag) and deleteChars
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 typewriterjs.