awu43 / snowpack-start Goto Github PK
View Code? Open in Web Editor NEW⛔ DEPRECATED ⛔ Start a new custom Snowpack application.
License: MIT License
⛔ DEPRECATED ⛔ Start a new custom Snowpack application.
License: MIT License
Install works fine now, but after doing
cd snowpack
yarn start
the following error appears:
Quickstart:
cd snowpack
yarn start
All Commands:
yarn start Start your development server.
yarn build Build your website for production.
yarn test Run your tests.
13:14:48 /code/node/starter-kits > cd snowpack
13:14:55 /code/node/starter-kits/snowpack (master) > yarn start
yarn run v1.22.5
$ snowpack dev
[14:15:59] [snowpack] Error: Requires one output.
Error: Requires one output.
at buildScriptPlugin (/code/node/starter-kits/snowpack/node_modules/@snowpack/plugin-build-script/plugin.js:7:11)
at execPluginFactory (/code/node/starter-kits/snowpack/node_modules/snowpack/lib/index.js:53618:18)
at loadPluginFromConfig (/code/node/starter-kits/snowpack/node_modules/snowpack/lib/index.js:53631:22)
at /code/node/starter-kits/snowpack/node_modules/snowpack/lib/index.js:53655:24
at Array.forEach (<anonymous>)
at loadPlugins (/code/node/starter-kits/snowpack/node_modules/snowpack/lib/index.js:53652:20)
at normalizeConfig (/code/node/starter-kits/snowpack/node_modules/snowpack/lib/index.js:53761:39)
at createConfiguration (/code/node/starter-kits/snowpack/node_modules/snowpack/lib/index.js:53982:30)
at Object.loadConfiguration (/code/node/starter-kits/snowpack/node_modules/snowpack/lib/index.js:54061:16)
at async cli (/code/node/starter-kits/snowpack/node_modules/snowpack/lib/index.js:132040:22)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Hello, I tried your starter kit but it errors before finishing the installation.
- Creating a new Snowpack app in /code/node/starter-kits/snowpack
- Installing package dependencies. This might take a couple of minutes.
node:internal/errors:415
ErrorCaptureStackTrace(err);
^
Error: Command failed with ENOENT: npm install react@17 react-dom@17
spawnSync npm install ENOENT
at Object.spawnSync (node:internal/child_process:1084:20)
at Object.spawnSync (node:child_process:668:24)
at Function.module.exports.sync (/code/.npm/_npx/daf316dc1912ab5b/node_modules/execa/index.js:167:25)
at installPackages (/code/.npm/_npx/daf316dc1912ab5b/node_modules/snowpack-start/src/index.js:362:11)
at main (/code/.npm/_npx/daf316dc1912ab5b/node_modules/snowpack-start/src/index.js:579:3)
at processTicksAndRejections (node:internal/process/task_queues:94:5) {
errno: -2,
code: 'ENOENT',
syscall: 'spawnSync npm install',
path: 'npm install',
spawnargs: [ 'react@17', 'react-dom@17' ],
originalMessage: 'spawnSync npm install ENOENT',
shortMessage: 'Command failed with ENOENT: npm install react@17 react-dom@17\n' +
'spawnSync npm install ENOENT',
command: 'npm install react@17 react-dom@17',
exitCode: undefined,
signal: undefined,
signalDescription: undefined,
stdout: '',
stderr: '',
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code 1
npm ERR! path /code/node/starter-kits
npm ERR! command failed
npm ERR! command sh -c snowpack-start
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.