Error: Cannot find module 'jasmine-core'

Error: Cannot find module 'jasmine-core'

Hi,

I am trying to make a testing application using jasmine and karma framework. When I run the command:

karma start

Its throwing following error:

Error: Cannot find module 'jasmine-core'

C:\testangularjs\karmajasmine>karma start
module.js:471
    throw err;
    ^

Error: Cannot find module 'jasmine-core'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.resolve (internal/module.js:27:19)
    at initJasmine (C:\Users\user\AppData\Roaming\npm\node_modules\karma-jasmine\lib\index.js:8:42)
    at Array.invoke (C:\Users\user\AppData\Roaming\npm\node_modules\karma\node_modules\di\lib\injector.js:75:15)
    at Injector.get (C:\Users\user\AppData\Roaming\npm\node_modules\karma\node_modules\di\lib\injector.js:48:43)
    at C:\Users\user\AppData\Roaming\npm\node_modules\karma\lib\server.js:143:20
    at Array.forEach (native)
    at Server._start (C:\Users\user\AppData\Roaming\npm\node_modules\karma\lib\server.js:142:21)
    at Injector.invoke (C:\Users\user\AppData\Roaming\npm\node_modules\karma\node_modules\di\lib\injector.js:75:15)
    at Server.start (C:\Users\user\AppData\Roaming\npm\node_modules\karma\lib\server.js:103:18)
    at Object.exports.run (C:\Users\user\AppData\Roaming\npm\node_modules\karma\lib\cli.js:280:26)
    at Object.<anonymous> (C:\Users\user\AppData\Roaming\npm\node_modules\karma\bin\karma:3:23)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)

C:\testangularjs\karmajasmine>

How to resolve this error?

Thanks

View Answers

May 11, 2017 at 4:00 PM

Hi,

To solve this problem install jasmine-core globally:

npm install -g jasmine-core

Thanks









Related Tutorials/Questions & Answers:
Error: Cannot find module 'jasmine-core'
Error: Cannot find module 'jasmine-core'  Hi, I am trying to make...; ^ Error: Cannot find module 'jasmine-core' at Function.Module....: karma start Its throwing following error: Error: Cannot find module 'jasmine
ModuleNotFoundError: No module named 'jasmine-core'
ModuleNotFoundError: No module named 'jasmine-core'  Hi, My Python... 'jasmine-core' How to remove the ModuleNotFoundError: No module named '... of jasmine-core python library, ModuleNotFoundError: No module named '
Advertisements
ModuleNotFoundError: No module named 'find'
ModuleNotFoundError: No module named 'find'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'find' How to remove the ModuleNotFoundError: No module named 'find' error
ModuleNotFoundError: No module named 'find'
ModuleNotFoundError: No module named 'find'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'find' How to remove the ModuleNotFoundError: No module named 'find' error
ModuleNotFoundError: No module named 'find_compiler'
ModuleNotFoundError: No module named 'find_compiler'  Hi, My... 'find_compiler' How to remove the ModuleNotFoundError: No module named... the installation of find_compiler python library, ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'find-improved'
ModuleNotFoundError: No module named 'find-improved'  Hi, My... 'find-improved' How to remove the ModuleNotFoundError: No module named... the installation of find-improved python library, ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'find_it_bouyang'
ModuleNotFoundError: No module named 'find_it_bouyang'  Hi, My... named 'find_it_bouyang' How to remove the ModuleNotFoundError: No module named... the installation of find_it_bouyang python library, ModuleNotFoundError: No module
ModuleNotFoundError: No module named 'find_japanese'
ModuleNotFoundError: No module named 'find_japanese'  Hi, My... 'find_japanese' How to remove the ModuleNotFoundError: No module named... the installation of find_japanese python library, ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'find-missing'
ModuleNotFoundError: No module named 'find-missing'  Hi, My Python... 'find-missing' How to remove the ModuleNotFoundError: No module named '... of find-missing python library, ModuleNotFoundError: No module named 'find
ModuleNotFoundError: No module named 'find-missing'
ModuleNotFoundError: No module named 'find-missing'  Hi, My Python... 'find-missing' How to remove the ModuleNotFoundError: No module named '... of find-missing python library, ModuleNotFoundError: No module named 'find
ModuleNotFoundError: No module named 'find-scripts'
ModuleNotFoundError: No module named 'find-scripts'  Hi, My Python... 'find-scripts' How to remove the ModuleNotFoundError: No module named '... of find-scripts python library, ModuleNotFoundError: No module named 'find
ModuleNotFoundError: No module named 'find-scripts'
ModuleNotFoundError: No module named 'find-scripts'  Hi, My Python... 'find-scripts' How to remove the ModuleNotFoundError: No module named '... of find-scripts python library, ModuleNotFoundError: No module named 'find
ModuleNotFoundError: No module named 'find-the-site'
ModuleNotFoundError: No module named 'find-the-site'  Hi, My... 'find-the-site' How to remove the ModuleNotFoundError: No module named... the installation of find-the-site python library, ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'python-find'
ModuleNotFoundError: No module named 'python-find'  Hi, My Python... 'python-find' How to remove the ModuleNotFoundError: No module named '... of python-find python library, ModuleNotFoundError: No module named 'python-find
ModuleNotFoundError: No module named 'smart-find'
ModuleNotFoundError: No module named 'smart-find'  Hi, My Python... 'smart-find' How to remove the ModuleNotFoundError: No module named '...-find python library, ModuleNotFoundError: No module named 'smart-find'
ModuleNotFoundError: No module named 'sqlalchemy-find'
ModuleNotFoundError: No module named 'sqlalchemy-find'  Hi, My... named 'sqlalchemy-find' How to remove the ModuleNotFoundError: No module named... the installation of sqlalchemy-find python library, ModuleNotFoundError: No module
ModuleNotFoundError: No module named 'union-find'
ModuleNotFoundError: No module named 'union-find'  Hi, My Python... 'union-find' How to remove the ModuleNotFoundError: No module named '...-find python library, ModuleNotFoundError: No module named 'union-find'
ModuleNotFoundError: No module named 'basic-find'
ModuleNotFoundError: No module named 'basic-find'  Hi, My Python... 'basic-find' How to remove the ModuleNotFoundError: No module named '...-find python library, ModuleNotFoundError: No module named 'basic-find'
ModuleNotFoundError: No module named 'django-find'
ModuleNotFoundError: No module named 'django-find'  Hi, My Python... 'django-find' How to remove the ModuleNotFoundError: No module named '... of django-find python library, ModuleNotFoundError: No module named 'django-find
ModuleNotFoundError: No module named 'ff-find'
ModuleNotFoundError: No module named 'ff-find'  Hi, My Python...-find' How to remove the ModuleNotFoundError: No module named 'ff-find..., ModuleNotFoundError: No module named 'ff-find' error will be solved
ModuleNotFoundError: No module named 'find_a_prime'
ModuleNotFoundError: No module named 'find_a_prime'  Hi, My Python... 'find_a_prime' How to remove the ModuleNotFoundError: No module named '... of find_a_prime python library, ModuleNotFoundError: No module named 'find
ModuleNotFoundError: No module named 'find_compiler'
ModuleNotFoundError: No module named 'find_compiler'  Hi, My... 'find_compiler' How to remove the ModuleNotFoundError: No module named... the installation of find_compiler python library, ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'find-duplicates'
ModuleNotFoundError: No module named 'find-duplicates'  Hi, My... named 'find-duplicates' How to remove the ModuleNotFoundError: No module named... the installation of find-duplicates python library, ModuleNotFoundError: No module
ModuleNotFoundError: No module named 'find-episodes'
ModuleNotFoundError: No module named 'find-episodes'  Hi, My... 'find-episodes' How to remove the ModuleNotFoundError: No module named... the installation of find-episodes python library, ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'find-files'
ModuleNotFoundError: No module named 'find-files'  Hi, My Python... 'find-files' How to remove the ModuleNotFoundError: No module named 'find...-files python library, ModuleNotFoundError: No module named 'find-files'
ModuleNotFoundError: No module named 'find-improved'
ModuleNotFoundError: No module named 'find-improved'  Hi, My... 'find-improved' How to remove the ModuleNotFoundError: No module named... the installation of find-improved python library, ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'find_it_bouyang'
ModuleNotFoundError: No module named 'find_it_bouyang'  Hi, My... named 'find_it_bouyang' How to remove the ModuleNotFoundError: No module named... the installation of find_it_bouyang python library, ModuleNotFoundError: No module
ModuleNotFoundError: No module named 'find_japanese'
ModuleNotFoundError: No module named 'find_japanese'  Hi, My... 'find_japanese' How to remove the ModuleNotFoundError: No module named... the installation of find_japanese python library, ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'find-min'
ModuleNotFoundError: No module named 'find-min'  Hi, My Python... 'find-min' How to remove the ModuleNotFoundError: No module named 'find-min... library, ModuleNotFoundError: No module named 'find-min' error
ModuleNotFoundError: No module named 'find-missing'
ModuleNotFoundError: No module named 'find-missing'  Hi, My Python... 'find-missing' How to remove the ModuleNotFoundError: No module named '... of find-missing python library, ModuleNotFoundError: No module named 'find
ModuleNotFoundError: No module named 'find-scripts'
ModuleNotFoundError: No module named 'find-scripts'  Hi, My Python... 'find-scripts' How to remove the ModuleNotFoundError: No module named '... of find-scripts python library, ModuleNotFoundError: No module named 'find
ModuleNotFoundError: No module named 'find-the-site'
ModuleNotFoundError: No module named 'find-the-site'  Hi, My... 'find-the-site' How to remove the ModuleNotFoundError: No module named... the installation of find-the-site python library, ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'hyper-find'
ModuleNotFoundError: No module named 'hyper-find'  Hi, My Python... 'hyper-find' How to remove the ModuleNotFoundError: No module named '...-find python library, ModuleNotFoundError: No module named 'hyper-find'
ModuleNotFoundError: No module named 'azure-cli-find'
ModuleNotFoundError: No module named 'azure-cli-find'  Hi, My... named 'azure-cli-find' How to remove the ModuleNotFoundError: No module named... the installation of azure-cli-find python library, ModuleNotFoundError: No module named
ModuleNotFoundError: No module named 'd-snek-cogs-find'
ModuleNotFoundError: No module named 'd-snek-cogs-find'  Hi, My... named 'd-snek-cogs-find' How to remove the ModuleNotFoundError: No module...: No module named 'd-snek-cogs-find' error will be solved. Thanks
ModuleNotFoundError: No module named 'find-best-string'
ModuleNotFoundError: No module named 'find-best-string'  Hi, My... named 'find-best-string' How to remove the ModuleNotFoundError: No module...: No module named 'find-best-string' error will be solved. Thanks
ModuleNotFoundError: No module named 'find-conflicting-branches'
ModuleNotFoundError: No module named 'find-conflicting-branches'  Hi...: No module named 'find-conflicting-branches' How to remove the ModuleNotFoundError: No module named 'find-conflicting-branches' error? Thanks  
ModuleNotFoundError: No module named 'find-my-favorite-cat'
ModuleNotFoundError: No module named 'find-my-favorite-cat'  Hi...: No module named 'find-my-favorite-cat' How to remove the ModuleNotFoundError: No module named 'find-my-favorite-cat' error? Thanks   Hi
ModuleNotFoundError: No module named 'find-my-favorite-cat'
ModuleNotFoundError: No module named 'find-my-favorite-cat'  Hi...: No module named 'find-my-favorite-cat' How to remove the ModuleNotFoundError: No module named 'find-my-favorite-cat' error? Thanks   Hi
ModuleNotFoundError: No module named 'find-similar-projects'
ModuleNotFoundError: No module named 'find-similar-projects'  Hi...: No module named 'find-similar-projects' How to remove the ModuleNotFoundError: No module named 'find-similar-projects' error? Thanks   Hi
ModuleNotFoundError: No module named 'jira-find-blockers'
ModuleNotFoundError: No module named 'jira-find-blockers'  Hi, My... named 'jira-find-blockers' How to remove the ModuleNotFoundError: No module..., ModuleNotFoundError: No module named 'jira-find-blockers' error will be solved
ModuleNotFoundError: No module named 'manjaro-torrent-find'
ModuleNotFoundError: No module named 'manjaro-torrent-find'  Hi...: No module named 'manjaro-torrent-find' How to remove the ModuleNotFoundError: No module named 'manjaro-torrent-find' error? Thanks   Hi
ModuleNotFoundError: No module named 'opal-azure-cli-find'
ModuleNotFoundError: No module named 'opal-azure-cli-find'  Hi, My...: No module named 'opal-azure-cli-find' error? Thanks   Hi..., ModuleNotFoundError: No module named 'opal-azure-cli-find' error
ModuleNotFoundError: No module named 'osm-find-first'
ModuleNotFoundError: No module named 'osm-find-first'  Hi, My... named 'osm-find-first' How to remove the ModuleNotFoundError: No module named... the installation of osm-find-first python library, ModuleNotFoundError: No module named
ModuleNotFoundError: No module named 'Pillow-find-difference'
ModuleNotFoundError: No module named 'Pillow-find-difference'  Hi...: No module named 'Pillow-find-difference' How to remove the ModuleNotFoundError: No module named 'Pillow-find-difference' error? Thanks   Hi
ModuleNotFoundError: No module named 'py-find-injection'
ModuleNotFoundError: No module named 'py-find-injection'  Hi, My... named 'py-find-injection' How to remove the ModuleNotFoundError: No module...: No module named 'py-find-injection' error will be solved. Thanks
ModuleNotFoundError: No module named 'pyf-programmers-find'
ModuleNotFoundError: No module named 'pyf-programmers-find'  Hi...: No module named 'pyf-programmers-find' How to remove the ModuleNotFoundError: No module named 'pyf-programmers-find' error? Thanks   Hi
ModuleNotFoundError: No module named 'pyf-programmers-find'
ModuleNotFoundError: No module named 'pyf-programmers-find'  Hi...: No module named 'pyf-programmers-find' How to remove the ModuleNotFoundError: No module named 'pyf-programmers-find' error? Thanks   Hi
ModuleNotFoundError: No module named 'telegram-find-in-channel-bot'
ModuleNotFoundError: No module named 'telegram-find-in-channel-bot'  ...: No module named 'telegram-find-in-channel-bot' How to remove the ModuleNotFoundError: No module named 'telegram-find-in-channel-bot' error
ModuleNotFoundError: No module named 'telegram-find-in-channel-bot'
ModuleNotFoundError: No module named 'telegram-find-in-channel-bot'  ...: No module named 'telegram-find-in-channel-bot' How to remove the ModuleNotFoundError: No module named 'telegram-find-in-channel-bot' error

Ads