grunt fatal error

  • 1
  • Problem
  • Updated 2 years ago
  • Not a Problem
Any idea what might be going wrong when I get this message?
Fatal error: Could not find a match for URL /skuid/api/v1/pages
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb

Posted 3 years ago

  • 1
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Here's some more context:

Running "skuid-pull:production" (skuid-pull) task
Fatal error: Could not find a match for URL /skuid/api/v1/pages
(Edited)
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,056 Points 20k badge 2x thumb
You must have Skuid Banzai Update 7 installed into the org you're trying to pull pages from, and the user whose credentials you're using must have either a Profile or Permission Set which grants them access to the "RestServices_Page" Apex Class, or they will not be able to use this API.
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
hahaha... right. Thanks!
Photo of Hasantha Liyanage

Hasantha Liyanage

  • 1,446 Points 1k badge 2x thumb
Hi

on command "grunt skuid-pull:dev"I get "Fatal error: tunneling socket could not be established, cause=Parse Error" What does this means proxy?
If so, I have the proxy set as below
npm config set proxy http://127.0.0.1:3128
npm config set https-proxy http://127.0.0.1:3128

Here's My Gruntfile.js

module.exports = function(grunt){
  /*
   * Enter the OAuth client and user-specific credentials needed to connect to Salesforce.
   * Alternatively, store this information in environment variables, e.g.
   *    'clientId': process.env.SKUID_GRUNT_CLIENT_ID
   */
  var orgOptions = {
    'clientId': '3MVG9Nc1qcZ7BbZ142QpXXXXX....',
    'clientSecret': '8667510733086xxx...',
    'username': 'my username',
    'password': 'my password+my security token'
  };
  grunt.initConfig({
    'skuid-pull':{
      'options': orgOptions,
      'dev':{
        options:{
          'dest': 'skuidpages/',
          'module':['Module1'], //can be array or comma separated values
        }
      }  
    },
    'skuid-push':{
      'options': orgOptions,
      'dev':{
         'files':{
            src: ['skuidpages/Module1*']
         }
      }
    }
  });

  //task that will pull your Skuid pages for Module1 from a developer org and push them
  //right into a production org
  grunt.registerTask('to-production', ['skuid-pull:dev', 'skuid-push:production']);

  grunt.loadNpmTasks('skuid-grunt');
}

Please help

Thanks
(Edited)