yarn run start
yarn run v1.22.11
warning package.json: No license field
$ snowpack dev
[20:11:20] [snowpack] Welcome to Snowpack! Because this is your first time running
this project, Snowpack needs to prepare your dependencies. This is a one-time step
and the results will be cached for the lifetime of your project. Please wait...
[20:11:20] [snowpack] + identicon.js@2.3.3
[20:11:21] [snowpack] + lorem-ipsum@2.0.3
[20:11:21] [snowpack] + react@17.0.2
[20:11:21] [snowpack] └── object-assign@4.1.1
[20:11:21] [snowpack] + react-chat-elements@10.15.0
Quick checklist
What package manager are you using?
npm, yarn
What operating system are you using?
macOS
Describe the bug
node -v v14.17.4
yarn -v 1.22.11
npm -v 7.20.6
a react project with the react-chat-elements npm package could not build or start(run).
same code with the create-react-app project could build successful.
sample code from https://github.com/Detaysoft/react-chat-elements/tree/master/example
Steps to reproduce
yarn create snowpack-app test-snowpack --template @snowpack/app-template-react
replace App.js with https://github.com/Detaysoft/react-chat-elements/blob/master/example/App.js
replace App.css with https://github.com/Detaysoft/react-chat-elements/blob/master/example/App.css
yarn add identicon.js lorem-ipsum react-chat-elements
yarn run start yarn run v1.22.11 warning package.json: No license field $ snowpack dev [20:11:20] [snowpack] Welcome to Snowpack! Because this is your first time running this project, Snowpack needs to prepare your dependencies. This is a one-time step and the results will be cached for the lifetime of your project. Please wait... [20:11:20] [snowpack] + identicon.js@2.3.3 [20:11:21] [snowpack] + lorem-ipsum@2.0.3 [20:11:21] [snowpack] + react@17.0.2 [20:11:21] [snowpack] └── object-assign@4.1.1 [20:11:21] [snowpack] + react-chat-elements@10.15.0
freeze...
Link to minimal reproducible example (optional)
No response