Comments (15)
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.
if "npm update" fails, then there is a problem with your node installation
from grid-apps.
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.
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.
What version of node are you using?
from grid-apps.
any version above 8.1
from grid-apps.
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.
And where is your donate button.
from grid-apps.
lower right link on the wiki: https://github.com/GridSpace/apps/wiki
from grid-apps.
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.
it's not my use case, so I have not invested time to do it. thanks for the donation!
from grid-apps.
I would be very interested in such a feature if you find the time or desire to implement.
from grid-apps.
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.
from grid-apps.
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)
- Tools with shared number can interfere with simulation HOT 2
- add support for cnc gcode comments in ()
- part rotation buttons non-functional
- Is this project active? HOT 4
- thin wall conflicts with base detection on the belt
- adaptive Z plunge broken / disabled
- cam zip file export retains state between discrete op files
- pocket contour interacts with tabs incorrectly
- API Not Working "https://grid.space/kiri/engine.html" HOT 2
- Feature request: Sendto openbuilds control
- Set acceleration; print speed preview HOT 6
- [FR] CNC allow grouping and numbering tools in sets by size HOT 1
- [FR] Support importing STEP files in addition to STL files HOT 3
- [FR] Add ability to pause animation between operations
- [FR] In CNC, should be able to specify climb vs conventional for each operation HOT 1
- [FR] In CNC, need to be able to define drills
- Origin Y,Z offsetting in Index mode is ignored
- How to use kirimoto´s API?
- CAM designs using tabs use the default machine camFastFeed and camFastFeedZ for operations on tab layers
- (FR) More slicer settings to tweak rafts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grid-apps.