atomicojs / atomico

Atomico a micro-library for creating webcomponents using only functions, hooks and virtual-dom.
https://atomicojs.dev
MIT License
1.16k stars 43 forks source link

Windows: Snowpack template not working #34

Closed Ciantic closed 3 years ago

Ciantic commented 4 years ago

I wish there were TypeScript template too, but I tried Snowpack instead:

PS> npm init "@atomico"

npx: installed 2 in 3.248s
Welcome to Atomico, let's create your project
√ Select the type of project » Getting started with Atomico + Snowpack
cloned atomicojs/base#3-basic-snowpack to ./
Your project has been created successfully, next steps:
1. npm install
2. npm start
3. Enjoy Atomico!

PS> npm install

npm WARN deprecated rollup-plugin-babel@4.4.0: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel.
> snowpack
⠼ snowpack installing... atomico, atomico/html.js
× Package subpath './html.js' is not defined by "exports" in C:\...\node_modules\atomico\package.json
‼ Finished with warnings.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! atomico-base@0.0.0 prepare: `snowpack`
npm ERR! Exit status 1
UpperCod commented 4 years ago

Hi @Ciantic , thanks for your issue, I have updated this skeleton adjusting it to the latest version of snowpack, this update fixes the mentioned problems, Thanks for trying Atomico!