Code Monkey home page Code Monkey logo

snowpack-start's People

Contributors

awu43 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

snowpack-start's Issues

Snowpack requires one output

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.

Error on npm install

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.