Context:
VM: 3 gigs of ram, Parallels Desktop Windows: Bash shell:
- From
cmd.exe
I runbash
which logs me in as root. Then I runsu - user
to use theuser
user, which was installed by default and has a /home/user directory. I could have made a new user with a home directory, add them to the sudo group, but I just used the quickest route possible to test this out.
This one occurs just before ember new finishes
. I tried
Successfully initialized git.
internal/child_process.js:313
throw errnoException(err, 'spawn');
^
Error: spawn ENOMEM
at exports._errnoException (util.js:1026:11)
at ChildProcess.spawn (internal/child_process.js:313:11)
at exports.spawn (child_process.js:380:9)
at spawn (/home/user/test-portfinder/ember-cli/node_modules/npm/lib/utils/spawn.js:21:13)
at runCmd_ (/home/user/test-portfinder/ember-cli/node_modules/npm/lib/utils/lifecycle.js:247:14)
at runCmd (/home/user/test-portfinder/ember-cli/node_modules/npm/lib/utils/lifecycle.js:208:5)
at runPackageLifecycle (/home/user/test-portfinder/ember-cli/node_modules/npm/lib/utils/lifecycle.js:174:3)
at Array.<anonymous> (/home/user/test-portfinder/ember-cli/node_modules/npm/node_modules/slide/lib/bind-actor.js:15:8)
at LOOP (/home/user/test-portfinder/ember-cli/node_modules/npm/node_modules/slide/lib/chain.js:15:14)
at chain (/home/user/test-portfinder/ember-cli/node_modules/npm/node_modules/slide/lib/chain.js:20:5)
- Does not seem to work, at least with my setup. To fix this, I copied bower_components from another project. This get me to the next error.
Returns:
npm ERR! code 1
Than said it seemed to work, maybe.
user@WIN10-AUG2016:~/test-portfinder/demo-apps/blah$ ember s -p 0
Could not start watchman
Visit https://ember-cli.com/user-guide/#watchman for more info.
was unable to use: "events", fell back to: "polling"
Just getting started with Ember? Please visit http://localhost:49152/ember-getting-started to get going
Livereload server on http://localhost:49153
Serving on http://localhost:49152/
The Broccoli Plugin: [ConfigReplace] failed with:
Error: EISDIR: illegal operation on a directory, read
at Error (native)
at Object.fs.readSync (fs.js:731:19)
at FSMonitor._measure (/home/user/test-portfinder/ember-cli/node_modules/heimdalljs-fs-monitor/index.js:66:21)
at Object.readSync (/home/user/test-portfinder/ember-cli/node_modules/heimdalljs-fs-monitor/index.js:82:30)
at tryReadSync (fs.js:486:20)
at Object.fs.readFileSync (fs.js:534:19)
at ConfigReplace.getConfig (/home/user/test-portfinder/ember-cli/node_modules/broccoli-config-replace/index.js:122:21)
at ConfigReplace.build (/home/user/test-portfinder/ember-cli/node_modules/broccoli-config-replace/index.js:27:21)
at /home/user/test-portfinder/ember-cli/node_modules/broccoli-plugin/read_compat.js:61:34
at tryCatch (/home/user/test-portfinder/ember-cli/node_modules/rsvp/dist/rsvp.js:538:12)
The broccoli plugin was instantiated at:
at ConfigReplace.Plugin (/home/user/test-portfinder/ember-cli/node_modules/broccoli-plugin/index.js:7:31)
at new ConfigReplace (/home/user/test-portfinder/ember-cli/node_modules/broccoli-config-replace/index.js:13:10)
at EmberApp.index (/home/user/test-portfinder/ember-cli/lib/broccoli/ember-app.js:653:10)
at EmberApp.toArray (/home/user/test-portfinder/ember-cli/lib/broccoli/ember-app.js:1645:10)
at EmberApp.toTree (/home/user/test-portfinder/ember-cli/lib/broccoli/ember-app.js:1668:30)
at module.exports (/home/user/test-portfinder/demo-apps/blah/ember-cli-build.js:23:14)
at CoreObject.setupBroccoliBuilder (/home/user/test-portfinder/ember-cli/lib/models/builder.js:70:19)
at CoreObject.init (/home/user/test-portfinder/ember-cli/lib/models/builder.js:50:10)
at CoreObject.superWrapper [as init] (/home/user/test-portfinder/ember-cli/node_modules/core-object/lib/assign-properties.js:32:18)
at CoreObject.Class (/home/user/test-portfinder/ember-cli/node_modules/core-object/core-object.js:32:33)
The above error I have not found a way around.
Conclusion - there are some kinks to work out