question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Next.js 13 and turbopack support

See original GitHub issue

1. Read the FAQs 👇

2. Describe the bug

Give a clear and concise description of what the bug is.

scrapeMotionValuesFromProps is not defined when running framer motion with Next.js 13 and turbopack.

3. IMPORTANT: Provide a CodeSandbox reproduction of the bug

https://codesandbox.io/p/sandbox/compassionate-wing-33omuu

A CodeSandbox minimal reproduction will allow us to quickly follow the reproduction steps. Without one, this bug report won’t be accepted.

4. Steps to reproduce

Steps to reproduce the behavior: Run the development server using turbopack yarn dev --turbo

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
EtZetacommented, Nov 24, 2022

Same problem here, got ReferenceError: scrapeMotionValuesFromProps is not defined.

I tried this

'use client';

import { AnimatePresence } from "framer-motion"

export default AnimatePresence

But it didn’t work

1reaction
mattgperrycommented, Nov 4, 2022

I’m gonna keep this open to keep aware of it but I suspect you’ll have better luck giving this report to Vercel as there’s nothing odd or unique about this import.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[turbopack] Next.js v13 with Turbopack doesn't support rewrite ...
Error : You are using configuration and/or tools that are not yet supported by Next.js v13 with Turbopack: Unsupported Next.js configuration option(s) ...
Read more >
Advanced Features: Turbopack | Next.js
Turbopack is an incremental bundler optimized for JavaScript and TypeScript, written in Rust, and built into Next.js 13. On large applications Turbopack updates ......
Read more >
When I run Next.js 13 with turbopack I get "TypeError - Reddit
When I run Next.js 13 with turbopack I get "TypeError: Class extends value #" but no error with webpack. I have an app...
Read more >
When I run Next.js 13 with turbopack I get "TypeError
js 13 with turbopack I get "TypeError: Class extends value #" but no error with webpack · Ask Question. Asked 1 month ago....
Read more >
Next.js - Sentry Documentation
js version 13 is itself supported, the new features it introduces are not yet. In particular, building with Turbopack will currently cause the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found