superplate
superplate copied to clipboard
ERROR SAOError: Failed to install packages
While generating a project with superplate, this an error occured. here's the full terminal outputs:
PS C:\Users\himas\Documents\Programming\DiscordFa> npx superplate-cli bots
Need to install the following packages:
superplate-cli
Ok to proceed? (y) y
✔ Cloned remote source successfully.
√ Select your project type » nextjs
√ What will be the name of your app · bots
√ Package manager: · yarn
√ UI framework: · none
√ CSS Preprocessor: · styled-components
√ Do you also want to add styled-system ? · styled-system
√ Features: · axios,storybook,svgr,env,reverse-proxy,bundle-analyzer
√ Hooks · react-query,react-use
√ State Management: · none
√ i18n - Internationalization · next-i18next
√ Linting tools: · prettier
√ Testing Framework: · enzyme
√ E2E Testing framework: · cypress
√ Docker integration: · Docker
√ Continuous integration: · github-actions
warning next > native-url > [email protected]: The querystring API is considered Legacy. new code should use the URLSear
warning next > native-url > [email protected]: The querystring API is considered Legacy. new code should use the URLSear
warning next > native-url > [email protected]: The querystring API is considered Legacy. new code should use the URLSear
chParams API instead.
warning next > node-libs-browser > url > [email protected]: The querystring API is considered Legacy. new code should us
warning next > native-url > [email protected]: The querystring API is considered Legacy. new code should use the URLSear
chParams API instead.
warning next > node-libs-browser > url > [email protected]: The querystring API is considered Legacy. new code should us
warning next > native-url > [email protected]: The querystring API is considered Legacy. new code should use the URLSear
chParams API instead.
warning next > node-libs-browser > url > [email protected]: The querystring API is considered Legacy. new code should us
e the URLSearchParams API instead.
warning next > native-url > [email protected]: The querystring API is considered Legacy. new code should use the URLSear
chParams API instead.
warning next > node-libs-browser > url > [email protected]: The querystring API is considered Legacy. new code should us
e the URLSearchParams API instead.
warning next > native-url > [email protected]: The querystring API is considered Legacy. new code should use the URLSear
chParams API instead.
warning next > node-libs-browser > url > [email protected]: The querystring API is considered Legacy. new code should us
e the URLSearchParams API instead.
warning storybook-addon-styled-component-theme > recompose > babel-runtime > [email protected]: core-js@<3.3 is no longer m
aintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection i
n old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencie
s to the actual version of core-js.
warning storybook-addon-styled-component-theme > recompose > fbjs > [email protected]: core-js@<3.3 is no longer maintained
and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core
-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the a
ctual version of core-js.
warning @storybook/addon-essentials > @storybook/addon-docs > @jest/transform > jest-haste-map > [email protected]: some depend
ency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
warning @storybook/addon-essentials > @storybook/addon-docs > @storybook/builder-webpack4 > webpack-hot-middleware > que
[email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning @storybook/addon-essentials > @storybook/addon-docs > @storybook/builder-webpack4 > webpack > watchpack > watchp
ack-chokidar2 > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning @storybook/addon-essentials > @storybook/addon-docs > @storybook/builder-webpack4 > webpack > watchpack > watchp
ack-chokidar2 > chokidar > [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upg
rade to fsevents 2.
warning @storybook/addon-essentials > @storybook/addon-docs > @storybook/builder-webpack4 > webpack-dev-middleware > web
warning next > native-url > [email protected]: The querystring API is considered Legacy. new code should use the URLSear
chParams API instead.
warning next > node-libs-browser > url > [email protected]: The querystring API is considered Legacy. new code should us
e the URLSearchParams API instead.
warning storybook-addon-styled-component-theme > recompose > babel-runtime > [email protected]: core-js@<3.3 is no longer m
aintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection i
n old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencie
s to the actual version of core-js.
warning storybook-addon-styled-component-theme > recompose > fbjs > [email protected]: core-js@<3.3 is no longer maintained
and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core
-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the a
ctual version of core-js.
warning @storybook/addon-essentials > @storybook/addon-docs > @jest/transform > jest-haste-map > [email protected]: some depend
ency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
warning @storybook/addon-essentials > @storybook/addon-docs > @storybook/builder-webpack4 > webpack-hot-middleware > que
[email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning @storybook/addon-essentials > @storybook/addon-docs > @storybook/builder-webpack4 > webpack > watchpack > watchp
ack-chokidar2 > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning @storybook/addon-essentials > @storybook/addon-docs > @storybook/builder-webpack4 > webpack > watchpack > watchp
ack-chokidar2 > chokidar > [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upg
rade to fsevents 2.
warning @storybook/addon-essentials > @storybook/addon-docs > @storybook/builder-webpack4 > webpack-dev-middleware > web
pack-log > [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumst
lease upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to
be problematic. See https://v8.dev/blog/math-random for details.
warning @storybook/addon-essentials > @storybook/addon-docs > @jest/transform > jest-haste-map > sane > micromatch > sna
pdragon > source-map-resolve > [email protected]: https://github.com/lydell/resolve-url#deprecated
warning @storybook/addon-essentials > @storybook/addon-docs > @jest/transform > jest-haste-map > sane > micromatch > sna
pdragon > source-map-resolve > [email protected]: Please see https://github.com/lydell/urix#deprecated
warning @storybook/react > @pmmmwh/react-refresh-webpack-plugin > native-url > [email protected]: The querystring API is
considered Legacy. new code should use the URLSearchParams API instead.
warning @svgr/cli > @svgr/plugin-svgo > [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x.
warning " > [email protected]" has unmet peer dependency "react-is@>= 16.8.0".
warning " > [email protected]" has unmet peer dependency "@storybook/addons@^5.2.0".
warning " > [email protected]" has incorrect peer dependency "@storybook/react@^5.2.0".
warning " > [email protected]" has incorrect peer dependency "styled-components@^4.0.0".
warning "storybook-addon-styled-component-theme > [email protected]" has incorrect peer dependency "react@^0.14.0 || ^15.
0.0 || ^16.0.0".
warning "@storybook/addon-actions > @storybook/api > @reach/[email protected]" has incorrect peer dependency "[email protected] || 1
6.x || 16.4.0-alpha.0911da3".
warning "@storybook/addon-actions > @storybook/api > @reach/[email protected]" has incorrect peer dependency "[email protected]
|| 16.x || 16.4.0-alpha.0911da3".
warning "@storybook/addon-actions > @storybook/addons > @storybook/router > @reach/router > [email protected]"
has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0".
warning "@storybook/addon-essentials > @storybook/[email protected]" has unmet peer dependency "@storybook/components@
^6.3.0".
warning "@storybook/addon-essentials > @storybook/[email protected]" has unmet peer dependency "@storybook/core-events
@^6.3.0".
warning "@storybook/addon-essentials > @storybook/[email protected]" has unmet peer dependency "@storybook/theming@^6.
3.0".
warning " > [email protected]" has unmet peer dependency "webpack@>=2".
warning "@storybook/addon-essentials > @storybook/addon-docs > @storybook/core > @storybook/[email protected]" has unme
t peer dependency "webpack@*".
warning " > @storybook/[email protected]" has unmet peer dependency "css-loader@*".
warning " > @storybook/[email protected]" has unmet peer dependency "sass-loader@*".
warning " > @storybook/[email protected]" has unmet peer dependency "@storybook/addons@^6.3.0".
warning " > @storybook/[email protected]" has unmet peer dependency "@storybook/api@^6.3.0".
warning " > @storybook/[email protected]" has unmet peer dependency "@storybook/components@^6.3.0".
warning " > @storybook/[email protected]" has unmet peer dependency "@storybook/core-events@^6.3.0".
warning " > @storybook/[email protected]" has unmet peer dependency "@storybook/theming@^6.3.0".
warning " > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning "@wojtekmaj/enzyme-adapter-react-17 > [email protected]" has incorrect peer dependency "[email protected] |
| 0.14.x || ^15.0.0-0 || ^16.0.0-0".
warning "@wojtekmaj/enzyme-adapter-react-17 > enzyme-adapter-utils > [email protected]" has incorrect peer depend
ency "react@^0.14 || ^15.0.0 || ^16.0.0-alpha".
superplate-cli has encountered an error.
If you think this is caused by a bug. Please check out:
https://github.com/pankod/superplate/issues
ERROR SAOError: Failed to install packages in C:\Users\himas\Documents\Programming\DiscordFa\bots
at ChildProcess.<anonymous> (C:\Users\himas\AppData\Local\npm-cache\_npx\68a94a7f4a156bcd\node_modules\sao\dist\chunk.T-GsVNZ1.js:6885:16)
at ChildProcess.emit (node:events:390:28)
at ChildProcess.cp.emit (C:\Users\himas\AppData\Local\npm-cache\_npx\68a94a7f4a156bcd\node_modules\sao\dist\chunk.T-GsVNZ1.js:460:27)
at maybeClose (node:internal/child_process:1062:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) {
sao: true
}
Yarn version: 1.22.17
Node version: v17.0.1
Done using Powershell (Not administrator) on Windows 11
Also got this error
Hello, I am facing the same issue. Has a solution been found yet?
✔ Downloaded remote source successfully.
✔ Choose a project template · refine-react
✔ What would you like to name your project?: · client
✔ Choose your backend service to connect: · data-provider-custom-json-rest
✔ Do you want to use a UI Framework?: · mui
✔ Do you want to add example pages?: · inferencer
✔ Do you need any Authentication logic?: · auth-provider-google
✔ Do you need i18n (Internationalization) support?: · no
✔ Choose a package manager: · npm
✔ Would you mind sending us your choices so that we can improve superplate? · yes
superplate-cli has encountered an error.
If you think this is caused by a bug. Please check out:
https://github.com/pankod/superplate/issues
ERROR SAOError: Failed to install packages in /home/kevin/Projects/refine_dashboard/client
at ChildProcess.<anonymous> (/home/kevin/.npm/_npx/98c66fac912b1cba/node_modules/sao/dist/chunk.T-GsVNZ1.js:6885:16)
at ChildProcess.emit (node:events:526:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) {
sao: true
}
Thanks in advance.
@hcweigand10 @Hopeful-ly I had it working by using pnpm instead of npm. Can you try it?