TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".jsx"
Unanswered
Pacific cod posted this in #help-forum
Original message was deleted.
12 Replies
Pacific cod
node:internal/errors:490
ErrorCaptureStackTrace(err);
^
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".jsx" for C:\Users\alpha\WebstormProjects\untitled\app\page.jsx
at new NodeError (node:internal/errors:399:5)
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:79:11)
at defaultGetFormat (node:internal/modules/esm/get_format:121:38)
at defaultLoad (node:internal/modules/esm/load:81:20)
at nextLoad (node:internal/modules/esm/loader:163:28)
at ESMLoader.load (node:internal/modules/esm/loader:605:26)
at ESMLoader.moduleProvider (node:internal/modules/esm/loader:457:22)
at new ModuleJob (node:internal/modules/esm/module_job:64:26)
at #createModuleJob (node:internal/modules/esm/loader:480:17)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:434:34) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
Node.js v18.15.0
Process finished with exit code 1heres the other thingy ppl alw ask for
uh
i have tried renaming them all to js
then im getting the "<" error
pls help me 😦
this means that my thing shd be able to run jsx right
Pacific cod
yo pls help man even #gpt-help didnt help me much\
its a pretyty simple issue for you expereinced ppl right?!
Pacific cod
PLEASE
@Pacific cod PLEASE
please only bump at most once a day.
Pacific cod
nah man fk this shit