Comments (5)
Hi @Andrew-Bootsma,
It sounds like this might be related to a bundler issue. Have you followed the following instructions on Brian's course website?
from intro-to-web-dev-v2.
Thank you for the response @laniehei
I have repeated the necessary steps from the link that you sent and I am still getting an error. The error message is now
Uncaught TypeError: (0 , _popmotion.styler) is not a function at Object.parcelRequire.animation.js.popmotion (animation.js:3) at newRequire (animation.7bfd2d21.js:47) at animation.7bfd2d21.js:81 at animation.7bfd2d21.js:120
from intro-to-web-dev-v2.
Hi @Andrew-Bootsma,
First, I would try to delete your node modules and reinstall. If this doesn't work, it seems like it's having an issue with the styler package within Popmotion. Do you have import { styler, value, listen, pointer, spring } from "popmotion";
at the top of your file? What happens if you change the order of the imports?
from intro-to-web-dev-v2.
Thank you for the response @laniehei
I have repeated the necessary steps from the link that you sent and I am still getting an error. The error message is now
Uncaught TypeError: (0 , _popmotion.styler) is not a function at Object.parcelRequire.animation.js.popmotion (animation.js:3) at newRequire (animation.7bfd2d21.js:47) at animation.7bfd2d21.js:81 at animation.7bfd2d21.js:120
Having the same issues. In the end I gave up. Not sure what the issue is but yeah, it doesn't work through node for some reason,
from intro-to-web-dev-v2.
hey @Andrew-Bootsma @FarfamaH
I had the same issue, fixed it with changing the dependency in the package.json to "popmotion": "8.1.24",
and import * as popmotion from "popmotion"
in the animation.js
seems like they had an api change.
hope this helps.
from intro-to-web-dev-v2.
Related Issues (11)
- Terminal gives me a lot of errors :( HOT 1
- 404s at JS-Project HOT 1
- event parameter missing from calculator exercise HOT 1
- Event Delegation Example Issue HOT 2
- Images src links are broken HOT 1
- Brian Holt
- js-project.md
- "Compliment", not "Complement"
- Incompatible node.js versione
- HTML CSS PROJECT LINK NOT FOUND HOT 2
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 intro-to-web-dev-v2.