Comments (16)
and if i want to download it directly:
from primo.
There is also the problem of selecting old repos... it wont show them.
from primo.
Weird. Are you sure you have full repo permissions on the token? Are there any error in the console?
from primo.
Weird. Are you sure you have full repo permissions on the token? Are there any error in the console?
My browser console when i want to deploy:
from primo.
and today after the update it gives me this:
from primo.
I'm running into the same issue, fresh install, one site completed and tried deploying. I'm not able to download or deploy currently. Also, making changes to the primo server doesn't update the site repo, need to delete and recreate for each change...
from primo.
There is also the problem of selecting old repos... it wont show them.
This sseems to be a different issue. Are there any console errors?
from primo.
@vednolacni @rmill2016 those errors seem to be coming from the Blocks - might be worth checking your pages to see if any Blocks are missing data. For example, Cannot read properties of undefined (reading 'alt')
means it's trying to compile a Block, but the image
field doesn't have a value. You might be able to track it down by clicking the file link.
from primo.
Also, making changes to the primo server doesn't update the site repo, need to delete and recreate for each change...
@rmill2016 can you elaborate on what you mean?
from primo.
@mateomorris Hey! Thanks for the headsup, that makes much more sense. I was able to resolve the undefined error and able to download the repository. Although I'm still not able to deploy to a new or existing repo. Primo does, however initialize the repo with a README.md
file.
from primo.
I'm investigating the issue further, seems that the POST endpoint for Netlify web host isn't /api/deploy
but instead /api/v1/deploy
https://docs.netlify.com/api/get-started/#deploy-with-the-api
@vednolacni Are you perhaps deploying to Netlify as well? Or Vercel?
Edit: It seems after further searching, there was previously an issue with Netlify in the past. Resolved using the file digest method, are you able to confirm Netlify is the issue. I will try to deploy to Vercel now. 👍
Edit 2: Not able to deploy to Vercel either currently.
from primo.
@rmill2016
I'm experiencing the same problem. I'm unable to deploy to a new repository from Vercel. Have you discovered a solution for this issue?
from primo.
@rmill2016 note that Primo isn't interacting with Netlify/Vercel's API directly (it used to, but not anymore). The POST shown in your screenshot is your browser building the files and sending them to your server's backend (e.g. myprimoserver.vercel.app/api/deploy), which it has to do since your Github token isn't sent to the browser, so the files generated in the browser need to be sent to the backend to get sent along to Github.
Are you able to create a brand new site & publish it to a repo without issue?
from primo.
I tried crating a new page and a new primo server but still cant deploy any site.
I dont use Netlify or Vercel.
from primo.
@vednolacni where are you deploying your Primo server to?
from primo.
@vednolacni where are you deploying your Primo server to?
cloudflare pages
from primo.
Related Issues (20)
- Provide primocms API HOT 4
- Language editing enhancment for multi language sites.
- Supporting custom email server HOT 2
- More SEO Options HOT 1
- adapter-auto @next breaks new deployments HOT 1
- Improvements HOT 2
- PLEASE HELP: Error: Cannot import "@iconify/svelte/dist/Icon.svelte": no matched export path was found in "pkg_name/package.json". HOT 2
- Error when deploying site on vercel HOT 2
- Markdown styles HOT 4
- error when integrating collaborators HOT 6
- Add Ability to Make Image Fields Language Independent
- Scroll blocked while pointer is over image
- Svelte Video Component HOT 2
- Missing catch/finally block in the server-side compilation, beta v46 HOT 2
- Cannot edit "Join us on our mission" block
- Primo blocks doesn't load HOT 1
- Cannot create site with the same URL as an already-existing site
- Duplicate button does not work HOT 2
- Conditional fields HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from primo.