Skip to content
This repository has been archived by the owner on Jun 3, 2019. It is now read-only.

Cannot find module './lib/babel' #4

Open
hmgibson23 opened this issue Jan 30, 2017 · 1 comment
Open

Cannot find module './lib/babel' #4

hmgibson23 opened this issue Jan 30, 2017 · 1 comment

Comments

@hmgibson23
Copy link

I get this when I run it:

ERROR in ./src/scripts/popup.js
Module build failed: Error: Cannot find module './lib/babel'
    at Function.Module._resolveFilename (module.js:440:15)
    at Function.Module._load (module.js:388:25)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/hugo/redux-chrome-extension/node_modules/react-hot-loader/babel.js:1:80)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at /home/hugo/redux-chrome-extension/node_modules/babel-core/lib/transformation/file/options/option-manager.js:202:20
    at Array.map (native)
    at Function.normalisePlugins (/home/hugo/redux-chrome-extension/node_modules/babel-core/lib/transformation/file/options/option-manager.js:180:20)
    at OptionManager.mergeOptions (/home/hugo/redux-chrome-extension/node_modules/babel-core/lib/transformation/file/options/option-manager.js:300:36)
    at OptionManager.addConfig (/home/hugo/redux-chrome-extension/node_modules/babel-core/lib/transformation/file/options/option-manager.js:232:10)
    at OptionManager.findConfigs (/home/hugo/redux-chrome-extension/node_modules/babel-core/lib/transformation/file/options/option-manager.js:436:16)
    at OptionManager.init (/home/hugo/redux-chrome-extension/node_modules/babel-core/lib/transformation/file/options/option-manager.js:484:12)
    at File.initOptions (/home/hugo/redux-chrome-extension/node_modules/babel-core/lib/transformation/file/index.js:223:65)
    at new File (/home/hugo/redux-chrome-extension/node_modules/babel-core/lib/transformation/file/index.js:140:24)
    at Pipeline.transform (/home/hugo/redux-chrome-extension/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
    at transpile (/home/hugo/redux-chrome-extension/node_modules/babel-loader/lib/index.js:38:20)
    at Object.module.exports (/home/hugo/redux-chrome-extension/node_modules/babel-loader/lib/index.js:133:12)
 @ multi popup

ERROR in ./src/scripts/options.js
Module build failed: Error: Cannot find module './lib/babel'
    at Function.Module._resolveFilename (module.js:440:15)
    at Function.Module._load (module.js:388:25)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/hugo/redux-chrome-extension/node_modules/react-hot-loader/babel.js:1:80)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at /home/hugo/redux-chrome-extension/node_modules/babel-core/lib/transformation/file/options/option-manager.js:202:20
    at Array.map (native)
    at Function.normalisePlugins (/home/hugo/redux-chrome-extension/node_modules/babel-core/lib/transformation/file/options/option-manager.js:180:20)
    at OptionManager.mergeOptions (/home/hugo/redux-chrome-extension/node_modules/babel-core/lib/transformation/file/options/option-manager.js:300:36)
    at OptionManager.addConfig (/home/hugo/redux-chrome-extension/node_modules/babel-core/lib/transformation/file/options/option-manager.js:232:10)
    at OptionManager.findConfigs (/home/hugo/redux-chrome-extension/node_modules/babel-core/lib/transformation/file/options/option-manager.js:436:16)
    at OptionManager.init (/home/hugo/redux-chrome-extension/node_modules/babel-core/lib/transformation/file/options/option-manager.js:484:12)
    at File.initOptions (/home/hugo/redux-chrome-extension/node_modules/babel-core/lib/transformation/file/index.js:223:65)
    at new File (/home/hugo/redux-chrome-extension/node_modules/babel-core/lib/transformation/file/index.js:140:24)
    at Pipeline.transform (/home/hugo/redux-chrome-extension/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
    at transpile (/home/hugo/redux-chrome-extension/node_modules/babel-loader/lib/index.js:38:20)
    at Object.module.exports (/home/hugo/redux-chrome-extension/node_modules/babel-loader/lib/index.js:133:12)
 @ multi options

@hmgibson23
Copy link
Author

Any help would be appreciated.

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

No branches or pull requests

1 participant