Git Product home page Git Product logo

Comments (6)

alexciesielski avatar alexciesielski commented on May 23, 2024 8

I just cloned the project and ran npm run build without modifying anything and it fails with

image

from typescript-starter.

bitjson avatar bitjson commented on May 23, 2024 3

Hey everyone, sorry to keep you waiting on updates! typescript-starter has been upgraded to the latest version of all dependencies, and there are a few new improvements 🚀

  • migrated from tslint (deprecated) to eslint
  • added optional support for cspell checking
  • switch to AVA's new built-in debugging mode (for easier debugging in vscode)

Please open an issue if you notice any problems!

from typescript-starter.

chrisk8er avatar chrisk8er commented on May 23, 2024 1

same question... I really love this project personally.

from typescript-starter.

crcastle avatar crcastle commented on May 23, 2024 1

@magick93 tl;dr you can delete these three lines from your package.json to fix that:

  "ava": {
    "failFast": true,
    "files": [
      "build/main/**/*.spec.js"
-    ],
-    "sources": [
-      "build/main/**/*.js"
    ]
  },

In Ava 3, an ignoredByWatcher array replaces the sources array but it acts in the opposite way. Instead of watching the specified files, all files are watched except those specified in the ignoredByWatcher array.

from typescript-starter.

maustand avatar maustand commented on May 23, 2024

I just cloned the project and ran npm run build without modifying anything and it fails with

image

update Ava dependency and it will resolve this problem.
they have fixed this issue after 3.x version but typescript-starter has old dependencies, so this is the reason that it does not work..

for more info: https://github.com/avajs/ava/issues/2332

from typescript-starter.

magick93 avatar magick93 commented on May 23, 2024

Upgrading ava solved this problem, for me.

But now I get an error when I run npm run watch:

  ✖ ’sources’ has been removed. Use ’ignoredByWatcher’ to provide glob patterns of files that the watcher should ignore.

from typescript-starter.

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.