Error When deploy on CodeSandbox

Could not fetch dependencies, please try again in a couple seconds: Could not fetch dependencies, please try again in a couple seconds: Could not fetch https://cdn.jsdelivr.net/gh/./packages/twentytwenty-theme/package.json

Getting this error when copy from github

{
  "name": "frontity",
  "version": "1.0.0",
  "private": true,
  "description": "Frontity project",
  "keywords": ["frontity"],
  "scripts": {
    "dev": "frontity dev",
    "build": "frontity build",
    "serve": "frontity serve"
  },
  "prettier": {},
  "dependencies": {
    "@chakra-ui/react": "^1.3.3",
    "@emotion/react": "^11.1.5",
    "@emotion/styled": "^11.1.5",
    "@frontity/core": "^1.10.1",
    "@frontity/html2react": "^1.6.1",
    "@frontity/tiny-router": "^1.3.2",
    "@frontity/twentytwenty-theme": "./packages/twentytwenty-theme",
    "@frontity/wp-source": "^1.11.1",
    "antd": "^4.12.3",
    "framer-motion": "^3.6.7",
    "frontity": "^1.14.1",
    "react-graceful-image": "^1.5.0",
    "react-icons": "^4.2.0"
  }
}

Hi @harpreet.freelance

Can you please provide a repo or code-sandbox with your code? This is especially helpful to find solutions of technical issues with specific code

Detailing the info suggested here when having issues will help the community to provide the best possible help as quickly and as efficiently as possible.


CodeSandbox tries to detect automatically the type of project to be deployed. If this detection does not work for a Frontity project, we can specify it by adding a sandbox.config.json in the root of our project with the following content

{
  "template": "node"
}

This file is added to the demos we have available at GitHub - frontity-demos/frontity-examples and all of them can be opened directly in codesandbox

Hope this helps