Coder Social home page Coder Social logo

analog-ionic-capacitor-template's Introduction

HeroDevs LinkedIn Banner

💫 About Me:

I'm a Senior Software Engineer working at HeroDevs and living in Monterrey, Mexico. Husband, father of three beautiful daughters, loves everything Angular, Ionic and Web related. Co-organizer of the Spanish chapter of the Angular Community Meetup, organizer of the Ionic Monterey Meetup, an Ionic Developer Expert, an ngChampion, and in the road to become an Angular GDE.

🌐 Socials:

LinkedIn Twitter

💻 Tech Stack:

C# CSS3 JavaScript HTML5 TypeScript .Net Angular Angular.js MongoDB MicrosoftSQLServer MySQL SQLite

ide-badge-blue


analog-ionic-capacitor-template's People

Contributors

eduardoroth avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

adil-pathan

analog-ionic-capacitor-template's Issues

Question: Do tests work for you in this template?

When I run the tests after a fresh install, I get the following error. Is there something else we need to do to get this working?

 FAIL  src/app/app.component.spec.ts [ src/app/app.component.spec.ts ]
SyntaxError: Cannot use import statement outside a module
 ❯ new Script node:vm:116:7

Module /home/ryanclementshax/dev/analog-ionic-capacitor-template/node_modules/@ionic/core/components/ion-back-button.js:4 seems to be an ES Module but shipped in a CommonJS package. You might want to create an issue to the package "@ionic/core" asking them to ship the file in .mjs extension or add "type": "module" in their package.json.

As a temporary workaround you can try to inline the package by updating your config:

// vitest.config.js
export default {
  test: {
    server: {
      deps: {
        inline: [
          "@ionic/core"
        ]
      }
    }
  }
}

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯

 Test Files  1 failed (1)
      Tests  no tests
   Start at  09:38:34
   Duration  1.94s (transform 422ms, setup 644ms, collect 0ms, tests 0ms, environment 464ms, prepare 640ms)


 FAIL  Tests failed. Watching for file changes...
       press h to show help, press q to quit

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.