You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to deploy the client to netlify it looks in the root of the project for the build folder rather than from .wasp/build/web-app
Adding local .netlify folder to .gitignore file...
Deploy path: /Users/vincecanger/Documents/WASP/test/build
Configuration path: /Users/vincecanger/Documents/WASP/test/.wasp/build/web-app/netlify.toml
› Error: The deploy directory "/Users/vincecanger/Documents/WASP/test/build" has not been found. Did you forget to run 'netlify build'?
web-app %
to fix it, I had to change the deploy path in the toml file from:
[build]
publish = "build/"
to this:
[build]
publish = ".wasp/build/web-app/build/"
The text was updated successfully, but these errors were encountered:
Some extra info: Netlify CLI finds the Git repository root folder and then goes down all the subdirs until it finds a package.json. This means it stops at the project root level since there is a package.json there now since 0.12.0.
A user reported an issue deploying to Netlify and I was able to recreate it with a fresh app.
wasp v0.13.1
netlify-cli/17.22.1
When trying to deploy the client to netlify it looks in the root of the project for the build folder rather than from
.wasp/build/web-app
to fix it, I had to change the deploy path in the toml file from:
to this:
The text was updated successfully, but these errors were encountered: