atom-in-orbit
atom-in-orbit copied to clipboard
Build errors Windows 10
C:\Users\d7\atom-in-orbit>yarn build yarn build v0.18.1 $ node ./scripts/build.js C:\Users\d7\atom-in-orbit\scripts\config.js:17 throw e; ^
SyntaxError: Unexpected token U in JSON at position 21
at Object.parse (native)
at Object.
C:\Users\d7\atom-in-orbit\scripts\config.js:17
SyntaxError: Unexpected token U in JSON at position 21
At line 17 of config.js
(the inside of the if
statement):
// If the file does not exist, then that's fine, but if it contains malformed
// JSON, then the user should know.
if (e.code !== 'ENOENT') {
throw e;
}
This is what the build instructions say:
First, you must create a
config.local.json
file in the root of your project with some configuration information. Specifically, it needs the location of a source checkout of Atom that has been built at the revision specified in theconfig.json
file.
The error is caused not because of your platform or an incompatibility with Windows 10, but because it cannot parse the config.local.json
configuration file you wrote, stating where you have the Atom source code. Please share the contents of this file, so we can determine where the process erred.
Thanks, @EtherTyper