unfoldingWord / gateway-translate

A tool for editing and translating text in USFM markup
MIT License
2 stars 3 forks source link

Deploy to netlify #9

Closed mandolyte closed 2 years ago

mandolyte commented 2 years ago

image

I think a local yarn build never completes too. So something it very wrong.

mandolyte commented 2 years ago

Netlify Error log:

9:09:30 AM: ────────────────────────────────────────────────────────────────
9:09:30 AM:   Plugin "@netlify/plugin-nextjs" failed                        
9:09:30 AM: ────────────────────────────────────────────────────────────────
9:09:30 AM: ​
9:09:30 AM:   Error message
9:09:30 AM:   Error: The directory "/opt/build/repo/out" does not contain a Next.js production build. Perhaps the build command was not run, or you specified the wrong publish directory.
9:09:30 AM:   Your publish directory is set to "out", but in most cases it should be ".next".
9:09:30 AM:   If you are using "next export" then you should set the environment variable NETLIFY_NEXT_PLUGIN_SKIP to "true".
9:09:30 AM: ​
9:09:30 AM:   Plugin details
9:09:30 AM:   Package:        @netlify/plugin-nextjs
9:09:30 AM:   Version:        4.24.3
9:09:30 AM:   Repository:     git+https://github.com/netlify/next-runtime.git
9:09:30 AM:   npm link:       https://www.npmjs.com/package/@netlify/plugin-nextjs
9:09:30 AM:   Report issues:  https://github.com/netlify/next-runtime/issues
9:09:30 AM: ​
9:09:30 AM:   Error location
9:09:30 AM:   In "onBuild" event in "@netlify/plugin-nextjs" from netlify.toml
9:09:30 AM: ​
9:09:30 AM:   Resolved config
9:09:30 AM:   build:
9:09:30 AM:     command: npm run build
9:09:30 AM:     commandOrigin: config
9:09:30 AM:     environment:
9:09:30 AM:       - HELP_DESK_EMAIL
9:09:30 AM:       - HELP_DESK_TOKEN
9:09:30 AM:       - ZULIP_TOKEN
9:09:30 AM:       - ZULIP_USER
9:09:30 AM:       - NEXT_PRIVATE_TARGET
9:09:30 AM:     publish: /opt/build/repo/out
9:09:30 AM:     publishOrigin: config
9:09:30 AM:   plugins:
9:09:30 AM:     - inputs: {}
9:09:30 AM:       origin: config
9:09:30 AM:       package: '@netlify/plugin-nextjs'
9:09:30 AM:     - inputs: {}
9:09:30 AM:       origin: config
9:09:30 AM:       package: /scripts/zulip-notification
9:09:31 AM: Caching artifacts
9:09:31 AM: Started saving node modules
9:09:31 AM: Finished saving node modules