AutoGenView and RouteView issue #9089
-
i am constantly getting these errors when i am trying to start the development server for the ui ERROR Failed to compile with 1 error 8:29:13 PM error in ./src/layouts/RouteView.vue?vue&type=script&lang=js Syntax Error: TypeError: Cannot read properties of null (reading 'content') @ ./src/layouts/RouteView.vue?vue&type=script&lang=js 1:0-280 1:0-280 1:281-550 1:281-550 ERROR Failed to compile with 1 error 8:28:49 PM error in ./src/views/AutogenView.vue?vue&type=script&lang=js Syntax Error: TypeError: Cannot read properties of null (reading 'content') @ ./src/views/AutogenView.vue?vue&type=script&lang=js 1:0-282 1:0-282 1:283-554 1:283-554 i am using windows 10 with nodejs 16 installed this is the .env.local CS_URL=http://localhost:8080 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
@SamEsmailR, not sure if this helps:
|
Beta Was this translation helpful? Give feedback.
-
Hi @SamEsmailR I use nodejs v16 on Mac OSX and Ubuntu 22.04/24.04, and I don't face any issues. Was this the first time you've tried this or do you have any local changes you were trying to test/build. If you're not able to fix, as Windows isn't the usual development env most of us have, you can try to setup a Ubuntu-docker based env on your Windows system (for example, using docker desktop or multipass). This is my env info:
|
Beta Was this translation helpful? Give feedback.
-
@SamEsmailR Is the package-lock.json file missing by any chance? |
Beta Was this translation helpful? Give feedback.
-
Hi, I am facing the same issue. Background: System details and env info: Ubuntu 24.04.2 $ npm --version
|
Beta Was this translation helpful? Give feedback.
Hi, I am facing the same issue.
Background:
npm install
first failed with python3.12 as the default python interpreter. So I changed it to python3.11 and then it worked.Then on doing `npm run serve' im getting the above error.
System details and env info: Ubuntu 24.04.2
$ npm --version
8.19.4