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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Bug: Swagger bundle js error in latest build #5889

Closed
1 task done
sigmoidfrog opened this issue Jun 14, 2023 · 6 comments
Closed
1 task done

馃悰 Bug: Swagger bundle js error in latest build #5889

sigmoidfrog opened this issue Jun 14, 2023 · 6 comments
Assignees

Comments

@sigmoidfrog
Copy link

Please confirm if bug report does NOT exists already ?

  • I confirm there is no existing issue for this

Steps to reproduce ?

image
image

Desired Behavior

swagger should open and work

Project Details

latest version, install on 13-06-2023 on linux machine

Attachments

1

@pranavxc
Copy link
Member

pranavxc commented Jun 14, 2023

Can you share a few more details,

  1. Are you using the docker / nodejs app?
  2. Is it deployed under a subdomain?

If you are trying to build it locally then you should copy the public folder as well, relative to the build.

@sigmoidfrog
Copy link
Author

Are you using the docker / nodejs app? -- Nodejs app
Is it deployed under a subdomain? -- No

I think it is missing nc_siteurl,

@pranavxc
Copy link
Member

Are you using the docker / nodejs app? -- Nodejs app Is it deployed under a subdomain? -- No

I think it is missing nc_siteurl,

It will be helpful if you can share the steps you followed to run the application.

@sigmoidfrog
Copy link
Author

git clone https://github.com/nocodb/nocodb
cd nocodb/packages

build nocodb-sdk

cd nocodb-sdk
npm install
npm run build

cd /nocodb/packages/nc-gui
npm run build:copy
cd /nocodb/packages/nocodb/node_modules/nc-lib-gui/lib/dist
cp -R /nocodb/packages/nc-gui/.output/public/. .

cd /nocodb/packages/nocodb
npm run build
npm run start

@valentt
Copy link

valentt commented Jun 24, 2023

I had this bug with version that I installed 5 weeks ago via docker-compose, I have now pulled latest docker image and swagger api page works as expected.

@dstala
Copy link
Member

dstala commented Oct 27, 2023

@sigmoidfrog please upgrade to latest release & reopen this thread if you issue still persists.

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

No branches or pull requests

5 participants