json-edit-react
json-edit-react copied to clipboard
Cannot use import statement outside a module
Cannot use import statement outside a module
at wrapSafe (node:internal/modules/cjs/loader:1281:20)
at Module._compile (node:internal/modules/cjs/loader:1321:27)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Function.Module._load (node:internal/modules/cjs/loader:1024:12)
at cjsLoader (node:internal/modules/esm/translators:348:17)
at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:297:7)
at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
at ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at nodeImport (file:///Users/bakikucukcakiroglu/Workspace/lookfor/frontend/node_modules/vite/dist/node/chunks/dep-Dyl6b77n.js:53065:15
Got this error in my Remix.js app. Any idea?
"json-edit-react": "^1.26.2"
Here are some things that might help resolve the problem: https://chatgpt.com/share/683e4832-9b60-8009-819b-1856c67659a8
Let me know if you can't get it working using those suggestions.
Any joy @bakikucukcakiroglu ?
If you're still having trouble, please share a repo that has this problem and I'll look into it.