Giter Site home page Giter Site logo

Comments (6)

dany-on-demand avatar dany-on-demand commented on June 9, 2024 1

pundle-cli worked, thanks! 👍

from motion.

steelbrain avatar steelbrain commented on June 9, 2024

Hi @dany-on-demand

There's two different things in here

  • You are writing to a dir in C:\ directory, without taking it's ownership first, perms are weird in windows when it comes to C drive so I recommend you do your work in D drive or take ownership of your dir in C
  • You are running an oudated version of motion, please upgrade with npm install -g motion@latest

from motion.

dany-on-demand avatar dany-on-demand commented on June 9, 2024

It works, I was the folder owner but for some reason the folder is created read only (maybe open an issue for that?)

I don't understand, how am I supposed to use pundle with this though? I don't need a react app

from motion.

steelbrain avatar steelbrain commented on June 9, 2024

The react part is just the example code, remove the requires for react and you have a Pundle app :D

Also, I've pushed the fixes to pundle-cli and it's stable to use now too! If you want to use it, it's

npm install -g pundle@latest
cd /path/somewhere
mkdir my-app
cd my-app
pundle init basic # or "full"
pundle -d # to run dev server
pundle # to generate static output

from motion.

dany-on-demand avatar dany-on-demand commented on June 9, 2024

Thanks, still doesn't work though, I tried it back when you pushed the last commit, I still get the same:

error
λ pundle -d
unhandledRejection Error: Expected Error to be an object, got undefined:undefined
    at Object.<anonymous> (C:\Users\Dany\AppData\Roaming\npm\node_modules\pundle-cli\node_modules\pundle-reporter-default\lib\index.js:44:13)
    at Generator.next (<anonymous>)
    at step (C:\Users\Dany\AppData\Roaming\npm\node_modules\pundle-cli\node_modules\pundle-reporter-default\lib\index.js:21:191)
    at C:\Users\Dany\AppData\Roaming\npm\node_modules\pundle-cli\node_modules\pundle-reporter-default\lib\index.js:21:437
    at Object.<anonymous> (C:\Users\Dany\AppData\Roaming\npm\node_modules\pundle-cli\node_modules\pundle-reporter-default\lib\index.js:21:99)
    at Object.callback (C:\Users\Dany\AppData\Roaming\npm\node_modules\pundle-cli\node_modules\pundle-reporter-default\lib\index.js:72:17)
    at C:\Users\Dany\AppData\Roaming\npm\node_modules\pundle-cli\lib\index.js:251:37

with bash on windows, npm installs pundle but doesn't copy an execution script to global /bin (but for example create-react-app does and it works)

also running lib/index.js doesn't produce any output

from motion.

steelbrain avatar steelbrain commented on June 9, 2024

Ahhhh, I am dehydrated, sorry about that, pundle vs pundle-cli. The latter is the name of the cli package. Also I'm on windows right now, tho I'm setting it up for gaming, I'll give Pundle a kick and report back on my experience

from motion.

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.