cant get ionic to setup and run because of the xmlbuilder error and have tried every possibilty of trying it but no luck:
C:\Program Files (x86)\nodejs\node_modules>ionic start todo blank
Error: Cannot find module 'xmlbuilder'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (C:\Users\armaan\AppData\Roaming\npm\node_modules\ionic\node_modules\xml2js\lib\xml2js.js:12:13)
at Object. (C:\Users\armaan\AppData\Roaming\npm\node_modules\ionic\node_modules\xml2js\lib\xml2js.js:436:4)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
npm install -g xmlbuilder
just this!
hope that helps ;)
Related
After running Gulp in cmd, I get the following error message :
module.js:549
throw err;
^
Error: Cannot find module 'laravel-elixir'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/Applications/XAMPP/xamppfiles/htdocs/pmp/gulpfile.js:14:14)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
I have tried installing and uninstalling npm, it didn't work at all. Can anyone help?
Install laravel-elixir
npm install laravel-elixir
Also did you run:
npm install
If not, run that too.
I am running appium on OSX machine. I have installed appium using below command npm install -g appium and I have also installed npm install wd but I am receiving below error on running appium from terminal.
TypeError: fn must be a function
See
at Function.Promise.promisify (/usr/local/lib/node_modules/appium/node_modules/bluebird/js/main/promisify.js:268:15)
at Object.<anonymous> (lib/fs.js:48:13)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/usr/local/lib/node_modules/appium/node_modules/appium-support/build/lib/tempdir.js:12:11)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/usr/local/lib/node_modules/appium/node_modules/appium-support/build/index.js:11:19)
Please let me know how can I solve this issue.
Downgraded appium to 1.4.10 and error was removed.
i installed the file-upload module in deployd and cannot more start the deployd server.
To install, i used those commands:
npm install dpd-fileupload --save
cd dpd-fileupload
npm link
and when i start the server, i get this error
Error loading module node_modules/dpd-fileupload
Error: Cannot find module 'deployd/lib/resource'
at Function.Module._resolveFilename (module.js:337:15)
at Function.Module._load (module.js:287:25)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object.<anonymous> (/Users/me/project/node_modules/dpd-fileupload/index.js:6:18)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at /Users/me/deployd/lib/type-loader.js:26:32
at doNTCallback0 (node.js:417:9)
at process._tickDomainCallback (node.js:387:13)
I just created a link to deployd and it works.
The command:
npm link deployd
;-)
I set up a laravel/homestead environment to study the Laravel 5.1, while trying to run gulp --production command get the error below:
Error: Cannot find module 'strip-bom'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/vagrant/app/node_modules/gulp/node_modules/vinyl-fs/lib/src/getContents/bufferFile.js:4:16)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
I've looked hard and found nothing to correct the error.
You don't have strip-bom installed. You have to install it like this.
npm install --save strip-bom
I'm working through Mike Bostock's mapping tutorial. I've followed the instructions, installing v0.10.5 of node and using the npm to install topojson. If I run 'whereis topojson
' it displays 'topojson: /usr/bin/topojson /usr/bin/X11/topojson
'. When I try to run topojson, to format the subunits json as per the tutorial, I get the following error:
module.js:340
throw err;
Error: Cannot find module './lib/topojson/topology'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/usr/lib/node_modules/topojson/index.js:4:21)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
Does anyone know what I'm doing wrong here ?