onejs build failed to find main module "./index.js" #19

Closed
poliveira89 opened this Issue Jul 26, 2012 · 1 comment

Comments

Projects
None yet
2 participants

I have installed "soap" module ( https://github.com/milewise/node-soap/ ), and I need this module into one JS file, I used OneJS:

onejs build package.json soap.js

And an error about "main" option of package.json appeared:

[2012-07-26 13:58:46.432] [FATAL] onejs - Failed to find main module of "soap". Resolved Path: "index.js" Manifest Definition: "./index.js"

/usr/local/lib/node_modules/one/bin/onejs:72
    if(error) throw error;
                    ^
Error: Failed to find main module of "soap". Resolved Path: "index.js" Manifest Definition: "./index.js"
    at Object.oncomplete (/usr/local/lib/node_modules/one/lib/package.js:119:16)

You could this the error in more detail here: http://pastebin.com/Rt5u6QYD

What could be the problem?

azer added a commit that referenced this issue Jul 26, 2012

Collaborator

azer commented Jul 26, 2012

Thanks a lot for reporting the issue!

fixed by v1.7.9

@azer azer closed this Jul 26, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment