GithubHelp home page GithubHelp logo

samuel-martineau / generator-svelte Goto Github PK

View Code? Open in Web Editor NEW
29.0 29.0 5.0 6.35 MB

Yeoman generator generating a boilerplate Svelte.js app

Home Page: https://www.npmjs.com/package/generator-svelte

License: Apache License 2.0

JavaScript 96.58% HTML 2.12% Svelte 1.30%
sveltejs yeoman-generator

generator-svelte's Introduction

avatar

Samuel Martineau

Étudiant de niveau secondaire passionné par l'informatique !

À propos de moi

Je suis un étudiant québécois de niveau secondaire passionné par l’informatique et la robotique. J’ai davantage travaillé en JS et en TS, mais j’ai aussi expérimenté avec d’autres langages, dont le C# et le C++. J’ai aussi présenté trois projets en informatique à expo-sciences, qui ont tous été nominés. Mes repos Github sont majoritairement en français, mais certains sont en anglais.

Mes compétences

HTML5CSS3JavaScriptTypeScriptNodeJSLinuxApplePythonRaspberryPi

Icônes fournis par Devicon

Activité GitHub récente

Mes paquets NPM

Paquet Nombre de téléchargements
create-custom-command 876
generator-svelte 3254
rmc-cli 177
@robot-grimpeur/dev-client 121
@robot-grimpeur/dev-server 72
@robot-grimpeur/eslint-config 166
Total 4666

Me contacter

Il est possible de me contacter par courriel ([email protected])

Inspiré par

generator-svelte's People

Contributors

dependabot[bot] avatar dkchiem avatar samuel-martineau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

generator-svelte's Issues

404 Not Found: index.html

Describe the bug
i just created a project with command "yo svelte" with all first default options just hitting enter,
after installation done, i tried to run it on browser with command "npm run dev" but something is wrong,

Logs

404 Not Found

D:\NodeJS\todo\public\index.html

(rollup-plugin-serve)

Issue on build
and even i tried to build that project with command "npm run build"
i'm getting some kinda errors ,

Logs

[!] (plugin at position 7) Error: ENOENT: no such file or directory, open 'D:\NodeJS\todo\public\index.html'
Error: ENOENT: no such file or directory, open 'D:\NodeJS\todo\public\index.html'
    at Object.fs.openSync (fs.js:579:3)
    at Object.fs.writeFileSync (fs.js:1309:33)
    at Object.generateBundle (D:\NodeJS\todo\rollup.config.js:30:8)
    at Promise.resolve.then (D:\NodeJS\todo\node_modules\rollup\dist\shared\rollup.js:18269:25)

Issue running npm run build or dev

When I run npm run build or npm run dev, have this error:

[!] Error: ENOENT: no such file or directory, open '/Users/myuser/Desktop/notes/public/bundle2.css'

However, when I create a public folder first before running one of the two commands, the error doesn't occur. I think this means there is is something wrong with the folder creation.

Snowpack Support

Is your feature request related to a problem? Please describe.
Someone on Reddit requested Snowpack support.

Describe the solution you'd like
It would be nice to add an option to select the bundler (e.g. Rollup or Snowpack).

Error: Package subpath './compiler.js' is not defined by "exports" in node_modules/svelte/package.json

Describe the bug
Fresh deploy of the generator on MacOS Catalina and Node v14.3.0. Trying to run the build or dev scripts, rollup fails with this error:

[!] Error: Package subpath './compiler.js' is not defined by "exports" in node_modules/svelte/package.json

Logs

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './compiler.js' is not defined by "exports" in node_modules/svelte/package.json
    at applyExports (internal/modules/cjs/loader.js:497:9)
    at resolveExports (internal/modules/cjs/loader.js:513:23)
    at Function.Module._findPath (internal/modules/cjs/loader.js:641:31)
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1016:27)
    at Function.Module._load (internal/modules/cjs/loader.js:898:27)
    at Module.require (internal/modules/cjs/loader.js:1089:19)
    at require (internal/modules/cjs/helpers.js:73:18)
    at Object.<anonymous> (node_modules/rollup-plugin-svelte/index.js:11:4)
    at Module._compile (internal/modules/cjs/loader.js:1200:30)
    at Module._extensions..js (internal/modules/cjs/loader.js:1220:10)

Platform:

  • OS: OSX Catalina
  • Generator version: 2.2.8
  • Node version: 14.3.0
  • NPM version: 5.3.0

Issue with bublé

There seem to be a bug with bublé. Could you please upgrade to babel?

Support Svelte-kit

Is your feature request related to a problem? Please describe.
Svelte-kit is becoming the defacto way to create Svelte apps

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.