netlify

Netlify “ng command not found”

余生长醉 提交于 2021-01-29 10:33:18
问题 I am trying to deploy my angular app on netlify. However, I am running into a problem where it says ng command not found. I have angular cli and npm globally on my computer. The current deploy settings are: Build command: ng build --prod Publish directory: dist/mysite What could be the cause of this? Thanks a ton! Here are the logs related to the failed build 5:43:56 PM: Build ready to start 5:43:58 PM: build-image version: 84aca9ba39e0ee86ba194760fbfc51a808f62543 5:43:58 PM: buildbot version

On Gatsby CMS how can i set the about page as a index page

£可爱£侵袭症+ 提交于 2021-01-29 09:53:44
问题 Hi I installed the gatsby cms starter with netlify, this project came with a started template called kaldi that have a basic post and pages, is easy to create fields and build the grapql data, but Im confuse the way that the route works, for example I can`t found the way to put the abot page as a index page this the index page that came ith the data info from the post fields import React from 'react' import PropTypes from 'prop-types' import { Link, graphql } from 'gatsby' import Layout from

How to deal with error “Deploy failed due to an error in @netlify/plugin-deploy-core plugin.”?

两盒软妹~` 提交于 2021-01-28 07:25:59
问题 I have trouble with deploying the Next.js project to Netlify. It was working well yesterday but now I am getting errors while deployment. Here I attached error log screenshot and full log. 11:40:08 AM: Build ready to start 11:40:10 AM: build-image version: d84c79427e8f83c1ba17bcdd7b3fe38059376b68 11:40:10 AM: build-image tag: v3.6.1 11:40:10 AM: buildbot version: 734b021f1afb208e332629f2580fef69fda9a3bc 11:40:10 AM: Fetching cached dependencies 11:40:10 AM: Starting to download cache of 174

Netlify Redirect not working

夙愿已清 提交于 2021-01-27 07:20:24
问题 so yesterday I was having a problem because I wasn't able to implement a 301 redirect to my page hosted on the GitHub pages. Today I found Netlify which should be able to do 301 redirects. However something is not working, the docs say I need to add the redirect in a _redirect file, but nothings working. Any ideas what I am doing wrong? Here is the Test page: https://peaceful-swanson-2960b1.netlify.com/ (It should redirect to news when you click on blog) Here is the GitHub Repo: https:/

Error 426 from newsapi.org once I deployed my site on Netlify

 ̄綄美尐妖づ 提交于 2021-01-24 07:38:06
问题 While I was trying my project on localhost it was working fine, using https://cors-anywhere.herokuapp.com/ since I got the CORS problem. But once I deployed the site on Netlify, it gave me the error 426 (Upgrade Required), with or without using https://cors-anywhere.herokuapp.com/. These are the messages that appear on my console: >Failed to load resource: the server responded with a status of 426 (Upgrade Required) >Error: Request failed with status code 426 at createError.js:16 at settle.js

Netlify does not recognize the URL params when using react-router-dom

穿精又带淫゛_ 提交于 2021-01-21 16:06:28
问题 I am creating a react app that uses react router. I am using the router to match the paths like :/bankName-:credit and it works fine in local development. The only require path for my application is :/bankName-:credit and every other path will hit 404 . But when I deploy this app to netlify then for default it goes to / and shows a custom 404 . That's all good. But now if I try to go to /hdfc-500 then it gives a netlify not found message that page not found . I tried using _redirects as

Netlify does not recognize the URL params when using react-router-dom

强颜欢笑 提交于 2021-01-21 16:04:11
问题 I am creating a react app that uses react router. I am using the router to match the paths like :/bankName-:credit and it works fine in local development. The only require path for my application is :/bankName-:credit and every other path will hit 404 . But when I deploy this app to netlify then for default it goes to / and shows a custom 404 . That's all good. But now if I try to go to /hdfc-500 then it gives a netlify not found message that page not found . I tried using _redirects as

Netlify does not recognize the URL params when using react-router-dom

我是研究僧i 提交于 2021-01-21 16:01:37
问题 I am creating a react app that uses react router. I am using the router to match the paths like :/bankName-:credit and it works fine in local development. The only require path for my application is :/bankName-:credit and every other path will hit 404 . But when I deploy this app to netlify then for default it goes to / and shows a custom 404 . That's all good. But now if I try to go to /hdfc-500 then it gives a netlify not found message that page not found . I tried using _redirects as

Netlify: No build command found, continuing to publishing

 ̄綄美尐妖づ 提交于 2021-01-07 06:31:37
问题 I'm trying to use netlify and its lambda function feature to run a node function . Based on https://css-tricks.com/using-netlify-forms-and-netlify-functions-to-build-an-email-sign-up-widget/ . I'm having trouble getting node modules to work (see ImportModuleError","errorMessage":"Error: Cannot find module while using Netlify lambda functions with dependencies) I just realized that there is a Deploy log which contains: 2:53:02 PM: Build ready to start 12:53:03 PM: build-image version:

How do you publish a gatsby project with gatsby-image on Netlify?

随声附和 提交于 2021-01-02 03:47:37
问题 So I can locally build my gatsby project no problem, but when Netlify tries to build, I get the error Field "featuredImage" must not have a selection since type "String" has no subfields. 5:34:38 PM: This can happen if you e.g. accidentally added { } to the field "featuredImage". If you didn't expect "featuredImage" to be of type "String" make sure that your input source and/or plugin is correct. 5:34:38 PM: error There was an error in your GraphQL query: 5:34:38 PM: Field "featuredImage"