marko-js-archive / marko-widgets

[LEGACY] Module to support binding of behavior to rendered UI components rendered on the server or client
http://v3.markojs.com/docs/marko-widgets/
MIT License
142 stars 40 forks source link

"Cannot find module" error #139

Closed tbashor closed 8 years ago

tbashor commented 8 years ago

Got the error:

"Uncaught Error: Cannot find module "/project$1.0.0/plugins/components/sc-controller/index.js" from "/$/marko-widgets/lib"

Tried deleting the cache and verifed that sc-controller/index.js was included in browser.json for the page. I could see that sc-controller/index.js was included in the page, but it could not be properly referenced.

With help from @patrick-steele-idem, the root cause was having multiple versions of lasso in the project. Once the versions were synced, the error went away and the page behaved correctly.

patrick-steele-idem commented 8 years ago

Doing some cleanup.