-
Notifications
You must be signed in to change notification settings - Fork 8
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
run next dev found some error #4
Comments
I found that must use |
looks like |
yoieh
added a commit
to yoieh/next-plugin-websocket
that referenced
this issue
Apr 10, 2023
fixed: sam3d#4 `ensureApiPage` was removed in v13.1.7-cannary.14 https://github.com/vercel/next.js/pull/45716/files#diff-2f6fd5a9538abfaf3d5b76a82a8d1ffa029f84a36f0cdae5460520c5cfc2db6bL1402
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi sam3d,
nice job! the way use websocket is very clean and easy. today i tried this plugin , but found a error in the output log.
this.ensureApiPage
is not a function!can you give a full example ? thank u
env
node = 16.13.2
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
ready - loaded websocket plugin successfully
event - compiled client and server successfully in 612 ms (168 modules)
wait - compiling /_error (client and server)...
event - compiled client and server successfully in 146 ms (169 modules)
warn - Fast Refresh had to perform a full reload. Read more: https://nextjs.org/docs/messages/fast-refresh-reload
wait - compiling / (client and server)...
event - compiled client and server successfully in 206 ms (213 modules)
error - unhandledRejection: TypeError: this.ensureApiPage is not a function
The text was updated successfully, but these errors were encountered: