Code Monkey home page Code Monkey logo

Comments (8)

SpacingBat3 avatar SpacingBat3 commented on August 11, 2024 1

Also there's a Discussions tab, you may want to ask there for any questions about my app. I preffer an issues to be a bug tracker or feature request list, I would like to see questions not associated with any application bugs on the Discussions tab next time.

from webcord.

SpacingBat3 avatar SpacingBat3 commented on August 11, 2024

I'm sure this is an npm 101 kind of problem.
I can't seem to compile and always run into uknown compiler option errors

npm i && npm start

up to date, audited 778 packages in 6s

93 packages are looking for funding
  run `npm fund` for details

19 low severity vulnerabilities

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

> [email protected] start
> tsc && electron-forge start

error TS5023: Unknown compiler option 'allowJs'.
error TS5023: Unknown compiler option 'baseUrl'.
error TS5023: Unknown compiler option 'moduleResolution'.
error TS5023: Unknown compiler option 'pretty'.
error TS5023: Unknown compiler option 'paths'.

Please provide more details about your OS / Device – see templates on this GitHub repository for more details.

Flagging as question, can't reproduce without more details about your configuration (like platform, OS version/distribution, NPM version, node version and electron version).

from webcord.

SpacingBat3 avatar SpacingBat3 commented on August 11, 2024

Also, would appreciate to get tsc compiler version, it seems to be too old (I guess you're on Debian, so if you won't update npm/tsc, it won't build for you).

from webcord.

theofficialgman avatar theofficialgman commented on August 11, 2024
  • Platform: ubuntu bionic 18.04
  • Architecture: aarch64
  • npm version: 7.6.3
  • tsc version: 4.2.3
  • node version: 15.12.0
  • Electron version: v12.0.2

from webcord.

SpacingBat3 avatar SpacingBat3 commented on August 11, 2024
* Platform: ubuntu bionic 18.04

* Architecture: aarch64

* npm version: 7.6.3

* tsc version: 4.2.3

* node version: 15.12.0

* Electron version: v12.0.2

Also, how you've checked tsc version? You might checked the global version, local (from node_modules in the sources) might be different.. Try running npm build -- --version instead of tsc --version if that's the command you used previously...

I don't think I can help you more to solve it, it's not the bug with my application and GitHub Actions are a proof for that.

Closing this issue then and flagging as invalid.

from webcord.

theofficialgman avatar theofficialgman commented on August 11, 2024

ah yes I checked the global version
looking in /node_modules/tsc/bin and running ./tsc --version I get version 1.5.3

I appreciate the help but don't know where to go from here
how do I update the local version?

from webcord.

SpacingBat3 avatar SpacingBat3 commented on August 11, 2024

ah yes I checked the global version
looking in /node_modules/tsc/bin and running ./tsc --version I get version 1.5.3

I appreciate the help but don't know where to go from here
how do I update the local version?

npm i tsc@latest

from webcord.

SpacingBat3 avatar SpacingBat3 commented on August 11, 2024

I believe it was an actual bug these days, when WebCord had both tsc and typescript in its package.json (where typescript replaces tsc and tsc package was deprecated and should not be used/installed). Just to make things clean, I've updated the flags and a comment, even when this issue was old and resolved for a long time.

from webcord.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.