GithubHelp home page GithubHelp logo

Comments (10)

japrogramer avatar japrogramer commented on May 2, 2024

Also i cannot install bower globally for reasons. So you see a docker file would be so helpful.

from modular-admin-html.

japrogramer avatar japrogramer commented on May 2, 2024

I found a workaround by making a ubuntu chroot but this is really wasteful. plus bower is deprecated.

from modular-admin-html.

modularcoder avatar modularcoder commented on May 2, 2024

Hi @japrogramer
Could you help me with that?
I'm not very experienced in docker.

from modular-admin-html.

japrogramer avatar japrogramer commented on May 2, 2024

I can't even get it setup without docker, from running it in a chroot ubuntu machine
http://sprunge.us/gfNj

npm WARN prefer global [email protected] should be installed with -g

> [email protected] install /home/n22/git/modular-admin-html/node_modules/node-sass
> node scripts/install.js

sh: 1: node: not found
[email protected] /home/n22/git/modular-admin-html
+-- [email protected]
| `-- [email protected]
|   `-- [email protected] 
+-- [email protected]
| +-- [email protected]
| | `-- [email protected] 
| `-- [email protected] 
|   `-- [email protected] 
+-- [email protected]
| +-- [email protected]
| | `-- [email protected] 
| `-- [email protected] 
`-- [email protected]
  `-- [email protected]
    `-- [email protected] 

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm ERR! Linux 3.18.0-14582-g2fa17b5c810f
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR! [email protected] install: `node scripts/install.js`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node scripts/install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node scripts/install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls node-sass
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/n22/git/modular-admin-html/npm-debug.log

yes i have bower installed globally, and that is the output of running
npm install from the git root directory to the project.

from modular-admin-html.

japrogramer avatar japrogramer commented on May 2, 2024

here are more logs from npm-debug.log http://sprunge.us/IeAC

from modular-admin-html.

ex37 avatar ex37 commented on May 2, 2024

@japrogramer maybe you have installed node executable with an alias? Is node -v providing any output in your console? Seems like that the executable for your system is nodejs

from modular-admin-html.

ex37 avatar ex37 commented on May 2, 2024

@japrogramer this can be fixed by installing https://launchpad.net/ubuntu/trusty/+package/nodejs-legacy
just run sudo apt-get install nodejs-legacy

from modular-admin-html.

japrogramer avatar japrogramer commented on May 2, 2024

cool, that fixed it. Im going write a Dockerfile so i can get it setup in other machines outside a traditional chroot. Ill make a pull request when i get it working.

from modular-admin-html.

japrogramer avatar japrogramer commented on May 2, 2024

@modularcoder I made a docker-compose setup for this project
pull request

from modular-admin-html.

modularcoder avatar modularcoder commented on May 2, 2024

@japrogramer great, thank you!
I'll review and merge soon

from modular-admin-html.

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.