i'm trying to install fresh cloned ember-cli app and getting this error.
Cannot find module 'ember-cli/lib/broccoli/get-ember-app' Error: Cannot find module 'ember-cli/lib/broccoli/get-ember-app'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/Users/dudasupport/duda3/DudaRoot/client/src/dashboard/Brocfile.js:2:11)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
Ember-cli is installed in node_modules but and broccoli directory presents there but there is no get-ember-app file. What can cause this?
Related
While starting ember server I'm getting this error
What could be the reason for this error?
Unexpected identifier
/Users/chraju/Desktop/sites/blog-front-end/node_modules/ember-cli-typescript/js/addon.js:47
async postBuild() {
^^^^^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/chraju/Desktop/sites/blog-front-end/node_modules/ember-cli-typescript/index.js:9:20)
update node
nvm install 8.11.1
use the updated version
nvm use 8.11.1
in package.json update ember-cli version
"ember-cli": "2.13.3"
remove node module and run
rm -rf node_modules
npm install
ember s
working fine now
I am currently trying to create a new Alexa skill through the Amazon ask-cli, and I am running into an issue with a seemingly simple task. When I run ask init, I get the following error in terminal:
{ Error: Cannot find module './build/Release/DTraceProviderBindings'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/local/lib/node_modules/ask-cli/node_modules/dtrace-provider/dtrace-provider.js:18: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)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/local/lib/node_modules/ask-cli/node_modules/bunyan/lib/bunyan.js:79:18)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32) code: 'MODULE_NOT_FOUND' }
I suppose this means I need to install something via npm, but am not able to find a package called DTraceProviderBindings. I installed dtrace-provider, but still get the same error when I try to run ask init. So how can I diagnose and solve this, and other problems like it?
After upgrading to Meteor 1.4.1.1 I can run my Meteor app without issues locally, but once uploaded to AWS Beanstalk, I am getting the error below. Any help greatly appreciated. (Uninstalling/ReInstalling Meteor did no help). I am using meteor build --server-only ../build --architecture os.linux.x86_64 command to build on Windows if that matters and then deploying to AWS Linux instances.
Error: Cannot find module 'fibers'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/var/app/current/programs/server/boot.js:1:75)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
npm ERR! Linux 4.4.51-40.60.amzn1.x86_64
npm ERR! argv "/opt/elasticbeanstalk/node-install/node-v7.6.0-linux-
x64/bin/node" "/opt/elasticbeanstalk/node-install/node-v7.6.0-linux-
x64/bin/npm" "start"
npm ERR! node v7.6.0
npm ERR! npm v4.1.2
npm ERR! code ELIFECYCLE
Since Ember version 2.11, it should be possible to remove ember from bower, and instead load the library using the npm ember-source module.
I've run npm install --save-dev ember-source. I've removed ember from the bower.json file, and run rm -rf bower_components/ember.
I've added ember-source to packages.json and installed it .
When I run ember serve, it fails with this message:
Cannot find module 'path/to/myapp/bower_components/ember/ember-template-compiler'
Error: Cannot find module 'path/to/myapp/bower_components/ember/ember-template-compiler'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Class.included (path/to/myapp/node_modules/ember-cli-htmlbars-inline-precompile/index.js:48:20)
at Class.superWrapper [as included] (path/to/myapp/node_modules/ember-cli/node_modules/core-object/lib/assign-properties.js:34:20)
at EmberApp.<anonymous> (path/to/myapp/node_modules/ember-cli/lib/broccoli/ember-app.js:495:15)
at Array.filter (native)
at EmberApp._notifyAddonIncluded (path/to/myapp/node_modules/ember-cli/lib/broccoli/ember-app.js:490:45)
at new EmberApp (path/to/myapp/node_modules/ember-cli/lib/broccoli/ember-app.js:140:8)
It looks like ember is trying to load ember-template-compiler from the bower module, which no longer exists. How can I tell ember that it should instead be looking for node_modules/ember-source/dist/ember-template-compiler.js?
Try updating it in package.json
"ember-cli-htmlbars-inline-precompile": "^0.3.6"
Refer https://github.com/ember-cli/ember-cli/pull/6711
I cannot seem to build ember.js on my system (mac osx Yosemite node v0.11.14 npm 2.0.0
. npm install works but npm run build produces the following output:
Cannot find module './build/Release/shell'
Error: Cannot find module './build/Release/shell'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/Users/stockn/ember.js/node_modules/ember-cli-yuidoc/node_modules/execSync/index.js:30:11)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/Users/stockn/ember.js/node_modules/ember-cli-yuidoc/lib/commands/yuidoc.js:3:19)
Turns out the version of node was the problem. I installed node version manager https://github.com/creationix/nvm then ran
nvm install 0.10.26
now npm run build runs successfully.