Closed Risto-Stevcev closed 8 years ago
Nvm, sorry. This is an issue with the @motorcycle/dom
package itself because most
is a peerDependency
rather than a dependency
, and I accidently had most
installed:
[user@arch motorcyclejs-seed]$ browserify -r @motorcycle/dom -s dom -o dom.js
Error: Cannot find module 'most' from '/home/user/git/javascript/motorcyclejs-seed/node_modules/@motorcycle/dom/lib'
at /usr/lib/node_modules/browserify/node_modules/resolve/lib/async.js:46:17
at process (/usr/lib/node_modules/browserify/node_modules/resolve/lib/async.js:173:43)
at ondir (/usr/lib/node_modules/browserify/node_modules/resolve/lib/async.js:188:17)
at load (/usr/lib/node_modules/browserify/node_modules/resolve/lib/async.js:69:43)
at onex (/usr/lib/node_modules/browserify/node_modules/resolve/lib/async.js:92:31)
at /usr/lib/node_modules/browserify/node_modules/resolve/lib/async.js:22:47
at FSReqWrap.oncomplete (fs.js:82:15)
It works if I try to browserify the module by itself on my pc (I'm using npm3). Here's the output:
https://wzrd.in/debug-bundle/@motorcycle%2Fdom