-
Notifications
You must be signed in to change notification settings - Fork 21
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
Problems on Mac Quick Start #28
Comments
I do not know what you have problems with this. You can try deleting node_modules and starting again. sudo rm -f node_modules If this fails try a simple test to see if your environment is set up to do node/c++ dev work "npm install [email protected]" if this does not succeed then you should investigate those issues. |
Ok, I ‘ve changed some things but this time it gives me this: info: All database printers have been initialized Any idea? Nikos
|
Actually to start and do some things i changed the port here http://localhost:61000/console/#/settings. If i let initial port(9998) as you say on the documentation it gives me nothing but errors. The one i ‘ve sent you before. Nikos
|
You have printStudio installed which automatically starts its version of PrintManger as a daemon. So you would need to turn that off. Thats documented in PrintStudio docs. "sudo launchctl unload /Library/LaunchDaemons/com.autodesk.printmanager.plist" You also found the alternative way of changing the port. This still not work, you are not building mdns, serial port or usb-detection which means that you are not set up to do node/c++ development. try this npm install [email protected] Take a look at the requirements of building serialport by checking out https://www.npmjs.com/package/serialport once you can build this the rest of print manager will work. |
Ok, I would like to do this but I didn't know how. Thanks for the advice, I 'm gonna try and I 'll let you know about the result. Nikos
|
It still gives me the same error and I ‘ve really tried everything. Maybe should I use a newer version of Node.js and npm respectively? Nikos
|
|
I can’t do anything because of the same error. :/ Maybe if I update node and npm versions? Nikos
|
One last thought. Are you using a fork/clone of this repo? if this does not succeed then you should investigate those issues.in https://www.npmjs.com/package/serialport |
I ‘ll try what you suggest. I have one last question, do you insist that I should work with node.js 0.11.16 version or can I work with a newer version? Nikos
|
you should stick at js 0.11.16. |
Ok, I 've reinstalled my OS X and now I 'm gonna try install node.js 0.11.16 with Homebrew Nikos
|
node in this path: /spark-print-mgr/bin/macos/node, it worked well. |
Yes but after two months I ‘ve still couldn’t installed it properly and I can’t understand which is the problem. The problem is with npm install and missing dependencies, maybe could you help me?
|
Well for the two past months I have been trying this tutorial from Spark https://spark.autodesk.com/developers/reference/printer-manufacturers/integrate-your-printer/integrate-your-printer-model https://spark.autodesk.com/developers/reference/printer-manufacturers/integrate-your-printer/integrate-your-printer-model and as step 1 redirected me here but I ‘ve tried everything and still not able to install print manager properly. I can’t understand what I do wrong or if the repository has some errors which need to be solved. Well the problems start when I type npm install on terminal, I ‘ve also clean installed my OSX Yosemite but the problems still are here. I attach the terminal output when i type npm install and I hope that you could help me, thank you in advance. Nikos
Last login: Mon May 30 18:43:49 on ttys000
child_process: customFds option is deprecated, use stdio instead.
child_process: customFds option is deprecated, use stdio instead.
child_process: customFds option is deprecated, use stdio instead.
npm ERR! Darwin 15.4.0 npm ERR! [email protected] preinstall: npm ERR! Please include the following file with any support request: |
You are having difficulties installing gyp, which was the most difficult problem I had to overcome when setting up a dev environment on Windows. Fortunately, in the node community, there is a large amount of documentation on how to get this installed. You should search the Internet for documentation on installing gyp for your OS version, in particular there are a large number of requirements around having specific versions of the C/C++ development toolchain that match your OS version. |
So to understand it better, this is the problem? I want to know if I ‘m doing any other mistake? I mean I download from here https://github.com/spark3dp/print-manager/releases https://github.com/spark3dp/print-manager/releases and from Open Source Print Manager 1.5.1 the source code and RoopaServer-0d221eaMacOS.tar.gz https://github.com/spark3dp/print-manager/releases/download/1.5.1/RoopaServer-0d221eaMacOS.tar.gz, or should I download previous releases and which? Nikos
|
You can narrow the scope of the problem by just trying to install 1 npm package that requires gyp. eg Then as @jmkao suggests search the Internet for documentation on installing gyp for your OS version and c++ compiler set up |
You mean documents folder or on spark-print-manager file? Nikos
|
What I am trying to point out is that this is any folder you want. This has nothing to do with print manager. So in short I mean documents folder. |
Ok I ‘ll try it know and gonna let you about the result Nikos
|
I have npm 2.3.0 but when I try npm install it gives me this error:
npm ERR! Darwin 15.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.11.16
npm ERR! npm v2.3.0
npm ERR! code MODULE_NOT_FOUND
npm ERR! Cannot find module 'async-some'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! http://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR! /Users/NikolaosAngelidis/Desktop/Programming/Spark/print-manager-1.5/spark-print-mgr/npm-debug.log
and when i try node server.js it gives me this error:
/Users/NikolaosAngelidis/Desktop/Programming/Spark/print-manager-1.5/spark-print-mgr/config.js:178
{ "roopaServerPath" : "/Users/NikolaosAngelidis/Desktop/Programming/Spark/Roop
^
SyntaxError: Unexpected token :
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (/Users/NikolaosAngelidis/Desktop/Programming/Spark/print-manager-1.5/spark-print-mgr/app.js:2:19)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
Any ideas?
The text was updated successfully, but these errors were encountered: