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

Build script hangs while building svelte app using TypeScript 4.4.2 #6697

Closed
professionalsixoneg opened this issue Sep 1, 2021 · 1 comment

Comments

@professionalsixoneg
Copy link

Describe the bug

Latest update of TypeScript breaks the build process for svelte application using TS. Noticed the issue 7 days back with the latest release of TypeScript labelled 4.4.2.

Workaround: edit package.json and update the typescript dependency limiting it to 4.3.x, this will resolve the npm run build hang issue.

Reproduction

  • Download svelte-app.zip file and run npm install.
  • Switch the language to TypeScript by executing node scripts/setupTypeScript.js and execute npm install
  • Build the application using npm run build

The process hangs.

Workaround:

  • Open package.json file and replace "typescript": "^4.0.0" to "typescript": "4.3.5"
  • Run npm install and npm run build
  • This will build the application normally.

Logs

No response

System Info

System:
    OS: Windows 10 10.0.19043
    CPU: (8) ia32 Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
    Memory: 3.88 GB / 7.98 GB
  Binaries:
    Node: 14.17.4 - svelte-playground\node.EXE
    npm: 6.14.14 - svelte-playground\npm.CMD
  Browsers:
    Chrome: 92.0.4515.159
    Edge: Spartan (44.19041.1023.0), Chromium (92.0.902.84)
    Internet Explorer: 11.0.19041.906
  npmPackages:
    rollup: ^2.3.4 => 2.56.3
    svelte: ^3.0.0 => 3.42.4

Severity

blocking an upgrade

@Conduitry
Copy link
Member

This is almost certainly rollup/plugins#983

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants