Deploying skill not working

cli

#1

Hey,

I’ve just created a fresh Jovo project using the CI. When I tried to run jovo deploy, I get this error

✖ Zip Project
      -> Command failed: npm run bundle
   [18:11:23] 'prepareProject' errored after 42 ms
   [18:11:23] Error: File not found with singular glob: /Users/duncan/Sites/…
      Deploying Alexa Skill
      Deploying Google Action

#2

Managed to fix it by changing the bundle command in my package.json file from gulp --gulpfile node_modules/jovo-framework/gulpfile.js --cwd .. to gulp --gulpfile node_modules/jovo-framework/gulpfile.js --cwd .


#3

Thank you for pointing this out, @damcclean!

Turns out this typo happened when we added TypeScript versions of all the templates. Just merged your pull request and also fixed it for a few other templates.

Thanks!
Jan


#4

Hi, deploying isn’t not working here too. I think it’s an error with my gulp-file (?)
> Bundle Project
√ Copy source code to “./bundle”
× Run “npm install --production”
-> Command failed: npm run bundle
internal/modules/cjs/loader.js:584
throw err;
^

Error: Cannot find module ‘gulp-run-command’
at
Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:
15)
at Function.Module._load (internal/modules/cjs/loader.js:508:25)
at
Module.require (internal/modules/cjs/loader.js:637:17)
at require
(internal/modules/cjs/helpers.js:22:18)
at Object.
(C:\Users\Ari\Documents\Entwicklung\Alexa\miniskills\magische_miesmus
chel
jovo-sample-voice-app-nodejs-master\node_modules\jovo-framework\gulpf
ile.j
s:13:13)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:712:
10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at
tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at
Function.Module._load (internal/modules/cjs/loader.js:531:3)
npm ERR!
code ELIFECYCLE
npm ERR! errno 1
npm ERR!
[email protected] bundle: gulp --gulpfile node_modules/jovo-framework/gulpfile.js --cwd ./
npm ERR! Exit status
1
npm ERR!
npm ERR! Failed at the
[email protected] bundle script.
npm ERR! This is
probably not a problem with npm. There is likely additional logging o
utput
above.

npm ERR! A complete log of this run can be found in:
npm ERR!
C:\Users\Ari\AppData\Roaming\npm-cache_logs\2019-06-10T04_33_11_228Z
-debu
g.log
Zip “./bundle” folder