sampart / cordova-plugin-app-version

Cordova plugin to return the version number of the current app [not maintained]
MIT License
401 stars 198 forks source link

I have a problem with my Gatsby Project, when I try to open it #112

Open hongphuc2197 opened 4 years ago

hongphuc2197 commented 4 years ago

UNHANDLED REJECTION Unable to find plugin "[object Object]". Perhaps you need to install its package?

Error: Unable to find plugin "[object Object]". Perhaps you need to install its package?

gatsby-config.js

/**

}

package.json

{ "name": "gatsby-starter-hello-world", "private": true, "description": "A simplified bare-bones starter for Gatsby", "version": "0.1.0", "license": "MIT", "scripts": { "build": "gatsby build", "develop": "env-cmd .env.development gatsby develop", "format": "prettier --write src/*/.{js,jsx}", "start": "npm run develop", "serve": "gatsby serve", "test": "echo \"Write tests! -> https://gatsby.dev/unit-testing\"" }, "dependencies": { "antd": "^3.20.1", "babel-core": "^6.26.3", "babel-loader": "^8.0.6", "babel-preset-es2015": "^6.24.1", "babel-preset-react": "^6.24.1", "css-loader": "^3.0.0", "dotenv": "^8.0.0", "extract-text-webpack-plugin": "^3.0.2", "gatsby": "^2.10.4", "gatsby-image": "^2.2.3", "gatsby-plugin-env-variables": "^1.0.1", "gatsby-plugin-manifest": "^2.2.0", "gatsby-plugin-react-helmet": "^3.1.0", "gatsby-plugin-sass": "^2.1.0", "gatsby-plugin-sharp": "^2.2.1", "gatsby-remark-images": "^3.1.2", "gatsby-remark-relative-images": "^0.2.2", "gatsby-source-filesystem": "^2.1.1", "gatsby-transformer-remark": "^2.5.0", "html-webpack-plugin": "^3.2.0", "node-sass": "^4.12.0", "object": "^0.1.1", "rc-queue-anim": "^1.6.12", "rc-scroll-anim": "^2.5.9", "rc-tween-one": "^2.4.1", "react": "^16.8.6", "react-dom": "^16.8.6", "react-feather": "^1.1.6", "react-helmet": "^5.2.1", "react-slick": "^0.24.0", "react-spring": "^8.0.27", "sass-loader": "^7.1.0", "style-loader": "^0.23.1", "uglifyjs-webpack-plugin": "^2.1.3", "webpack": "^4.35.0" }, "devDependencies": { "@graphql-codegen/cli": "^1.3.1", "@graphql-codegen/typescript": "^1.3.1", "@graphql-codegen/typescript-operations": "^1.3.1", "prettier": "^1.18.2", "react-alice-carousel": "^1.15.1" }, "repository": { "type": "git", "url": "https://github.com/gatsbyjs/gatsby-starter-hello-world" }, "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" } }