Code Monkey home page Code Monkey logo

moodle-mod_philosophers's People

Contributors

dmfama20 avatar kulmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

moodle-mod_philosophers's Issues

Server side rendering possible ?

Is it possible to apply server side rendering ? What is the best practice if my block has many view and each view will act different so I should render different entry point or use the same entry point and let vue-router do the thing ?

"npm run dev" and "npm run build" leads to an error

Hello,
I tried to run the commands
npm run buid and npm run dev
as explained in the readme. Unfortunately this ends with
npm ERR! missing script: build
and
npm ERR! missing script: watch

The corresponding logfiles are

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'watch' ]
2 info using [email protected]
3 info using [email protected]
4 verbose stack Error: missing script: watch
4 verbose stack     at run (/usr/share/npm/lib/run-script.js:155:19)
4 verbose stack     at /usr/share/npm/lib/run-script.js:63:5
4 verbose stack     at /usr/share/nodejs/read-package-json/read-json.js:116:5
4 verbose stack     at /usr/share/nodejs/read-package-json/read-json.js:436:5
4 verbose stack     at checkBinReferences_ (/usr/share/nodejs/read-package-json/read-json.js:391:45)
4 verbose stack     at final (/usr/share/nodejs/read-package-json/read-json.js:434:3)
4 verbose stack     at then (/usr/share/nodejs/read-package-json/read-json.js:161:5)
4 verbose stack     at /usr/share/nodejs/read-package-json/read-json.js:281:12
4 verbose stack     at /usr/share/nodejs/graceful-fs/graceful-fs.js:115:16
4 verbose stack     at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)
5 verbose cwd /var/www/html/moodle39/mod/philosophers/amd/build
6 verbose Linux 5.8.0-50-generic
7 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "watch"
8 verbose node v10.19.0
9 verbose npm  v6.14.4
10 error missing script: watch
11 verbose exit [ 1, true ]
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'build' ]
2 info using [email protected]
3 info using [email protected]
4 verbose stack Error: missing script: build
4 verbose stack     at run (/usr/share/npm/lib/run-script.js:155:19)
4 verbose stack     at /usr/share/npm/lib/run-script.js:63:5
4 verbose stack     at /usr/share/nodejs/read-package-json/read-json.js:116:5
4 verbose stack     at /usr/share/nodejs/read-package-json/read-json.js:436:5
4 verbose stack     at checkBinReferences_ (/usr/share/nodejs/read-package-json/read-json.js:391:45)
4 verbose stack     at final (/usr/share/nodejs/read-package-json/read-json.js:434:3)
4 verbose stack     at then (/usr/share/nodejs/read-package-json/read-json.js:161:5)
4 verbose stack     at /usr/share/nodejs/read-package-json/read-json.js:281:12
4 verbose stack     at /usr/share/nodejs/graceful-fs/graceful-fs.js:115:16
4 verbose stack     at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)
5 verbose cwd /var/www/html/moodle39/mod/philosophers/amd/build
6 verbose Linux 5.8.0-50-generic
7 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "build"
8 verbose node v10.19.0
9 verbose npm  v6.14.4
10 error missing script: build
11 verbose exit [ 1, true ]

Any idea what is going wrong here?

Thank you very much in advance!

Best,
Alex

Webpack describe

Hi !

I am interested in this project and would like to implement another simpler vue application than your. Can I ask that this project is mainly develop the vue app in vue folder and use webpack to build to lazy javascript file so moodle can use it. I would like to ask for the webpack describe because I am not export in that. How you communicate with moodle from your VUE application ?

Uncaught SyntaxError: "" string literal contains an unescaped line break: app-lazy.js:97:1667

Hi,
I've found out the following strange behaviour:
I've installed the plugin and installed the dependencies (vue, yarn,...). Then I switch the javascript cache off and run "yarn run dev" one time, which finishes without an error. Now, when I switch the javascript cache on again I get the following error
Uncaught SyntaxError: "" string literal contains an unescaped line break: app-lazy.js:97:1667
Remember, that I did not change anything in the code. Replacing the whole "amd" folder does not change anything.

Do you know whats getting wrong here?

Best,
Alex

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.