Code Monkey home page Code Monkey logo

bike's People

Contributors

ymzuiku avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bike's Issues

Can't use "watch" function on Linux

The error like this:

fs.js:1578
throw new ERR_FEATURE_UNAVAILABLE_ON_PLATFORM('watch recursively');
^

TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js
at Object.watch (fs.js:1578:11)
at Object. (/home/liliang/Documents/project/hpv-project-server/node_modules/airt/lib/index.js:94:8)
at Module._compile (internal/modules/cjs/loader.js:1072:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
at Module.load (internal/modules/cjs/loader.js:937:32)
at Function.Module._load (internal/modules/cjs/loader.js:778:12)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
at internal/main/run_main_module.js:17:47 {
code: 'ERR_FEATURE_UNAVAILABLE_ON_PLATFORM'
}

Maybe you can look at this link ‘ https://stackoverflow.com/questions/61806341/how-to-fix-the-feature-watch-recursively-is-unavailable-on-the-current-platform’ or 'https://nodejs.org/docs/latest/api/fs.html#fs_caveats'

Can't use "View test cover" function on Linux

"index.ts" code like this:

export function checkMan(sex: number) {
if (sex) {
  return true;
} else {
  return false;
}
}

export function sayHello(word: string) {
if (word) {
  console.log(word);
} else {
  console.log("Hello");
}
}

"index_test.ts" code like this:

import { test } from "bike/test";
import { checkMan } from ".";

test.it("index test", (so) => {
so.deepEqual(21, 21);
});

test.it("test tools isMan:", (so) => {
so.deepEqual(true, checkMan(1));
});

use "bike --reporter=text" function result like this:

Screenshot from 2021-08-05 16-25-54

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.