Giter Site home page Giter Site logo

Comments (5)

FredKSchott avatar FredKSchott commented on August 9, 2024

Yup, definitely should be done automatically. Do you have the output from running npx create-snowpack-app new-dir --template @snowpack/app-template-react-typescript available to share? That's the stage that install should have been run.

from create-snowpack-app.

Tohaker avatar Tohaker commented on August 9, 2024
npx: installed 36 in 2.69s

  - Using template @snowpack/app-template-react-typescript
  - Creating a new project in /workspaces/snowpack-test/new-dir
  - Installing package dependencies. This might take a couple of minutes.


> [email protected] install /workspaces/snowpack-test/new-dir/node_modules/deasync
> node ./build.js

`linux-x64-node-12` exists; testing
Binary is fine; exiting

> [email protected] postinstall /workspaces/snowpack-test/new-dir/node_modules/babel-runtime/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall /workspaces/snowpack-test/new-dir/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall /workspaces/snowpack-test/new-dir/node_modules/core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall /workspaces/snowpack-test/new-dir/node_modules/parcel-bundler/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall /workspaces/snowpack-test/new-dir/node_modules/parcel-bundler
> node -e "console.log('\u001b[35m\u001b[1mLove Parcel? You can now donate to our open collective:\u001b[22m\u001b[39m\n > \u001b[34mhttps://opencollective.com/parcel/donate\u001b[0m')"

Love Parcel? You can now donate to our open collective:
 > https://opencollective.com/parcel/donate
added 1491 packages from 720 contributors and audited 286030 packages in 515.023s

46 packages are looking for funding
  run `npm fund` for details

found 1 low severity vulnerability
  run `npm audit fix` to fix them, or `npm audit` for details

  - Initializing git repo.

  - Success!

Quickstart:

  cd new-dir
  npm start

All Commands:

  npm install
  Install all dependencies (npm + snowpack).
  We already ran this one for you.
  npm start
  Starts the development server.
  npm run build
  Bundles the app into static files for production.
  npm test
  Starts the test runner.

from create-snowpack-app.

Tohaker avatar Tohaker commented on August 9, 2024

I should note that running npm run prepare fixes this, though I expected it to run after running the creation command

from create-snowpack-app.

FredKSchott avatar FredKSchott commented on August 9, 2024

Yup, no idea why it didn't run originally. Adding a check now to the installer that if web_modules directory doesn't exist, just run it manually before finishing.

from create-snowpack-app.

FredKSchott avatar FredKSchott commented on August 9, 2024

resolved by c741106

from create-snowpack-app.

Related Issues (20)

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.