Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running 'imports upgrade' gives syntax error #88

Closed
NexWasTaken opened this issue Feb 28, 2021 · 4 comments
Closed

Running 'imports upgrade' gives syntax error #88

NexWasTaken opened this issue Feb 28, 2021 · 4 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@NexWasTaken
Copy link

Running 'imports upgrade' gives syntax error.

Logs:

λ imports upgrade
Check https://denopkg.com/crewdevio/Trex@imports/cli.ts
error: Uncaught (in promise) SyntaxError: Unexpected token I in JSON at position 0
    at JSON.parse (<anonymous>)
    at Response.json (deno:op_crates/fetch/26_fetch.js:843:19)
    at async updateTrex (https://raw.githubusercontent.com/crewdevio/Trex/imports/utils/logs.ts:28:24)
    at async mainCli (https://raw.githubusercontent.com/crewdevio/Trex/imports/cli.ts:119:5)
    at async https://raw.githubusercontent.com/crewdevio/Trex/imports/cli.ts:170:3
@buttercubz
Copy link
Member

Thank you for your report, I will review it asap

@buttercubz buttercubz self-assigned this Mar 1, 2021
@buttercubz buttercubz added bug Something isn't working good first issue Good for newcomers labels Mar 1, 2021
@buttercubz
Copy link
Member

see #92

@borsemayur2
Copy link

I'm getting following type errors on trex upgrade from 1.6 to 1.7
image

@buttercubz
Copy link
Member

buttercubz commented May 24, 2021

I'm getting following type errors on trex upgrade from 1.6 to 1.7
image

please reinstall again, this is a breaking change, now we use import maps

deno install -f -A --unstable --import-map=https://deno.land/x/trex/import_map.json.ts -n trex --no-check https://deno.land/x/trex/cli.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants