Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jQuery and other resources not found #6

Open
Rillke opened this issue Jul 22, 2015 · 3 comments
Open

jQuery and other resources not found #6

Rillke opened this issue Jul 22, 2015 · 3 comments
Labels

Comments

@Rillke
Copy link
Contributor

Rillke commented Jul 22, 2015

Almost no resources can't be found.

Before they used to include the resources with (level up directory)

    <script src="../node_modules/jquery/dist/jquery.js"></script>
    <script src="../node_modules/oojs/dist/oojs.jquery.js"></script>
    <script src="../dist/oojs-ui.js"></script>
    <script src="../dist/oojs-ui-apex.js"></script>
    <script src="../dist/oojs-ui-mediawiki.js"></script>

Now they are doing it like this (inside directory) :

    <script src="node_modules/jquery/dist/jquery.js"></script>
    <script src="node_modules/oojs/dist/oojs.jquery.js"></script>
    <script src="dist/oojs-ui.js"></script>
    <script src="dist/oojs-ui-apex.js"></script>
    <script src="dist/oojs-ui-mediawiki.js"></script>
@Rillke Rillke added the bug label Jul 22, 2015
@Rillke
Copy link
Contributor Author

Rillke commented Jul 22, 2015

They now have demos at: https://doc.wikimedia.org/oojs-ui/master/demos -- this tool is therefore obsolete.

@Rillke
Copy link
Contributor Author

Rillke commented Jul 28, 2015

npm run-script demos

Warning: Unable to read "dist/themes/apex/images/icons/quotesAdd-ltr.svg" file (Error code: EMFILE). Use --force to continue.

Aborted due to warnings.

npm ERR! [email protected] demos: grunt demos
npm ERR! Exit status 3
npm ERR!
npm ERR! Failed at the [email protected] demos script.
npm ERR! This is most likely a problem with the oojs-ui package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! grunt demos
npm ERR! You can get their info via:
npm ERR! npm owner ls oojs-ui
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.13.0-45-generic
npm ERR! command "/data/project/rillke-node/node/bin/node" "/data/project/oojs-ui/node/bin/npm" "run-script" "demos"
npm ERR! cwd /data/project/oojs-ui/public_html/oojs-ui
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /data/project/oojs-ui/public_html/oojs-ui/npm-debug.log
npm ERR! not ok code 0
tools.oojs-ui@tools-bastion-02:~/public_html/oojs-ui$

@Rillke
Copy link
Contributor Author

Rillke commented Jul 28, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant