You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just to help out others that are new to nyc, this is most likely due to copying the example .nycrc file and you need to remove the comments as there are no comments allowed in json.
If I run nyc I get the error
Unexpected token / in JSON at position 58
Expected Behavior
It executes.
Observed Behavior
Unexpected token / in JSON at position 58
Environment
System:
OS: Linux 4.19 Ubuntu 20.04.1 LTS (Focal Fossa)
CPU: (4) x64 Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
Memory: 1.38 GB / 7.70 GB
Binaries:
Node: 14.3.0 - ~/.nvm/versions/node/v14.3.0/bin/node
Yarn: 1.13.0 - /mnt/c/Users/james/AppData/Roaming/npm/yarn
npm: 6.14.7 - ~/.nvm/versions/node/v14.3.0/bin/npm
npmPackages:
@babel/cli: ^7.10.5 => 7.10.5
@babel/core: ^7.10.5 => 7.10.5
@babel/plugin-transform-async-to-generator: ^7.10.4 => 7.10.4
@babel/plugin-transform-runtime: ^7.10.5 => 7.10.5
@babel/polyfill: ^7.10.4 => 7.10.4
@babel/preset-env: ^7.10.4 => 7.10.4
@babel/runtime: ^7.10.5 => 7.10.5
@types/source-map-support: ^0.5.2 => 0.5.2
babel-plugin-source-map-support: ^2.1.2 => 2.1.2
grunt-babel: ^8.0.0 => 8.0.0
grunt-mocha-istanbul: ^5.0.2 => 5.0.2
nyc: ^15.1.0 => 15.1.0
remap-istanbul: ^0.13.0 => 0.13.0
source-map-support: ^0.5.19 => 0.5.19
ts-node: ^8.10.2 => 8.10.2
typescript: ^3.9.7 => 3.9.7
The text was updated successfully, but these errors were encountered: