-
-
Notifications
You must be signed in to change notification settings - Fork 817
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
Cannot find module after building for node-webkit #328
Comments
Thanks for reporting. This is some clash in the node-pre-gyp version used. Can you clear out your npm cache and then see if you can still replicate? |
I'm having a same/similar problem: $ npm install sqlite3 --build-from-source --runtime=node-webkit --target_arch=ia32 --target="0.8.4"
node-pre-gyp ERR! build error npm ERR! System Darwin 13.2.0 |
I got "access denied" from the link to the tarball: |
@cupofnestor try |
Thanks for the reply, Dane. I believe that I tried 0.8.6 as well. Are you referring to the availability of sqlite binaries, or nw itself? Is there a list of available tarballs?
|
I am facing same problem in windows and stuck for last 2 days. Can you please help. D:\apps\Node Webkit\nodebob-master\app>npm install sqlite3 --build-from-source -
npm ERR! System Windows_NT 6.1.7601 |
Even rebuilding is not working D:\apps\Node Webkit\nodebob-master\app\node_modules\sqlite3>nw-gyp rebuild --tar |
@arunkabraham You should give the node-webkit's target version to |
I have tried : nw-gyp rebuild --target=0.10.4 --arch=ia32 I am getting the following error. C:\nodewebkit\node_modules\sqlite3>nw-gyp rebuild --target=0.10.4 --arch=ia32 gyp info spawn args '--depth=.', |
Ok, the 404 error is gone and now we are facing something else. The versions of nw-gyp and node are fine, but what does |
C:\Python27>python.exe --version |
That version's fine as well. I'm out of ideas. @springmeyer Would you please |
I somehow want to get it working. Can you please suggest the versions of each of the components which will work without any issues. |
We are building the sqlite3 module on AppVeyor: https://ci.appveyor.com/project/Mapbox/node-sqlite3/history Builds for node-webkit v0.10.4 are completed fine there, but I don't see any real differences in the dependencies' versions against yours. |
I am experiencing problem only with sqlite3 module. So is it possible to download the one which is already built for Windows7+nodewebkit 0.10.4 from somewhere? Or can you please build and share it with me. I am stuck with it. |
Can you please build and share sqlite3 module for Windows7 + nodewebkit 0.10.4 |
Did install node-pre-gyp latest and I can confirm first issue reported by @csugden is now fixed. (don't need to rename folder in lib/binding anymore) |
Okay, let's assume that this issue is fixed by upgrading to a new version of |
Can someone build sqlite3 module for nodewebkit 0.8.6 and share me. I am totally stuck at this position. Tried to build from source but getting error on top of error. Please build it and share to arunk2005@gmail.com Node version : 0.10.29 I just need the artificats for "Environment: nodejs_version=0.10.30, nw_version=0.8.6, PLATFORM=x86" |
Thank you so much Mithgol |
@Mithgol hi! When i package my app with grunt-node-webkit i have a error "error ... not found in my app data ... sqlite3.node". The file exists. and in debug mode with nw.exe the sqlite3 node module run. A idea ? thank you in advance |
@mslimani What's the name of your packaged app? (You are probably experiencing the issue nwjs/nw.js#199, that's what I think.) |
Hi folks, I'm trying to build a standalone Mac OS X executable that includes sqlite3 built for node-webkit. I am experiencing the build issue above (believe it is #329). The upgrading node-pre-gyp as follows fixed build binding path name problem:
Then building
Is there a dependency on a specific version of sqlite3 source? The one that is being pulled by the build tool appears not to be correct. |
I am packaging this node-webkit application with the sqlite3 module for standalone installation on Mac OS X systems. Is there a preferred way to install the sqlite3 module without all the source and build sub-directories, etc...? When I build from source as directed (and as worked around in my previous comment), the module directory is unnecessarily cluttered with files that will never be used at runtime. Is there a recommended way to build or package the module for distribution? I would be grateful for guidance as to which of the sqlite3 module bits must be delivered and which files can safely be dropped from the final standalone app Contents. Or for a make target that will clean up after the build. |
I noticed this issue is closed but I followed webkit install instructions listed on website and I get a ton of errors: Microsoft Windows XP Version 5.1.2600 Copyright 1985-2001 Microsoft Corp. C:\NETSHARE\data\devprojects\nw\DBUtil>npm install sqlite3 --build-from-source --runtime="node-webki
unpack_sqlite_dep npm ERR! sqlite3@3.0.4 install: C:\NETSHARE\data\devprojects\nw\DBUtil> |
Attempting a node install and then a rebuild produces the following: C:\NETSHARE\data\devprojects\nw\DBUtil>npm install sqlite3 npm WARN package.json DBUtil@ No README data
[sqlite3] Success: "C:\NETSHARE\data\devprojects\nw\DBUtil\node_modules\sqlite3\lib\binding\node-v11 C:\NETSHARE\data\devprojects\nw\DBUtil>cd node_modules C:\NETSHARE\data\devprojects\nw\DBUtil\node_modules>cd sqlite3 C:\NETSHARE\data\devprojects\nw\DBUtil\node_modules\sqlite3>nw-gyp rebuild --target="0.11.4" |
@rss181919 I have an impression that you are affected by the issue fixed in #369. @springmeyer A new release of the npm package is probably necessary to prevent such issues from happening in the future. |
Cannot build for node webkit |
E:\PERSONAL-PROJECTS\CPADTool\CPADTool\CPADTool\node_modules\sqlite3>if not de npm ERR! sqlite3@3.1.0 install: npm ERR! Please include the following file with any support request: |
After installing for node-webkit –
npm install sqlite3 --build-from-source --runtime=node-webkit --target_arch=x64 --target=0.10.1
– node-webkit crashes with the error:
Cannot find module '[...]source/node_modules/sqlite3/lib/binding/node-webkit-v14-darwin-v64/node_sqlite3.node
The available folder in
binding
is callednode-webkit-v0.10.1-darwin-x64
. Renaming this to the expected name in the error allows the app to run.The text was updated successfully, but these errors were encountered: