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
{{ message }}
This repository was archived by the owner on Jul 29, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 29, 2026. It is now read-only.
I added a server/log4js.json file to my project generated with version 3.1.1. And now grunt build breaks with the following error:
Running "babel:server" (babel) task
Warning: server/log4js.json: Unexpected token (2:19) Use --force to continue.
Aborted due to warnings.
I fixed the issue by removing .json files from the babel:server task. I don't see why grunt build would try to transpile .json files. Am I missing something here or is this a bug?
same issue exist with gulp also. Unfortunately removing "paths.server.json" also skip copying of the file to the dist and does not get deployed. I am using the .json files as stubs
Activity
[-]grunt build tries to compile .json files[/-][+]grunt build tries to transpile .json files[/+]Awk34 commentedon Jan 14, 2016
This line is what you're probably talking about. It should just be
.js.fix(grunt:babel): don't try to transpile JSON files
fix(grunt:babel): don't try to transpile JSON files
rohita77 commentedon Jul 17, 2016
same issue exist with gulp also. Unfortunately removing "paths.server.json" also skip copying of the file to the dist and does not get deployed. I am using the .json files as stubs