I am facing the follow error for
Module parse failed: Unexpected token m in JSON at position 0 while parsing near 'module.exports = "{\...'
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected token m in JSON at position 0 while parsing near 'module.exports = "{\...'
at JSON.parse (<anonymous>)
the file is this one:
{
"expo": {
"name": "My Awesome Project",
"slug": "my-awesome-project",
"privacy": "public",
"sdkVersion": "32.0.0",
"platforms": [
"ios",
"android"
],
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true
}
}
}
I am trying to render line "image": "./assets/splash.png", on code surfer
Sorry for the delay, can you provide a code example of what you have in your MDX deck file and any relevant code involving CodeSurfer?
I guess I've fixed it, thanks.