404 Errors loading JavasScript Modules with vue-mjs and SS v6.10

Creating a new project with the vue-mjs template not operational for signing page /portal path.


 "dev": "dotnet watch"
 "ui:dev": "npx tailwindcss -i ./tailwind.input.css -o ./wwwroot/css/app.css --watch",

Bowser console errors - appear JavaScript Modules are not built.

signin:32     GET https://localhost:5001/lib/mjs/servicestack-vue.mjs net::ERR_ABORTED 404
app.mjs:1     GET https://localhost:5001/lib/mjs/vue.mjs net::ERR_ABORTED 404
app.mjs:2     GET https://localhost:5001/lib/mjs/servicestack-client.mjs net::ERR_ABORTED 404

It looks like the lib files weren’t pulled down when the project was created, if you run npm run postinstall it should pull them down. How did you originally create the project?

Used the x tool. Current version.

The x tool should’ve installed the dependencies on on install, can you try running it explicitly:

npm install

And paste the output if there’s any issues and the version of node you’re using.

Problem Solved.

For completeness, npm was failing to get https://unpkg.com/@vue/*
I was running an old version of node (v16.14.2). Upgrade to v18.17.0. Works fine.

Thank you layoric / mythz.