wix-http-functions Error

This morning I created a new blank page, and simply add to the beginning -
import {ok, notFound, serverError} from ‘wix-http-functions’;

But when I preview, I will always get -
Cannot find module ‘wix-http-functions’ from ‘public/pages’

I set the page permission to Everyone, collection permission of all to Everyone, but still doesnt work. I logout, login of WIX, the same. I tried Safari, Chrome and both are the same. I dont think I had this problem yesterday on another page but today that page came up with the same error. What is this error and how do I solve it?

Thanks.
Ken

Oh nevermind. I put the js in the wrong place.

Hi Ken

I’m having the same issue. How did you resolve this problem? Your help would be really appreciated

@kgalange Please add your own issue into a new post instead of bumping up an old post. Explain what you are trying to do, what works, and what doesn’t. Also, add any code in a code block as stated in the Forum Guidelines.

This is an old post and is being closed.