Open buildcore opened 5 months ago
Hello,
I get errors at build step preventing to deploy with Deno Deploy
The repo's action build job logs: ✅ Set up job (Ubuntu) ✅ Setup Deno env (deno version 1.42.1) ❌ Build site
Run deno task build Task build deno task lume Task lume echo "import 'lume/cli.ts'" | deno run --unstable -A - ⚠️ The `--unstable` flag is deprecated and will be removed in Deno 2.0. Use granular `--unstable-*` flags instead. Learn more at: https://docs.deno.com/runtime/manual/tools/unstable_flags Download https://deno.land/x/lume@v2.0.3/cli.ts Download https://deno.land/x/lume@v2.0.3/deps/cliffy.ts // _successfully download all deno packages_ // starts downloading npm packages: failure (installed some npm packages manually) Download https://deno.land/x/deno_dom@v0.1.43/src/dom/selectors/sizzle.js Download https://deno.land/std@0.210.0/assert/assertion_error.ts Download https://registry.npmjs.org/markdown-it Download https://registry.npmjs.org/markdown-it-attrs Download https://registry.npmjs.org/markdown-it-deflist Download https://registry.npmjs.org/@js-temporal/polyfill Download https://registry.npmjs.org/argparse Download https://registry.npmjs.org/entities Download https://registry.npmjs.org/linkify-it Download https://registry.npmjs.org/mdurl Download https://registry.npmjs.org/punycode.js Download https://registry.npmjs.org/uc.micro Download https://registry.npmjs.org/jsbi Download https://registry.npmjs.org/tslib Download https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz Initialize uc.micro@2.1.0 error: could not find package 'jsbi' from referrer 'file:///home/runner/work/base-blog/base-blog/node_modules/.deno/@js-temporal+polyfill@0.4.4/node_modules/@js-temporal/polyfill/dist/index.esm.js'. Error: Process completed with exit code 1.
I installed a few npm packages on the CLI manually (markdown-it to uc.micro).
package.json
{ "dependencies": { "jsbi": "^4.3.0", "linkify-it": "^5.0.0", "mdurl": "^2.0.0", "openai": "^4.26.1", "punycode.js": "^2.3.1" }, "devDependencies": { "tailwindcss": "^3.4.1" } }
deno_deploy.yml:
name: Publish on Deno Deploy on: push: branches: [ master ] jobs: build: runs-on: ubuntu-latest permissions: id-token: write contents: read steps: - name: Clone repository uses: actions/checkout@v2 - name: Setup Deno environment uses: denoland/setup-deno@v1 with: deno-version: v1.x - name: Build site run: deno task build - name: Deploy to Deno Deploy uses: denoland/deployctl@v1 with: project: myproject import-map: "./import_map.json" entrypoint: server.ts
import_map.json:
{ "imports": { "lume/": "https://deno.land/x/lume@v2.0.3/" } }
What additional info could help debug the issue?
Thank you
Hello,
I get errors at build step preventing to deploy with Deno Deploy
The repo's action build job logs: ✅ Set up job (Ubuntu) ✅ Setup Deno env (deno version 1.42.1) ❌ Build site
I installed a few npm packages on the CLI manually (markdown-it to uc.micro).
package.json
deno_deploy.yml:
import_map.json:
What additional info could help debug the issue?
Thank you