Giter VIP home page Giter VIP logo

Comments (5)

EskiMojo14 avatar EskiMojo14 commented on August 26, 2024 1
image

followed the instructions and i can't replicate this

have you tried restarting your TS server? what yarn version and nodeLinker are you using?

from redux.

timdorr avatar timdorr commented on August 26, 2024

This has to be related to your environment. It's not a bug in the library. I would wipe your node_modules and package manager caches to start fresh.

from redux.

rashgaroth avatar rashgaroth commented on August 26, 2024
image followed the instructions and i can't replicate this

have you tried restarting your TS server? what yarn version and nodeLinker are you using?

hi @EskiMojo14 i'm using node v18.17.0 and yarn 1.22.17, do i need to change it?

from redux.

EskiMojo14 avatar EskiMojo14 commented on August 26, 2024

no, yarn v1 should work

from redux.

rashgaroth avatar rashgaroth commented on August 26, 2024

no, yarn v1 should work

image

@EskiMojo14 still doesn't work even with another lib 😭

here's my config:

  • jsconfig.json :
{
  "compilerOptions": {
    "baseUrl": ".",
    "paths": {
      "@/*": ["src/*"]
    },
    "moduleResolution": "node",
    "module": "CommonJS"
  },
  "exclude": ["node_modules", "**/node_modules/*"]
}
  • typescript vscode version:
image
  • node & yarn versions:
    image

  • vscode settings (environment)

{
  "css.validate": false,
  "editor.formatOnSave": true,
  "editor.tabSize": 2,
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "editor.codeActionsOnSave": {
    "source.fixAll": "explicit"
  },
  "javascript.preferences.importModuleSpecifier": "non-relative",
  "headwind.runOnSave": false
}
  • vscode settings (general)
{
  "redhat.telemetry.enabled": true,
  "liveServer.settings.donotShowInfoMsg": true,
  "editor.tabSize": 2,
  "editor.detectIndentation": false,
  "javascript.updateImportsOnFileMove.enabled": "always",
  "explorer.confirmDelete": false,
  "terminal.integrated.defaultProfile.osx": "zsh",
  "[javascript]": {
    "editor.defaultFormatter": "vscode.typescript-language-features"
  },
  "solidity.compileUsingRemoteVersion": "v0.8.12+commit.f00d7308",
  "background.filepath": "/Users/rashgaroth/Documents/b3.jpeg",
  "background.opacity": 0.95,
  "security.workspace.trust.untrustedFiles": "open",
  "thunder-client.codeSnippetLanguage": "js-fetch",
  "go.toolsManagement.autoUpdate": true,
  "[typescriptreact]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[jsonc]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[json]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "hardhat.telemetry": true,
  "[markdown]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[solidity]": {
    "editor.defaultFormatter": "NomicFoundation.hardhat-solidity"
  },
  "[typescript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "workbench.editorAssociations": {
    "*.wasm": "default"
  },
  "npm.keybindingsChangedWarningShown": true,
  "terminal.integrated.enableMultiLinePasteWarning": "always",
  "[javascriptreact]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "material-icon-theme.folders.theme": "specific",
  "workbench.iconTheme": "material-icon-theme",
  "material-icon-theme.activeIconPack": "react",
  "material-icon-theme.folders.color": "#ef5350",
  "[vue]": {
    "editor.defaultFormatter": "Vue.volar"
  },
  "solidity.telemetry": true,
  "yaml.customTags": [
    "!And",
    "!And sequence",
    "!If",
    "!If sequence",
    "!Not",
    "!Not sequence",
    "!Equals",
    "!Equals sequence",
    "!Or",
    "!Or sequence",
    "!FindInMap",
    "!FindInMap sequence",
    "!Base64",
    "!Join",
    "!Join sequence",
    "!Cidr",
    "!Ref",
    "!Sub",
    "!Sub sequence",
    "!GetAtt",
    "!GetAZs",
    "!ImportValue",
    "!ImportValue sequence",
    "!Select",
    "!Select sequence",
    "!Split",
    "!Split sequence"
  ],
  "editor.minimap.enabled": false,
  "editor.inlineSuggest.enabled": true,
  "github.copilot.enable": {
    "*": true,
    "plaintext": false,
    "markdown": true,
    "scminput": false
  },
  "typescript.updateImportsOnFileMove.enabled": "always",
  "git.enableSmartCommit": true,
  "git.confirmSync": false,
  "window.zoomLevel": -1,
  "files.associations": {
    "*.js": "javascriptreact"
  },
  "security.promptForLocalFileProtocolHandling": false,
  "typescript.tsserver.log": "verbose"
}

is it related to my babel configuration or something? or the vscode settings?

from redux.

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.