Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property '_' of undefined #32

Closed
sydkaz opened this issue Mar 13, 2018 · 1 comment
Closed

Cannot read property '_' of undefined #32

sydkaz opened this issue Mar 13, 2018 · 1 comment

Comments

@sydkaz
Copy link

sydkaz commented Mar 13, 2018

Cant get it to work on windows 10 getting the following errors.

Error
E:\downloads\downloads\google-map-react-examples-master\node_modules\underscore\underscore.js:17
var previousUnderscore = root._;
^

TypeError: Cannot read property '_' of undefined
at E:/downloads/downloads/google-map-react-examples-master/node_modules/underscore/underscore.js:15:32
at Object. (E:/downloads/downloads/google-map-react-examples-master/node_modules/underscore/underscore.js:1548:3)
at Module._compile (module.js:570:32)
at normalLoader (E:\downloads\downloads\google-map-react-examples-master\node_modules\babel-core\lib\api\register\node.js:199:5)
at Object.require.extensions.(anonymous function) [as .js] (E:\downloads\downloads\google-map-react-examples-master\node_modules\babel-core\lib\api\register\node.js:216:7)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)

Config
$ npm -version
5.6.0

$ node --version
v6.11.2

I have tried to run it using Cygwin, CMD as admin both of them don't seem to be working.
Have tried to install webpack-dev-server separately to start "webpack-dev-server" which is not working either.

Has anyone got any idea whats wrong with this?

@sydkaz
Copy link
Author

sydkaz commented Mar 14, 2018

Managed to get this working after adding /node_modules/ as mentioned in here https://stackoverflow.com/questions/39301399/underscore-gives-error-when-bundling-with-webpack

@sydkaz sydkaz closed this as completed Apr 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant