Closed psnider closed 2 years ago
I forgot to add the build output...
Upon running npm run build
:
> au-default-2@0.1.0 build
> snowpack build
[15:49:06] [snowpack] ! building files...
[15:49:06] [snowpack] Build Result Error: There was a problem with a file build result.
[15:49:06] [snowpack] ENOENT: no such file or directory, open '/Users/peter/devel/tutorials/au-default-2/src/@aurelia/runtime-html'
[15:49:06] [snowpack] Error: ENOENT: no such file or directory, open '/Users/peter/devel/tutorials/au-default-2/src/@aurelia/runtime-html'
at Object.openSync (node:fs:583:3)
at Object.readFileSync (node:fs:451:35)
at /Users/peter/devel/tutorials/au-default-2/plugin/aurelia-plugin.js:47:39
... I just learned today that although I've been following the tutorials on http://aurelia.io/docs, they create Aurelia v1 projects. I'll retry using the v2 method "npx makes aurelia".
au. v2.0.3 aurelia* v2.0.3 snowpack 3.6.2
Aurelia v2I cannot figure out how to apply this example to a project newly created via "au new", with "Default TypeScript App" and "install npm dependencies". I'm new to Aurelia and to Snowpack. Aurelia seems great so far, but webpack is giving me trouble, so it seems Snowpack is worth a try.
I've created a git repo with my attempt to combine this "aurelia-snowpack" with an Aurelia app created with the CLI: aurelia-snowpack_w_default_cli_app
Please see my notes in the ReadMe section "Convert to use SnowPack". These explain the steps I took to modify the default Aurelia app.
I'd appreciate any help you can offer.