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

npm zombie #1475

Open
Donas4Ceos opened this issue Aug 24, 2017 · 2 comments
Open

npm zombie #1475

Donas4Ceos opened this issue Aug 24, 2017 · 2 comments

Comments

@Donas4Ceos
Copy link

07:12:14.275Z FATAL enyo-dev: Cannot read property 'length' of undefined
TypeError: Cannot read property 'length' of undefined
at ProcessSourceStream._resolved (/usr/local/lib/node_modules/enyo-dev/lib/Packager/lib/process-source-stream/index.js:223:20)
at ProcessSourceStream._resolve (/usr/local/lib/node_modules/enyo-dev/lib/Packager/lib/process-source-stream/index.js:169:8)
at ProcessSourceStream._dependency (/usr/local/lib/node_modules/enyo-dev/lib/Packager/lib/process-source-stream/index.js:291:47)
at /usr/local/lib/node_modules/enyo-dev/lib/Packager/lib/process-source-stream/index.js:226:17
at Array.forEach (native)
at ProcessSourceStream._resolved (/usr/local/lib/node_modules/enyo-dev/lib/Packager/lib/process-source-stream/index.js:225:18)
at ProcessSourceStream._resolve (/usr/local/lib/node_modules/enyo-dev/lib/Packager/lib/process-source-stream/index.js:169:8)
at ProcessSourceStream._dependency (/usr/local/lib/node_modules/enyo-dev/lib/Packager/lib/process-source-stream/index.js:291:47)
at /usr/local/lib/node_modules/enyo-dev/lib/Packager/lib/process-source-stream/index.js:226:17
at Array.forEach (native)
at ProcessSourceStream._resolved (/usr/local/lib/node_modules/enyo-dev/lib/Packager/lib/process-source-stream/index.js:225:18)
at ProcessSourceStream._resolve (/usr/local/lib/node_modules/enyo-dev/lib/Packager/lib/process-source-stream/index.js:169:8)
at ProcessSourceStream._dependency (/usr/local/lib/node_modules/enyo-dev/lib/Packager/lib/process-source-stream/index.js:291:47)
at /usr/local/lib/node_modules/enyo-dev/lib/Packager/lib/process-source-stream/index.js:226:17
at Array.forEach (native)
at ProcessSourceStream._resolved (/usr/local/lib/node_modules/enyo-dev/lib/Packager/lib/process-source-stream/index.js:225:18)

@ryanjduffy
Copy link
Contributor

Thanks for the report. Can you elaborate on how this error was caused? A repo/zip that reproduces the issue would be very helpful.

@Donas4Ceos
Copy link
Author

Donas4Ceos commented Aug 27, 2017

Zombie, is a node module,I use moonstone 2.7.0 whit enyo 2.7.0, enyo-dev version 1.0.0,
this is the process to reproduce "FATAL enyo-dev: Cannot read property 'length' of undefined"
1- npm install zombie
2- instance zombie -> const Browser = require('zombie'); into a class
3- enyo pack
4- "FATAL enyo-dev: Cannot read property 'length' of undefined"

In my first test i run "npm install zombie" into the directory project this install the module into node_modules and add the dependency automatically in package.json in the tag
"dependencies": {
"zombie": "^5.0.7"
}
next run the command "enyo pack" and get "FATAL enyo-dev: Cannot read property 'length' of undefined"

In my second test install the node module in my default node_modules folder and copy the module on the project into node_modules folder, "const Browser = require('zombie');" into a class and run "enyo pack" and get "FATAL enyo-dev: Cannot read property 'length' of undefined"

this is the repo of zombie
https://github.com/assaf/zombie

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

2 participants