Open F4k3r22 opened 6 months ago
change your package.json
to this!
{
"name": "cmd_theme",
"author": "Sébastien Gordano",
"description": "A starter theme for Astro.",
"version": "1.0.0",
"scripts": {
"dev": "astro dev",
"check": "astro check && tsc --noEmit",
"build": "astro check && tsc --noEmit && astro build",
"preview": "astro preview",
"astro": "astro",
"build:prev": "astro build && astro preview",
"format": "prettier -w --plugin-search-dir=. ."
},
"devDependencies": {
"@astrojs/image": "^0.13.1",
"@astrojs/prefetch": "^0.1.2",
"@astrojs/rss": "^2.4.3",
"@astrojs/sitemap": "^1.3.3",
"astro": "^2.7.2",
"astro-compress": "2.3.5",
"astro-icon": "^0.8.1",
"autoprefixer": "^10.4.14",
"prettier": "^2.8.8",
"prettier-plugin-astro": "^0.8.1",
"sass": "^1.63.6",
"sharp": "0.33.5",
"simple-astro-seo": "^0.1.3",
"svgo": "2.8",
"typescript": "^4.9.5",
"vite": "^4.3.9"
},
"browserslist": [
"defaults"
]
}
Clone and then try to install all the dependencies and these errors appear: `@F4k3r22 ➜ /workspaces/codespaces-blank/cmd_theme (main) $ pnpm install Debugger attached. Lockfile is up to date, resolution step is skipped Packages: +524 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ERR_PNPM_FETCH_404 GET https://registry.npmjs.org/astro-compress/-/astro-compress-1.1.28.tgz: Not Found - 404
No authorization header was set for the request. Progress: resolved 524, reused 459, downloaded 0, added 2 Downloading typescript@4.9.5: 1.37 kB/11.62 MB Waiting for the debugger to disconnect... @F4k3r22 ➜ /workspaces/codespaces-blank/cmd_theme (main) $ pnpm run dev Debugger attached.
sh: 1: astro: not found ELIFECYCLE Command failed. Waiting for the debugger to disconnect...`