spine / hem

Bundler for Node/CommonJS/Web Apps
MIT License
281 stars 71 forks source link

fixing package.json to use karma@0.8.0 to fix hem test errors #78

Closed awei01 closed 11 years ago

awei01 commented 11 years ago

when running hem test after initial install and using spine app, this occurs in logs:

Test application
Building 'appName' target: ./public/application.js
Building 'css' target: ./public/application.css
Building 'test' target: ./test/public/specs.js
false

module.js:340
    throw err;
          ^
Error: Cannot find module '../node_modules/karma/adapter/lib/jasmine.js'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._compile.require.resolve (module.js:382:19)
    at Hem.createTestacularFileList (C:\Documents and Settings\Austin\Applicatio
n Data\npm\node_modules\hem\lib\hem.js:324:27)
    at Hem.startTestacular (C:\Documents and Settings\Austin\Application Data\np
m\node_modules\hem\lib\hem.js:317:21)
    at Hem.test (C:\Documents and Settings\Austin\Application Data\npm\node_modu
les\hem\lib\hem.js:206:19)
    at Hem.exec (C:\Documents and Settings\Austin\Application Data\npm\node_modu
les\hem\lib\hem.js:232:27)
    at Function.Hem.exec (C:\Documents and Settings\Austin\Application Data\npm\
node_modules\hem\lib\hem.js:37:34)
    at Object.<anonymous> (C:\Documents and Settings\Austin\Application Data\npm
\node_modules\hem\bin\hem:9:23)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.runMain (module.js:492:10)
    at process.startup.processNextTick.process._tickCallback (node.js:244:9)

pointing to karma@0.8.0 fixes above

cengebretson commented 11 years ago

Thanks for the fix! Been busy working on the an updated hem that uses the latest karma but still probably a month or two away.