Skip to content
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

mikronode@2.0.0-beta.4 can't be found after install using npm #24

Closed
leapon opened this issue Oct 2, 2016 · 3 comments
Closed

mikronode@2.0.0-beta.4 can't be found after install using npm #24

leapon opened this issue Oct 2, 2016 · 3 comments

Comments

@leapon
Copy link

leapon commented Oct 2, 2016

mikronode@2.0.0-beta.4 can't be found after install vis npm

$ node -v
v6.6.0

$ npm install mikronode
symbol-observable@1.0.2 node_modules/mikronode/node_modules/rxjs/node_modules/symbol-observable -> node_modules/symbol-observable
rxjs@5.0.0-beta.12 node_modules/mikronode/node_modules/rxjs -> node_modules/rxjs
router@1.0.0 /Users/yliu0/git/trepity/router
└── mikronode@2.0.0-beta.4 
npm WARN router@1.0.0 No description
npm WARN router@1.0.0 No repository field.

$ ls node_modules/
mikronode       rxjs            symbol-observable

$ node
> var api = require('mikronode');
Error: Cannot find module 'mikronode'
    at Function.Module._resolveFilename (module.js:455:15)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at repl:1:11
    at sigintHandlersWrap (vm.js:22:35)
    at sigintHandlersWrap (vm.js:96:12)
    at ContextifyScript.Script.runInThisContext (vm.js:21:12)
    at REPLServer.defaultEval (repl.js:313:29)
    at bound (domain.js:280:14)
@leapon leapon changed the title mikronode@2.0.0-beta.4 can't be found after install vis npm mikronode@2.0.0-beta.4 can't be found after install using npm Oct 2, 2016
@leapon
Copy link
Author

leapon commented Oct 2, 2016

Tested on node 0.10 / 4.x / 6.x, all have same problem.

@Trakkasure
Copy link
Owner

Trakkasure commented Oct 5, 2016

Sorry about that... and for the long wait.
Package.json was pointing to index.js instead of mikronode.js
I published an update beta.5

@leapon
Copy link
Author

leapon commented Oct 23, 2016

Got same error using beta.5


$ npm install --save mikronode
testabc@1.0.0 /Users/yliu0/git/testabc
└─┬ mikronode@2.0.0-beta.5 
  └─┬ rxjs@5.0.0-rc.1 
    └── symbol-observable@1.0.4 

$ ls -b node_modules/
mikronode       rxjs            symbol-observable

$ node
> var api = require('mikronode');
Error: Cannot find module 'mikronode'
    at Function.Module._resolveFilename (module.js:455:15)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at repl:1:11
    at sigintHandlersWrap (vm.js:22:35)
    at sigintHandlersWrap (vm.js:96:12)
    at ContextifyScript.Script.runInThisContext (vm.js:21:12)
    at REPLServer.defaultEval (repl.js:313:29)
    at bound (domain.js:280:14)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants