Giter VIP home page Giter VIP logo

Comments (15)

stewartoallen avatar stewartoallen commented on July 22, 2024 1

Simple solution, when cloning the repo on windows, you need to enable symlinks like so:

git clone -c core.symlinks=true [repo-url]

from grid-apps.

stewartoallen avatar stewartoallen commented on July 22, 2024

if "npm update" fails, then there is a problem with your node installation

from grid-apps.

mmiscool avatar mmiscool commented on July 22, 2024

I fixed the NPM update problem.

Now when I run npm start it get the following result.

`C:\Downloads\apps-1.0.61\apps-1.0.61 ([email protected])
λ npm update

C:\Downloads\apps-1.0.61\apps-1.0.61 ([email protected])
λ npm start

[email protected] start C:\Downloads\apps-1.0.61\apps-1.0.61
node js/web-server debug

{ update_cache: 'js/ext-n3d.js' }

undefined:1555
throw new JS_Parse_Error(message, filename, line, col, pos);
^
Error
at new JS_Parse_Error (eval at (C:\Downloads\apps-1.0.61\apps-1.0.61\node_modules\uglify-js\tools\node.js:28:1), :1547:18)
at js_error (eval at (C:\Downloads\apps-1.0.61\apps-1.0.61\node_modules\uglify-js\tools\node.js:28:1), :1555:11)
at croak (eval at (C:\Downloads\apps-1.0.61\apps-1.0.61\node_modules\uglify-js\tools\node.js:28:1), :2094:9)
at token_error (eval at (C:\Downloads\apps-1.0.61\apps-1.0.61\node_modules\uglify-js\tools\node.js:28:1), :2102:9)
at unexpected (eval at (C:\Downloads\apps-1.0.61\apps-1.0.61\node_modules\uglify-js\tools\node.js:28:1), :2108:9)
at eval (eval at (C:\Downloads\apps-1.0.61\apps-1.0.61\node_modules\uglify-js\tools\node.js:28:1), :2206:17)
at eval (eval at (C:\Downloads\apps-1.0.61\apps-1.0.61\node_modules\uglify-js\tools\node.js:28:1), :2141:24)
at eval (eval at (C:\Downloads\apps-1.0.61\apps-1.0.61\node_modules\uglify-js\tools\node.js:28:1), :2909:23)
at Object.parse (eval at (C:\Downloads\apps-1.0.61\apps-1.0.61\node_modules\uglify-js\tools\node.js:28:1), :2920:7)
at addFile (C:\Downloads\apps-1.0.61\apps-1.0.61\node_modules\uglify-js\tools\node.js:72:33)

npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\laragon\bin\nodejs\node.exe" "C:\laragon\bin\nodejs\node_modules\npm\bin\npm-cli.js" "start"
npm ERR! node v6.11.3
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: node js/web-server debug
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'node js/web-server debug'.
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 gridspace-apps package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node js/web-server debug
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs gridspace-apps
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls gridspace-apps
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\Downloads\apps-1.0.61\apps-1.0.61\npm-debug.log

C:\Downloads\apps-1.0.61\apps-1.0.61 ([email protected])
λ`

from grid-apps.

stewartoallen avatar stewartoallen commented on July 22, 2024

this may be a windows-specific issue. i just cloned the repo and followed the readme and it's working on mac and linux.

from grid-apps.

mmiscool avatar mmiscool commented on July 22, 2024

What version of node are you using?

from grid-apps.

stewartoallen avatar stewartoallen commented on July 22, 2024

any version above 8.1

from grid-apps.

mmiscool avatar mmiscool commented on July 22, 2024

Ok. I got it working on linux.

Is there a build script to make a static build that dose not require node to be hosting it.
I was because I have a web application written in PHP that could benefit from this but I would need to host it from a folder on that server.

By the way thanks so mush for open sourcing this thing. I found it to be very quick and my current slicing set up take place on the web server side at the cost of resources. This pushes all of that nativity to the local client witch is great.

from grid-apps.

mmiscool avatar mmiscool commented on July 22, 2024

And where is your donate button.

from grid-apps.

stewartoallen avatar stewartoallen commented on July 22, 2024

lower right link on the wiki: https://github.com/GridSpace/apps/wiki

from grid-apps.

mmiscool avatar mmiscool commented on July 22, 2024

That's awesome.

Is there a build script to make a static copy of the app to be uploaded to a regular web server?

from grid-apps.

stewartoallen avatar stewartoallen commented on July 22, 2024

it's not my use case, so I have not invested time to do it. thanks for the donation!

from grid-apps.

mmiscool avatar mmiscool commented on July 22, 2024

I would be very interested in such a feature if you find the time or desire to implement.

from grid-apps.

 avatar commented on July 22, 2024

Hey Stewart! I'm having the same issue on a Windows machine. I think it has to do with windows slashes in filePath on line 86 on web-server.js.

from grid-apps.

stewartoallen avatar stewartoallen commented on July 22, 2024

from grid-apps.

stewartoallen avatar stewartoallen commented on July 22, 2024

I've replicated this and it looks like a problem with windows not supporting sym-links. Looking into a workaround.

from grid-apps.

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.