Unknown file type in nodejs app on smartos?
-
In an attempt to get my nodejs app running on SmartOS, some of my modules are failing when the app attempts to start. Specifically, the module that fails is a module that is built with node-gyp. I actually can't get the module to even build on the machine due to an encrypted make exited with error 2message, so I scp'd it from my local box. Anyway, once the app begins to start I get "this" error Error: http://ld.so.1: node: fatal: /root/path/to/node_modules/file.node: unknown file type Any ideas? Thanks in advance.
-
Answer:
If you're looking for ideas only, I have one. Your linker or something is telling you that something from node_modules isn't a valid file type. I'd say it's either asking for a module not built correctly (gyp on SmartOS, how does that work?), or that it's trying to link a _javascript_ file into some binary. What file type is that file at all?
Zlatko ÄuriÄ at Quora Visit the source
Related Q & A:
- How to get the source file of a particular type?Best solution by social.msdn.microsoft.com
- How do I get the APK file for an Android app?Best solution by Yahoo! Answers
- What type of email is yahoo? Is it POP, IMAP, or Exchange? What is the incoming mail server? Its for an App?Best solution by Yahoo! Answers
- How do you change the file type on a video?Best solution by Yahoo! Answers
- How can PCR or mass spectrometer be used to detect an unknown new bacteria to which no human has exposed?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.