chromeos / create-vite-pwa Goto Github PK
View Code? Open in Web Editor NEWQuickly scaffold a Progressive Web App with Vite
License: Apache License 2.0
Quickly scaffold a Progressive Web App with Vite
License: Apache License 2.0
after doing the basic install and doing "npm run dev" I get this:
failed to load config from C:\Users\..\Documents\GitHub\fly-app\vite.config.js
error when starting dev server:
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension
What favicon generator did you use for all the images in image/pwa
I just used this to scaffold out a basic project, and made no changes to it. I ran npm install
and then npm run build
, and it threw this error
failed to load config from ./vite.config.js
error during build:
TypeError [ERR_IMPORT_ASSERTION_TYPE_MISSING]: Module "file://[LOCAL-PATH-TO-REPO]/manifest.json" needs an import assertion of type "json"
at new NodeError (node:internal/errors:372:5)
at validateAssertions (node:internal/modules/esm/assert:82:15)
at defaultLoad (node:internal/modules/esm/load:24:3)
at ESMLoader.load (node:internal/modules/esm/loader:431:26)
at ESMLoader.moduleProvider (node:internal/modules/esm/loader:350:22)
at new ModuleJob (node:internal/modules/esm/module_job:66:26)
at #createModuleJob (node:internal/modules/esm/loader:369:17)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:328:34)
at async ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:82:21)
at async Promise.all (index 2)
Using PowerShell in VSCode on Windows 11, and node 18.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.