Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ServerDirective transform which reports unsupported #4477

Merged
merged 1 commit into from
Apr 6, 2023

Conversation

sokra
Copy link
Member

@sokra sokra commented Apr 5, 2023

Description

"use server" isn't supported yet, but we want to have an error message

@vercel
Copy link

vercel bot commented Apr 5, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

11 Ignored Deployments
Name Status Preview Comments Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Apr 5, 2023 11:12pm
examples-cra-web ⬜️ Ignored (Inspect) Apr 5, 2023 11:12pm
examples-designsystem-docs ⬜️ Ignored (Inspect) Apr 5, 2023 11:12pm
examples-gatsby-web ⬜️ Ignored (Inspect) Apr 5, 2023 11:12pm
examples-kitchensink-blog ⬜️ Ignored (Inspect) Apr 5, 2023 11:12pm
examples-native-web ⬜️ Ignored (Inspect) Apr 5, 2023 11:12pm
examples-nonmonorepo ⬜️ Ignored (Inspect) Apr 5, 2023 11:12pm
examples-svelte-web ⬜️ Ignored (Inspect) Apr 5, 2023 11:12pm
examples-tailwind-web ⬜️ Ignored (Inspect) Apr 5, 2023 11:12pm
examples-vite-web ⬜️ Ignored (Inspect) Apr 5, 2023 11:12pm
turbo-site ⬜️ Ignored (Inspect) Visit Preview Apr 5, 2023 11:12pm

@github-actions
Copy link
Contributor

github-actions bot commented Apr 5, 2023

✅ This changes can build next-swc

@github-actions
Copy link
Contributor

github-actions bot commented Apr 5, 2023

🟢 CI successful 🟢

Thanks

@sokra sokra marked this pull request as ready for review April 5, 2023 21:35
@sokra sokra requested a review from a team as a code owner April 5, 2023 21:35
@sokra sokra requested a review from jridgewell April 5, 2023 21:39
@sokra sokra merged commit 8d14e70 into main Apr 6, 2023
@sokra sokra deleted the sokra/use-server-error branch April 6, 2023 10:32
sokra added a commit to vercel/next.js that referenced this pull request Apr 6, 2023
### What?

Add a error message when using "use server".

* vercel/turborepo#4477 <!-- Tobias Koppers - add
ServerDirective transform which reports unsupported -->


### Why?

Turbopack doesn't support "use server" yet.

### Other turbopack updates

* vercel/turborepo#4464 <!-- Justin Ridgewell -
Better dotenv error messages -->
* vercel/turborepo#4485 <!-- Justin Ridgewell - Add
ServerAddr::hostname method -->
Copy link
Contributor

@jridgewell jridgewell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

sokra added a commit to vercel/next.js that referenced this pull request Apr 6, 2023
### What?

Add a error message when using "use server".

* vercel/turborepo#4477 <!-- Tobias Koppers - add
ServerDirective transform which reports unsupported -->


### Why?

Turbopack doesn't support "use server" yet.

### Other turbopack updates

* vercel/turborepo#4464 <!-- Justin Ridgewell -
Better dotenv error messages -->
* vercel/turborepo#4485 <!-- Justin Ridgewell - Add
ServerAddr::hostname method -->
sokra added a commit to vercel/next.js that referenced this pull request Apr 6, 2023
### What?

Add a error message when using "use server".

* vercel/turborepo#4477 <!-- Tobias Koppers - add
ServerDirective transform which reports unsupported -->


### Why?

Turbopack doesn't support "use server" yet.

### Other turbopack updates

* vercel/turborepo#4464 <!-- Justin Ridgewell -
Better dotenv error messages -->
* vercel/turborepo#4485 <!-- Justin Ridgewell - Add
ServerAddr::hostname method -->
sokra added a commit to vercel/next.js that referenced this pull request Apr 6, 2023
### What?

Add a error message when using "use server".

* vercel/turborepo#4477 <!-- Tobias Koppers - add
ServerDirective transform which reports unsupported -->


### Why?

Turbopack doesn't support "use server" yet.

### Other turbopack updates

* vercel/turborepo#4464 <!-- Justin Ridgewell -
Better dotenv error messages -->
* vercel/turborepo#4485 <!-- Justin Ridgewell - Add
ServerAddr::hostname method -->
sokra added a commit to vercel/next.js that referenced this pull request Apr 6, 2023
### What?

Add a error message when using "use server".

* vercel/turborepo#4477 <!-- Tobias Koppers - add
ServerDirective transform which reports unsupported -->


### Why?

Turbopack doesn't support "use server" yet.

### Other turbopack updates

* vercel/turborepo#4464 <!-- Justin Ridgewell -
Better dotenv error messages -->
* vercel/turborepo#4485 <!-- Justin Ridgewell - Add
ServerAddr::hostname method -->
sokra added a commit to vercel/next.js that referenced this pull request Apr 6, 2023
### What?

Add a error message when using "use server".

* vercel/turborepo#4477 <!-- Tobias Koppers - add
ServerDirective transform which reports unsupported -->


### Why?

Turbopack doesn't support "use server" yet.

### Other turbopack updates

* vercel/turborepo#4464 <!-- Justin Ridgewell -
Better dotenv error messages -->
* vercel/turborepo#4485 <!-- Justin Ridgewell - Add
ServerAddr::hostname method -->
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Jul 25, 2024
…repo#4477)

### Description

"use server" isn't supported yet, but we want to have an error message
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Jul 29, 2024
…repo#4477)

### Description

"use server" isn't supported yet, but we want to have an error message
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Aug 1, 2024
…repo#4477)

### Description

"use server" isn't supported yet, but we want to have an error message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants