I am running an application at IBM Bluemix DevOps and while deploying I am getting this error:
App staging failed in the buildpack compile phase.
On checking logs I found this:
How do I get rid of this problem?
You're trying to use a node npm module which you might not have declared as a dependency. Add gulp to your package.json as show in in the car-dashboard sample you are referencing.
Related
Getting following error when running builds having any SPM plugin like SwiftGenPlugin:
The following build commands failed:
Validate plug-in “SwiftGenPlugin” in package “swiftgenplugin”
Build link: https://app.travis-ci.com/github/mukesh-mt/SwiftGenTest/jobs/592013507
Sample project: https://github.com/mukesh-mt/SwiftGenTest
I was able to solve this issue by using -skipPackagePluginValidation option in xcodebuild.
With fastlane you can pass it with --xcargs "-skipPackagePluginValidation" option in gym command
See this build https://app.travis-ci.com/github/mukesh-mt/SwiftGenTest/builds/259435024
I get the following errors while deploying my nextjs app on vercel. However my app runs all right with no errors in localhost but while deploying it is giving me the errors attached in the imagesenter image description here
This is my package.json fileenter image description here
you have error on [slug].js file
befor deploy on vercel run this commands and check the app run on your compouter or not
yarn run build
yarn start
fix this issue in pizza/[slug] file :
TypeError: Cannot read properties of undefined (reading 'image')
and deploy it again
Can anyone help me with this. Im using Mac. I cant find the location of the rulemanager. Please see error below
Lxxxxxxx:pmd-bin-6.34.0 xxxxxx$ sfdx scanner:run pmd --target /usr/src --category rulesets/java/quickstart.xml -f sarif
(node:17810) [editions-autoloader-none-broadened] Error Plugin: sfdx-cli: editions-autoloader-none-broadened: Unable to determine a suitable edition, even after broadening.
module: #oclif/config#1.17.0
task: runHook init
plugin: sfdx-cli
root: /Users/xxxxxxx/.local/share/sfdx/client/7.100.0-9d243d8
See more details with DEBUG=*
(Use node --trace-warnings ... to show where the warning was created)
ERROR running scanner:run: Attempted to resolve unregistered dependency token: "RuleManager"
Kieran, this is an issue that we just discovered. It is related to an incompatibility with the version of Node.js that is bundled with the Salesforce CLI and a library that is used by sfdx-scanner.
A temporary workaround can be found at https://github.com/forcedotcom/sfdx-scanner/issues/412
You will need to use the npm installation instead of the pkg installer since you are interested in the Sarif output. Sarif output was added in version 2.6.0. The issue affects versions 2.6.0-2.8.0 when using the pkg installer on a Mac.
We hope to have a fix rolled out in the next couple of days. I will post here when version 2.9 has been released. Sorry for any inconvenience.
Kieran, this issue has been fixed in version 2.9.1. You can upgrade by executing the following commands in your shell.
sfdx plugins:uninstall #salesforce/sfdx-scanner
sfdx plugins:install #salesforce/sfdx-scanner
I am using the jsonpath package from NPM on my Ionic 3.0 app. It is in my package.json like so:
> "jsonpath": "1.0.0",
On my local machine, the app builds successfully and all is well.
However, once I push the code off to Ionic's servers, the code fails to transpile because of the following error:
Cannot find module 'JSONPath'
I noticed that earlier in the build log npminstall appears to successfully install this dependency:
jsonpath#1.0.0 postinstall /usr/src/app/node_modules/jsonpath
...
npm install succeeded
So unfortunately there is little clue what the problem might be.
Here's how I am referencing this dependency in my TypeScript:
import { JsonPath } from 'JSONPath';
Am I doing something silly anywhere? Any suspicions as to why this might be happening?
I resolved the issue by simply changing how I reference the package from this:
import { JsonPath } from 'JSONPATH';
to
import { JsonPath } from 'jsonpath';
It unfortunately didn't cross my mind that it would be case-sensitive. Also, why would it work on my local machine but not using Ionic's build tools? What's different? Is the Ionic build service stricter?
I recently update my QtSdk to 1.2 and after that, I am unable to deploy a debian file of more then 6 mb. It gives me the following error:
16:32:02: Preparing SFTP connection...
16:32:02: Starting upload...
16:32:03: Failed to upload package: Failure
16:32:03: Deploy step failed.
Error while building project Animal101SymbianMeegov1 (target: Harmattan)
When executing build step 'Deploy Debian package via SFTP upload'
Has anyone run across this problem?
The workaround I use to deploy is to create a link in /tmp/.deb pointing to /var/tmp/.deb and the run the deploy step in QtCreator.