I'm currently facing an issue with my module building while using jest with vue.js for testing. The tests are running successfully, but the module building is failing unexpectedly. I have provided my code snippet below and would greatly appreciate any assistance in identifying the problem.
Here is a snippet from my package.json file:
{
"name": "weather-app",
"version": "0.1.0",
"private": true,
...
}
This is the error message that I am encountering on my screen:
Failed to compile.
Module build failed (from ./node_modules/postcss-loader/src/index.js):
JSONError: JSON Error in C:\Users\guest1\Projects\Vue Cli\wheather-app\package.json:
Unexpected token { in JSON at position 1057...
Additionally, here is the result of my test case:
npm test
PASS src/test/App.test.js (6.524s)
App.test.js
√ equals loading to true] (47ms)
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 0 total
Time: 9.544s
Ran all test suites.