Open mckennapaul27 opened 2 years ago
7 hours later and still no good :-(
I have done many many iterations on this.
If anybody has any advice about how to implement this correct, it would be greatly appreciated.
I have tried the following:
1.
Following the instructions here https://market.strapi.io/plugins/strapi-plugin-react-editorjs 'How to extend/develop this plugin'
I have attempted to deploy this without making any changes to ./src/plugins/strapi-plugin-react-editorjs/admin/src/config/customTools.js
I got following error when git add .
hint: You've added another git repository inside your current repository.
hint: Clones of the outer repository will not contain the contents of
hint: the embedded repository and will not know how to obtain it.
hint: If you meant to add a submodule, use:
hint:
hint: git submodule add <url> src/plugins/strapi-plugin-react-editorjs
hint:
hint: If you added this path by mistake, you can remove it from the
hint: index with:
hint:
hint: git rm --cached src/plugins/strapi-plugin-react-editorjs
hint:
hint: See "git help submodule" for more information.
2.
I then tried adding a git submodule.
git submodule add https://github.com/melishev/strapi-plugin-react-editorjs src/plugins/strapi-plugin-react-editorjs
I got this error:
fatal: 'src/plugins/strapi-plugin-react-editorjs' already exists in the index
After more research on 'already exists in the index' means, I tried:
git rm -rf --cached strapi-plugin-react-editorjs
I got error fatal: pathspec 'strapi-plugin-react-editorjs' did not match any files
Again after more research I did git ls-files --stage
and found:
160000 0451ecca84f569539538e40737045ee865a888b2 0 src/plugins/strapi-plugin-react-editorjs
I then did git rm -r --cached src/plugins/strapi-plugin-react-editorjs
I got error:
error: the following file has staged content different from both the
file and the HEAD:
src/plugins/strapi-plugin-react-editorjs
(use -f to force removal)
git rm -r -f --cached src/plugins/strapi-plugin-react-editorjs
This removed the file from index.
I now tried git submodule add https://github.com/melishev/strapi-plugin-react-editorjs src/plugins/strapi-plugin-react-editorjs
again.
I got this back:
Adding existing repo at 'src/plugins/strapi-plugin-react-editorjs' to the index
I did git add .
i got this:
User1s-MBP:ewb-strapi user1$ git add .
User1s-MBP:ewb-strapi user1$ git status
On branch main
Your branch is ahead of 'origin/main' by 4 commits.
(use "git push" to publish your local commits)
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
modified: .gitmodules
modified: config/plugins.js
modified: package.json
new file: src/plugins/strapi-plugin-react-editorjs
modified: yarn.lock
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
(commit or discard the untracked or modified content in submodules)
modified: src/plugins/strapi-plugin-react-editorjs (modified content)
I then did a commit and push to Heroku.
I got this message:
User1s-MBP:ewb-strapi user1$ git push heroku main
Enumerating objects: 16, done.
Counting objects: 100% (16/16), done.
Delta compression using up to 4 threads
Compressing objects: 100% (9/9), done.
Writing objects: 100% (9/9), 906 bytes | 906.00 KiB/s, done.
Total 9 (delta 7), reused 0 (delta 0), pack-reused 0
remote: Git submodules detected, installing:
remote: Submodule 'src/plugins/strapi-plugin-react-editorjs' (https://github.com/melishev/strapi-plugin-react-editorjs) registered for path 'src/plugins/strapi-plugin-react-editorjs'
remote: Cloning into 'src/plugins/strapi-plugin-react-editorjs'...
remote: Submodule path 'src/plugins/strapi-plugin-react-editorjs': checked out '0451ecca84f569539538e40737045ee865a888b2'
remote:
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Building on the Heroku-20 stack
remote: -----> Using buildpack: heroku/nodejs
remote: -----> Node.js app detected
remote:
remote: -----> Creating runtime environment
remote:
remote: NPM_CONFIG_LOGLEVEL=error
remote: USE_YARN_CACHE=true
remote: NODE_VERBOSE=false
remote: NODE_ENV=production
remote: NODE_MODULES_CACHE=true
remote:
remote: -----> Installing binaries
remote: engines.node (package.json): >=12.x.x <=16.x.x
remote: engines.npm (package.json): >=6.0.0
remote: engines.yarn (package.json): unspecified (use default)
remote:
remote: Resolving node version >=12.x.x <=16.x.x...
remote: Downloading and installing node 16.15.0...
remote: Bootstrapping npm >=6.0.0 (replacing 8.5.5)...
remote: npm 8.11.0 installed
remote: Resolving yarn version 1.22.x...
remote: Downloading and installing yarn (1.22.18)
remote: Installed yarn 1.22.18
remote:
remote: -----> Restoring cache
remote: - yarn cache
remote:
remote: -----> Installing dependencies
remote: Installing node modules (yarn.lock)
remote: yarn install v1.22.18
remote: [1/4] Resolving packages...
remote: [2/4] Fetching packages...
remote: [3/4] Linking dependencies...
remote: warning "@strapi/plugin-graphql > apollo-server-koa@3.1.2" has unmet peer dependency "koa@2.13.1".
remote: warning "@strapi/plugin-graphql > graphql-iso-date@3.6.1" has incorrect peer dependency "graphql@^0.5.0 || ^0.6.0 || ^0.7.0 || ^0.8.0-b || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0".
remote: warning "@strapi/plugin-graphql > graphql-playground-middleware-koa@1.6.22" has unmet peer dependency "koa@^2".
remote: warning "@strapi/plugin-graphql > graphql-type-long@0.1.1" has incorrect peer dependency "graphql@^0.9.1 || ^0.10.0 || ^0.12.0 || ^0.13.0".
remote: warning "@strapi/plugin-users-permissions > @strapi/helper-plugin@4.1.7" has unmet peer dependency "formik@^2.2.6".
remote: warning "@strapi/plugin-users-permissions > @strapi/helper-plugin@4.1.7" has unmet peer dependency "immer@9.0.6".
remote: warning "@strapi/plugin-users-permissions > @strapi/helper-plugin@4.1.7" has unmet peer dependency "qs@6.10.1".
remote: warning "@strapi/plugin-users-permissions > @strapi/helper-plugin@4.1.7" has unmet peer dependency "react-select@^4.0.2".
remote: warning "@strapi/plugin-users-permissions > grant-koa@5.4.8" has unmet peer dependency "koa@>=2.0.0".
remote: warning "@strapi/plugin-users-permissions > react-redux@7.2.3" has unmet peer dependency "redux@^2.0.0 || ^3.0.0 || ^4.0.0-0".
remote: warning "@strapi/plugin-users-permissions > @strapi/helper-plugin > mini-css-extract-plugin@2.4.4" has unmet peer dependency "webpack@^5.0.0".
remote: warning "@strapi/plugin-users-permissions > @strapi/helper-plugin > styled-components@5.3.3" has unmet peer dependency "react-is@>= 16.8.0".
remote: warning "@strapi/strapi > @strapi/admin > react-virtualized@9.22.3" has incorrect peer dependency "react@^15.3.0 || ^16.0.0-alpha".
remote: warning "@strapi/strapi > @strapi/admin > react-virtualized@9.22.3" has incorrect peer dependency "react-dom@^15.3.0 || ^16.0.0-alpha".
remote: warning " > strapi-plugin-preview-button@0.3.2" has unmet peer dependency "@strapi/design-system@^1.1.0".
remote: warning " > strapi-plugin-preview-button@0.3.2" has unmet peer dependency "@strapi/helper-plugin@^4.1.10".
remote: warning " > strapi-plugin-preview-button@0.3.2" has unmet peer dependency "@strapi/icons@^1.10".
remote: warning " > strapi-plugin-preview-button@0.3.2" has incorrect peer dependency "@strapi/strapi@^4.1.10".
remote: warning " > strapi-plugin-preview-button@0.3.2" has unmet peer dependency "@strapi/utils@^4.1.10".
remote: warning "strapi-plugin-preview-button > react-router-dom@6.3.0" has unmet peer dependency "react-dom@>=16.8".
remote: warning Workspaces can only be enabled in private projects.
remote: [4/4] Building fresh packages...
remote: Done in 21.34s.
remote:
remote: -----> Build
remote: Running build (yarn)
remote: yarn run v1.22.18
remote: $ strapi build
remote: Building your admin UI with production configuration ...
remote: ℹ Compiling Webpack
remote: ModuleNotFoundError: Module not found: Error: Can't resolve 'classnames' in '/tmp/build_d574a041/src/plugins/strapi-plugin-react-editorjs/admin/src/components/Wysiwyg'
remote: at /tmp/build_d574a041/node_modules/webpack/lib/Compilation.js:2011:28
remote: at /tmp/build_d574a041/node_modules/webpack/lib/NormalModuleFactory.js:795:13
remote: at eval (eval at create (/tmp/build_d574a041/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:10:1)
remote: at /tmp/build_d574a041/node_modules/webpack/lib/NormalModuleFactory.js:275:22
remote: at eval (eval at create (/tmp/build_d574a041/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:9:1)
remote: at /tmp/build_d574a041/node_modules/webpack/lib/NormalModuleFactory.js:431:22
remote: at /tmp/build_d574a041/node_modules/webpack/lib/NormalModuleFactory.js:124:11
remote: at /tmp/build_d574a041/node_modules/webpack/lib/NormalModuleFactory.js:667:25
remote: at /tmp/build_d574a041/node_modules/webpack/lib/NormalModuleFactory.js:852:8
remote: at /tmp/build_d574a041/node_modules/webpack/lib/NormalModuleFactory.js:972:5
remote: at /tmp/build_d574a041/node_modules/neo-async/async.js:6883:13
remote: at /tmp/build_d574a041/node_modules/webpack/lib/NormalModuleFactory.js:955:45
remote: at finishWithoutResolve (/tmp/build_d574a041/node_modules/enhanced-resolve/lib/Resolver.js:296:11)
remote: at /tmp/build_d574a041/node_modules/enhanced-resolve/lib/Resolver.js:362:15
remote: at /tmp/build_d574a041/node_modules/enhanced-resolve/lib/Resolver.js:410:5
remote: at eval (eval at create (/tmp/build_d574a041/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
remote: resolve 'classnames' in '/tmp/build_d574a041/src/plugins/strapi-plugin-react-editorjs/admin/src/components/Wysiwyg'
remote: Parsed request is a module
remote: using description file: /tmp/build_d574a041/src/plugins/strapi-plugin-react-editorjs/package.json (relative path: ./admin/src/components/Wysiwyg)
remote: Field 'browser' doesn't contain a valid alias configuration
remote: resolve as module
remote: /tmp/build_d574a041/src/plugins/strapi-plugin-react-editorjs/admin/src/components/Wysiwyg/node_modules doesn't exist or is not a directory
remote: /tmp/build_d574a041/src/plugins/strapi-plugin-react-editorjs/admin/src/components/node_modules doesn't exist or is not a directory
remote: /tmp/build_d574a041/src/plugins/strapi-plugin-react-editorjs/admin/src/node_modules doesn't exist or is not a directory
remote: /tmp/build_d574a041/src/plugins/strapi-plugin-react-editorjs/admin/node_modules doesn't exist or is not a directory
remote: /tmp/build_d574a041/src/plugins/strapi-plugin-react-editorjs/node_modules doesn't exist or is not a directory
remote: /tmp/build_d574a041/src/plugins/node_modules doesn't exist or is not a directory
remote: /tmp/build_d574a041/src/node_modules doesn't exist or is not a directory
remote: looking for modules in /tmp/build_d574a041/node_modules
remote: single file module
remote: using description file: /tmp/build_d574a041/package.json (relative path: ./node_modules/classnames)
remote: no extension
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_d574a041/node_modules/classnames doesn't exist
remote: .js
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_d574a041/node_modules/classnames.js doesn't exist
remote: .jsx
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_d574a041/node_modules/classnames.jsx doesn't exist
remote: .react.js
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_d574a041/node_modules/classnames.react.js doesn't exist
remote: /tmp/build_d574a041/node_modules/classnames doesn't exist
remote: /tmp/node_modules doesn't exist or is not a directory
remote: /node_modules doesn't exist or is not a directory
remote: looking for modules in /tmp/build_d574a041/node_modules/@strapi/admin/node_modules
remote: single file module
remote: using description file: /tmp/build_d574a041/node_modules/@strapi/admin/package.json (relative path: ./node_modules/classnames)
remote: no extension
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_d574a041/node_modules/@strapi/admin/node_modules/classnames doesn't exist
remote: .js
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_d574a041/node_modules/@strapi/admin/node_modules/classnames.js doesn't exist
remote: .jsx
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_d574a041/node_modules/@strapi/admin/node_modules/classnames.jsx doesn't exist
remote: .react.js
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_d574a041/node_modules/@strapi/admin/node_modules/classnames.react.js doesn't exist
remote: /tmp/build_d574a041/node_modules/@strapi/admin/node_modules/classnames doesn't exist
remote: ModuleNotFoundError: Module not found: Error: Can't resolve 'classnames' in '/tmp/build_d574a041/src/plugins/strapi-plugin-react-editorjs/admin/src/components/Wysiwyg'
remote: at /tmp/build_d574a041/node_modules/webpack/lib/Compilation.js:2011:28
remote: at /tmp/build_d574a041/node_modules/webpack/lib/NormalModuleFactory.js:795:13
remote: at eval (eval at create (/tmp/build_d574a041/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:10:1)
remote: at /tmp/build_d574a041/node_modules/webpack/lib/NormalModuleFactory.js:275:22
remote: at eval (eval at create (/tmp/build_d574a041/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:9:1)
remote: at /tmp/build_d574a041/node_modules/webpack/lib/NormalModuleFactory.js:431:22
remote: at /tmp/build_d574a041/node_modules/webpack/lib/NormalModuleFactory.js:124:11
remote: at /tmp/build_d574a041/node_modules/webpack/lib/NormalModuleFactory.js:667:25
remote: at /tmp/build_d574a041/node_modules/webpack/lib/NormalModuleFactory.js:852:8
remote: at /tmp/build_d574a041/node_modules/webpack/lib/NormalModuleFactory.js:972:5
remote: at /tmp/build_d574a041/node_modules/neo-async/async.js:6883:13
remote: at /tmp/build_d574a041/node_modules/webpack/lib/NormalModuleFactory.js:955:45
remote: at finishWithoutResolve (/tmp/build_d574a041/node_modules/enhanced-resolve/lib/Resolver.js:296:11)
remote: at /tmp/build_d574a041/node_modules/enhanced-resolve/lib/Resolver.js:362:15
remote: at /tmp/build_d574a041/node_modules/enhanced-resolve/lib/Resolver.js:410:5
remote: at eval (eval at create (/tmp/build_d574a041/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
remote: resolve 'classnames' in '/tmp/build_d574a041/src/plugins/strapi-plugin-react-editorjs/admin/src/components/Wysiwyg'
remote: Parsed request is a module
remote: using description file: /tmp/build_d574a041/src/plugins/strapi-plugin-react-editorjs/package.json (relative path: ./admin/src/components/Wysiwyg)
remote: Field 'browser' doesn't contain a valid alias configuration
remote: resolve as module
remote: /tmp/build_d574a041/src/plugins/strapi-plugin-react-editorjs/admin/src/components/Wysiwyg/node_modules doesn't exist or is not a directory
remote: /tmp/build_d574a041/src/plugins/strapi-plugin-react-editorjs/admin/src/components/node_modules doesn't exist or is not a directory
remote: /tmp/build_d574a041/src/plugins/strapi-plugin-react-editorjs/admin/src/node_modules doesn't exist or is not a directory
remote: /tmp/build_d574a041/src/plugins/strapi-plugin-react-editorjs/admin/node_modules doesn't exist or is not a directory
remote: /tmp/build_d574a041/src/plugins/strapi-plugin-react-editorjs/node_modules doesn't exist or is not a directory
remote: /tmp/build_d574a041/src/plugins/node_modules doesn't exist or is not a directory
remote: /tmp/build_d574a041/src/node_modules doesn't exist or is not a directory
remote: looking for modules in /tmp/build_d574a041/node_modules
remote: single file module
remote: using description file: /tmp/build_d574a041/package.json (relative path: ./node_modules/classnames)
remote: no extension
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_d574a041/node_modules/classnames doesn't exist
remote: .js
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_d574a041/node_modules/classnames.js doesn't exist
remote: .jsx
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_d574a041/node_modules/classnames.jsx doesn't exist
remote: .react.js
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_d574a041/node_modules/classnames.react.js doesn't exist
remote: /tmp/build_d574a041/node_modules/classnames doesn't exist
remote: /tmp/node_modules doesn't exist or is not a directory
remote: /node_modules doesn't exist or is not a directory
remote: looking for modules in /tmp/build_d574a041/node_modules/@strapi/admin/node_modules
remote: single file module
remote: using description file: /tmp/build_d574a041/node_modules/@strapi/admin/package.json (relative path: ./node_modules/classnames)
remote: no extension
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_d574a041/node_modules/@strapi/admin/node_modules/classnames doesn't exist
remote: .js
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_d574a041/node_modules/@strapi/admin/node_modules/classnames.js doesn't exist
remote: .jsx
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_d574a041/node_modules/@strapi/admin/node_modules/classnames.jsx doesn't exist
remote: .react.js
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_d574a041/node_modules/@strapi/admin/node_modules/classnames.react.js doesn't exist
remote: /tmp/build_d574a041/node_modules/@strapi/admin/node_modules/classnames doesn't exist
remote: error Command failed with exit code 1.
remote: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
remote:
remote: -----> Build failed
remote:
remote: We're sorry this build is failing! You can troubleshoot common issues here:
remote: https://devcenter.heroku.com/articles/troubleshooting-node-deploys
remote:
remote: Some possible problems:
remote:
remote: - Dangerous semver range (>) in engines.node
remote: https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
remote:
remote: Love,
remote: Heroku
remote:
remote: ! Push rejected, failed to compile Node.js app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to vk-backend-2022.
remote:
To https://git.heroku.com/vk-backend-2022.git
! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/vk-backend-2022.git'
Following this and after more research, I read I should try and delete the .git directory from the cloned repo.
This is the steps I followed:
cd src/plugins/strapi-plugin-react-editorjs
ls -a
Result =
. .git .gitignore CHANGELOG.md admin package.json strapi-server.js
.. .gitattributes .npmignore LICENSE node_modules server yarn.lock
.editorconfig .github .releaserc.js README.md package-lock.json strapi-admin.js
rm -rf .git
I then went back to the root directory and did:
git rm -rf --cached src/plugins/strapi-plugin-react-editorjs
Then I did
git add -A
git status
and got the following:
On branch main
Your branch is up to date with 'origin/main'.
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
deleted: src/plugins/strapi-plugin-react-editorjs
new file: src/plugins/strapi-plugin-react-editorjs/.editorconfig
new file: src/plugins/strapi-plugin-react-editorjs/.gitattributes
new file: src/plugins/strapi-plugin-react-editorjs/.github/assets/strapi-plugin-editorjs.gif
new file: src/plugins/strapi-plugin-react-editorjs/.github/assets/strapi-plugin-editorjs.png
new file: src/plugins/strapi-plugin-react-editorjs/.github/workflows/release.yml
new file: src/plugins/strapi-plugin-react-editorjs/.gitignore
new file: src/plugins/strapi-plugin-react-editorjs/.npmignore
new file: src/plugins/strapi-plugin-react-editorjs/.releaserc.js
new file: src/plugins/strapi-plugin-react-editorjs/CHANGELOG.md
new file: src/plugins/strapi-plugin-react-editorjs/LICENSE
new file: src/plugins/strapi-plugin-react-editorjs/README.md
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/components/Wysiwyg/index.js
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/components/Wysiwyg/wrapper.js
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/components/editorjs/index.js
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/components/editorjs/requiredTools.js
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/components/medialib/adapter.js
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/components/medialib/component.js
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/components/medialib/utils.js
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/config/customTools.js
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/containers/App/index.js
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/containers/HomePage/index.js
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/containers/Initializer/index.js
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/index.js
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/lifecycles.js
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/pluginId.js
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/translations/ar.json
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/translations/cs.json
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/translations/de.json
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/translations/en.json
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/translations/es.json
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/translations/fr.json
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/translations/id.json
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/translations/index.js
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/translations/it.json
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/translations/ko.json
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/translations/ms.json
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/translations/nl.json
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/translations/pl.json
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/translations/pt-BR.json
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/translations/pt.json
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/translations/ru.json
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/translations/sk.json
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/translations/th.json
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/translations/tr.json
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/translations/uk.json
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/translations/vi.json
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/translations/zh-Hans.json
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/translations/zh.json
new file: src/plugins/strapi-plugin-react-editorjs/admin/src/utils/getTrad.js
new file: src/plugins/strapi-plugin-react-editorjs/package.json
new file: src/plugins/strapi-plugin-react-editorjs/server/controllers/editorjs.js
new file: src/plugins/strapi-plugin-react-editorjs/server/controllers/index.js
new file: src/plugins/strapi-plugin-react-editorjs/server/index.js
new file: src/plugins/strapi-plugin-react-editorjs/server/routes/index.js
new file: src/plugins/strapi-plugin-react-editorjs/server/services/editorjs.js
new file: src/plugins/strapi-plugin-react-editorjs/server/services/index.js
new file: src/plugins/strapi-plugin-react-editorjs/strapi-admin.js
new file: src/plugins/strapi-plugin-react-editorjs/strapi-server.js
new file: src/plugins/strapi-plugin-react-editorjs/yarn.lock
I committed:
[main 9bd4975] readded plugin
60 files changed, 5693 insertions(+), 1 deletion(-)
delete mode 160000 src/plugins/strapi-plugin-react-editorjs
create mode 100644 src/plugins/strapi-plugin-react-editorjs/.editorconfig
create mode 100644 src/plugins/strapi-plugin-react-editorjs/.gitattributes
create mode 100644 src/plugins/strapi-plugin-react-editorjs/.github/assets/strapi-plugin-editorjs.gif
create mode 100644 src/plugins/strapi-plugin-react-editorjs/.github/assets/strapi-plugin-editorjs.png
create mode 100644 src/plugins/strapi-plugin-react-editorjs/.github/workflows/release.yml
create mode 100644 src/plugins/strapi-plugin-react-editorjs/.gitignore
create mode 100644 src/plugins/strapi-plugin-react-editorjs/.npmignore
create mode 100644 src/plugins/strapi-plugin-react-editorjs/.releaserc.js
create mode 100644 src/plugins/strapi-plugin-react-editorjs/CHANGELOG.md
create mode 100644 src/plugins/strapi-plugin-react-editorjs/LICENSE
create mode 100755 src/plugins/strapi-plugin-react-editorjs/README.md
create mode 100755 src/plugins/strapi-plugin-react-editorjs/admin/src/components/Wysiwyg/index.js
create mode 100755 src/plugins/strapi-plugin-react-editorjs/admin/src/components/Wysiwyg/wrapper.js
create mode 100755 src/plugins/strapi-plugin-react-editorjs/admin/src/components/editorjs/index.js
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/components/editorjs/requiredTools.js
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/components/medialib/adapter.js
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/components/medialib/component.js
create mode 100755 src/plugins/strapi-plugin-react-editorjs/admin/src/components/medialib/utils.js
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/config/customTools.js
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/containers/App/index.js
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/containers/HomePage/index.js
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/containers/Initializer/index.js
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/index.js
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/lifecycles.js
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/pluginId.js
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/translations/ar.json
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/translations/cs.json
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/translations/de.json
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/translations/en.json
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/translations/es.json
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/translations/fr.json
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/translations/id.json
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/translations/index.js
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/translations/it.json
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/translations/ko.json
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/translations/ms.json
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/translations/nl.json
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/translations/pl.json
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/translations/pt-BR.json
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/translations/pt.json
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/translations/ru.json
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/translations/sk.json
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/translations/th.json
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/translations/tr.json
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/translations/uk.json
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/translations/vi.json
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/translations/zh-Hans.json
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/translations/zh.json
create mode 100644 src/plugins/strapi-plugin-react-editorjs/admin/src/utils/getTrad.js
create mode 100755 src/plugins/strapi-plugin-react-editorjs/package.json
create mode 100644 src/plugins/strapi-plugin-react-editorjs/server/controllers/editorjs.js
create mode 100644 src/plugins/strapi-plugin-react-editorjs/server/controllers/index.js
create mode 100644 src/plugins/strapi-plugin-react-editorjs/server/index.js
create mode 100644 src/plugins/strapi-plugin-react-editorjs/server/routes/index.js
create mode 100644 src/plugins/strapi-plugin-react-editorjs/server/services/editorjs.js
create mode 100644 src/plugins/strapi-plugin-react-editorjs/server/services/index.js
create mode 100644 src/plugins/strapi-plugin-react-editorjs/strapi-admin.js
create mode 100644 src/plugins/strapi-plugin-react-editorjs/strapi-server.js
create mode 100644 src/plugins/strapi-plugin-react-editorjs/yarn.lock
I pushed git push heroku main
I got the error message:
Enumerating objects: 79, done.
Counting objects: 100% (79/79), done.
Delta compression using up to 4 threads
Compressing objects: 100% (61/61), done.
Writing objects: 100% (72/72), 5.47 MiB | 460.00 KiB/s, done.
Total 72 (delta 9), reused 0 (delta 0), pack-reused 0
remote: Git submodules detected, installing:
remote:
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Building on the Heroku-20 stack
remote: -----> Using buildpack: heroku/nodejs
remote: -----> Node.js app detected
remote:
remote: -----> Creating runtime environment
remote:
remote: NPM_CONFIG_LOGLEVEL=error
remote: USE_YARN_CACHE=true
remote: NODE_VERBOSE=false
remote: NODE_ENV=production
remote: NODE_MODULES_CACHE=true
remote:
remote: -----> Installing binaries
remote: engines.node (package.json): >=12.x.x <=16.x.x
remote: engines.npm (package.json): >=6.0.0
remote: engines.yarn (package.json): unspecified (use default)
remote:
remote: Resolving node version >=12.x.x <=16.x.x...
remote: Downloading and installing node 16.15.0...
remote: Bootstrapping npm >=6.0.0 (replacing 8.5.5)...
remote: npm 8.11.0 installed
remote: Resolving yarn version 1.22.x...
remote: Downloading and installing yarn (1.22.18)
remote: Installed yarn 1.22.18
remote:
remote: -----> Restoring cache
remote: - yarn cache
remote:
remote: -----> Installing dependencies
remote: Installing node modules (yarn.lock)
remote: yarn install v1.22.18
remote: [1/4] Resolving packages...
remote: [2/4] Fetching packages...
remote: [3/4] Linking dependencies...
remote: warning "@strapi/plugin-graphql > apollo-server-koa@3.1.2" has unmet peer dependency "koa@2.13.1".
remote: warning "@strapi/plugin-graphql > graphql-iso-date@3.6.1" has incorrect peer dependency "graphql@^0.5.0 || ^0.6.0 || ^0.7.0 || ^0.8.0-b || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0".
remote: warning "@strapi/plugin-graphql > graphql-playground-middleware-koa@1.6.22" has unmet peer dependency "koa@^2".
remote: warning "@strapi/plugin-graphql > graphql-type-long@0.1.1" has incorrect peer dependency "graphql@^0.9.1 || ^0.10.0 || ^0.12.0 || ^0.13.0".
remote: warning "@strapi/plugin-users-permissions > @strapi/helper-plugin@4.1.7" has unmet peer dependency "formik@^2.2.6".
remote: warning "@strapi/plugin-users-permissions > @strapi/helper-plugin@4.1.7" has unmet peer dependency "immer@9.0.6".
remote: warning "@strapi/plugin-users-permissions > @strapi/helper-plugin@4.1.7" has unmet peer dependency "qs@6.10.1".
remote: warning "@strapi/plugin-users-permissions > @strapi/helper-plugin@4.1.7" has unmet peer dependency "react-select@^4.0.2".
remote: warning "@strapi/plugin-users-permissions > grant-koa@5.4.8" has unmet peer dependency "koa@>=2.0.0".
remote: warning "@strapi/plugin-users-permissions > react-redux@7.2.3" has unmet peer dependency "redux@^2.0.0 || ^3.0.0 || ^4.0.0-0".
remote: warning "@strapi/plugin-users-permissions > @strapi/helper-plugin > mini-css-extract-plugin@2.4.4" has unmet peer dependency "webpack@^5.0.0".
remote: warning "@strapi/plugin-users-permissions > @strapi/helper-plugin > styled-components@5.3.3" has unmet peer dependency "react-is@>= 16.8.0".
remote: warning "@strapi/strapi > @strapi/admin > react-virtualized@9.22.3" has incorrect peer dependency "react@^15.3.0 || ^16.0.0-alpha".
remote: warning "@strapi/strapi > @strapi/admin > react-virtualized@9.22.3" has incorrect peer dependency "react-dom@^15.3.0 || ^16.0.0-alpha".
remote: warning " > strapi-plugin-preview-button@0.3.2" has unmet peer dependency "@strapi/design-system@^1.1.0".
remote: warning " > strapi-plugin-preview-button@0.3.2" has unmet peer dependency "@strapi/helper-plugin@^4.1.10".
remote: warning " > strapi-plugin-preview-button@0.3.2" has unmet peer dependency "@strapi/icons@^1.10".
remote: warning " > strapi-plugin-preview-button@0.3.2" has incorrect peer dependency "@strapi/strapi@^4.1.10".
remote: warning " > strapi-plugin-preview-button@0.3.2" has unmet peer dependency "@strapi/utils@^4.1.10".
remote: warning "strapi-plugin-preview-button > react-router-dom@6.3.0" has unmet peer dependency "react-dom@>=16.8".
remote: warning Workspaces can only be enabled in private projects.
remote: [4/4] Building fresh packages...
remote: Done in 37.88s.
remote:
remote: -----> Build
remote: Running build (yarn)
remote: yarn run v1.22.18
remote: $ strapi build
remote: Building your admin UI with production configuration ...
remote: ℹ Compiling Webpack
remote: ModuleNotFoundError: Module not found: Error: Can't resolve 'classnames' in '/tmp/build_ebf7f925/src/plugins/strapi-plugin-react-editorjs/admin/src/components/Wysiwyg'
remote: at /tmp/build_ebf7f925/node_modules/webpack/lib/Compilation.js:2011:28
remote: at /tmp/build_ebf7f925/node_modules/webpack/lib/NormalModuleFactory.js:795:13
remote: at eval (eval at create (/tmp/build_ebf7f925/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:10:1)
remote: at /tmp/build_ebf7f925/node_modules/webpack/lib/NormalModuleFactory.js:275:22
remote: at eval (eval at create (/tmp/build_ebf7f925/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:9:1)
remote: at /tmp/build_ebf7f925/node_modules/webpack/lib/NormalModuleFactory.js:431:22
remote: at /tmp/build_ebf7f925/node_modules/webpack/lib/NormalModuleFactory.js:124:11
remote: at /tmp/build_ebf7f925/node_modules/webpack/lib/NormalModuleFactory.js:667:25
remote: at /tmp/build_ebf7f925/node_modules/webpack/lib/NormalModuleFactory.js:852:8
remote: at /tmp/build_ebf7f925/node_modules/webpack/lib/NormalModuleFactory.js:972:5
remote: at /tmp/build_ebf7f925/node_modules/neo-async/async.js:6883:13
remote: at /tmp/build_ebf7f925/node_modules/webpack/lib/NormalModuleFactory.js:955:45
remote: at finishWithoutResolve (/tmp/build_ebf7f925/node_modules/enhanced-resolve/lib/Resolver.js:296:11)
remote: at /tmp/build_ebf7f925/node_modules/enhanced-resolve/lib/Resolver.js:362:15
remote: at /tmp/build_ebf7f925/node_modules/enhanced-resolve/lib/Resolver.js:410:5
remote: at eval (eval at create (/tmp/build_ebf7f925/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
remote: resolve 'classnames' in '/tmp/build_ebf7f925/src/plugins/strapi-plugin-react-editorjs/admin/src/components/Wysiwyg'
remote: Parsed request is a module
remote: using description file: /tmp/build_ebf7f925/src/plugins/strapi-plugin-react-editorjs/package.json (relative path: ./admin/src/components/Wysiwyg)
remote: Field 'browser' doesn't contain a valid alias configuration
remote: resolve as module
remote: /tmp/build_ebf7f925/src/plugins/strapi-plugin-react-editorjs/admin/src/components/Wysiwyg/node_modules doesn't exist or is not a directory
remote: /tmp/build_ebf7f925/src/plugins/strapi-plugin-react-editorjs/admin/src/components/node_modules doesn't exist or is not a directory
remote: /tmp/build_ebf7f925/src/plugins/strapi-plugin-react-editorjs/admin/src/node_modules doesn't exist or is not a directory
remote: /tmp/build_ebf7f925/src/plugins/strapi-plugin-react-editorjs/admin/node_modules doesn't exist or is not a directory
remote: /tmp/build_ebf7f925/src/plugins/strapi-plugin-react-editorjs/node_modules doesn't exist or is not a directory
remote: /tmp/build_ebf7f925/src/plugins/node_modules doesn't exist or is not a directory
remote: /tmp/build_ebf7f925/src/node_modules doesn't exist or is not a directory
remote: looking for modules in /tmp/build_ebf7f925/node_modules
remote: single file module
remote: using description file: /tmp/build_ebf7f925/package.json (relative path: ./node_modules/classnames)
remote: no extension
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_ebf7f925/node_modules/classnames doesn't exist
remote: .js
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_ebf7f925/node_modules/classnames.js doesn't exist
remote: .jsx
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_ebf7f925/node_modules/classnames.jsx doesn't exist
remote: .react.js
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_ebf7f925/node_modules/classnames.react.js doesn't exist
remote: /tmp/build_ebf7f925/node_modules/classnames doesn't exist
remote: /tmp/node_modules doesn't exist or is not a directory
remote: /node_modules doesn't exist or is not a directory
remote: looking for modules in /tmp/build_ebf7f925/node_modules/@strapi/admin/node_modules
remote: single file module
remote: using description file: /tmp/build_ebf7f925/node_modules/@strapi/admin/package.json (relative path: ./node_modules/classnames)
remote: no extension
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_ebf7f925/node_modules/@strapi/admin/node_modules/classnames doesn't exist
remote: .js
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_ebf7f925/node_modules/@strapi/admin/node_modules/classnames.js doesn't exist
remote: .jsx
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_ebf7f925/node_modules/@strapi/admin/node_modules/classnames.jsx doesn't exist
remote: .react.js
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_ebf7f925/node_modules/@strapi/admin/node_modules/classnames.react.js doesn't exist
remote: /tmp/build_ebf7f925/node_modules/@strapi/admin/node_modules/classnames doesn't exist
remote: ModuleNotFoundError: Module not found: Error: Can't resolve 'classnames' in '/tmp/build_ebf7f925/src/plugins/strapi-plugin-react-editorjs/admin/src/components/Wysiwyg'
remote: at /tmp/build_ebf7f925/node_modules/webpack/lib/Compilation.js:2011:28
remote: at /tmp/build_ebf7f925/node_modules/webpack/lib/NormalModuleFactory.js:795:13
remote: at eval (eval at create (/tmp/build_ebf7f925/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:10:1)
remote: at /tmp/build_ebf7f925/node_modules/webpack/lib/NormalModuleFactory.js:275:22
remote: at eval (eval at create (/tmp/build_ebf7f925/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:9:1)
remote: at /tmp/build_ebf7f925/node_modules/webpack/lib/NormalModuleFactory.js:431:22
remote: at /tmp/build_ebf7f925/node_modules/webpack/lib/NormalModuleFactory.js:124:11
remote: at /tmp/build_ebf7f925/node_modules/webpack/lib/NormalModuleFactory.js:667:25
remote: at /tmp/build_ebf7f925/node_modules/webpack/lib/NormalModuleFactory.js:852:8
remote: at /tmp/build_ebf7f925/node_modules/webpack/lib/NormalModuleFactory.js:972:5
remote: at /tmp/build_ebf7f925/node_modules/neo-async/async.js:6883:13
remote: at /tmp/build_ebf7f925/node_modules/webpack/lib/NormalModuleFactory.js:955:45
remote: at finishWithoutResolve (/tmp/build_ebf7f925/node_modules/enhanced-resolve/lib/Resolver.js:296:11)
remote: at /tmp/build_ebf7f925/node_modules/enhanced-resolve/lib/Resolver.js:362:15
remote: at /tmp/build_ebf7f925/node_modules/enhanced-resolve/lib/Resolver.js:410:5
remote: at eval (eval at create (/tmp/build_ebf7f925/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
remote: resolve 'classnames' in '/tmp/build_ebf7f925/src/plugins/strapi-plugin-react-editorjs/admin/src/components/Wysiwyg'
remote: Parsed request is a module
remote: using description file: /tmp/build_ebf7f925/src/plugins/strapi-plugin-react-editorjs/package.json (relative path: ./admin/src/components/Wysiwyg)
remote: Field 'browser' doesn't contain a valid alias configuration
remote: resolve as module
remote: /tmp/build_ebf7f925/src/plugins/strapi-plugin-react-editorjs/admin/src/components/Wysiwyg/node_modules doesn't exist or is not a directory
remote: /tmp/build_ebf7f925/src/plugins/strapi-plugin-react-editorjs/admin/src/components/node_modules doesn't exist or is not a directory
remote: /tmp/build_ebf7f925/src/plugins/strapi-plugin-react-editorjs/admin/src/node_modules doesn't exist or is not a directory
remote: /tmp/build_ebf7f925/src/plugins/strapi-plugin-react-editorjs/admin/node_modules doesn't exist or is not a directory
remote: /tmp/build_ebf7f925/src/plugins/strapi-plugin-react-editorjs/node_modules doesn't exist or is not a directory
remote: /tmp/build_ebf7f925/src/plugins/node_modules doesn't exist or is not a directory
remote: /tmp/build_ebf7f925/src/node_modules doesn't exist or is not a directory
remote: looking for modules in /tmp/build_ebf7f925/node_modules
remote: single file module
remote: using description file: /tmp/build_ebf7f925/package.json (relative path: ./node_modules/classnames)
remote: no extension
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_ebf7f925/node_modules/classnames doesn't exist
remote: .js
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_ebf7f925/node_modules/classnames.js doesn't exist
remote: .jsx
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_ebf7f925/node_modules/classnames.jsx doesn't exist
remote: .react.js
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_ebf7f925/node_modules/classnames.react.js doesn't exist
remote: /tmp/build_ebf7f925/node_modules/classnames doesn't exist
remote: /tmp/node_modules doesn't exist or is not a directory
remote: /node_modules doesn't exist or is not a directory
remote: looking for modules in /tmp/build_ebf7f925/node_modules/@strapi/admin/node_modules
remote: single file module
remote: using description file: /tmp/build_ebf7f925/node_modules/@strapi/admin/package.json (relative path: ./node_modules/classnames)
remote: no extension
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_ebf7f925/node_modules/@strapi/admin/node_modules/classnames doesn't exist
remote: .js
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_ebf7f925/node_modules/@strapi/admin/node_modules/classnames.js doesn't exist
remote: .jsx
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_ebf7f925/node_modules/@strapi/admin/node_modules/classnames.jsx doesn't exist
remote: .react.js
remote: Field 'browser' doesn't contain a valid alias configuration
remote: /tmp/build_ebf7f925/node_modules/@strapi/admin/node_modules/classnames.react.js doesn't exist
remote: /tmp/build_ebf7f925/node_modules/@strapi/admin/node_modules/classnames doesn't exist
remote: error Command failed with exit code 1.
remote: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
remote:
remote: -----> Build failed
remote:
remote: We're sorry this build is failing! You can troubleshoot common issues here:
remote: https://devcenter.heroku.com/articles/troubleshooting-node-deploys
remote:
remote: Some possible problems:
remote:
remote: - Dangerous semver range (>) in engines.node
remote: https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
remote:
remote: Love,
remote: Heroku
remote:
remote: ! Push rejected, failed to compile Node.js app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to vk-backend-2022.
remote:
To https://git.heroku.com/vk-backend-2022.git
! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/vk-backend-2022.git'
And now it is 10 hours so I am taking a break.
Please can you somebody assist me.
Thanks in advance!
Did you solve this problem somehow? I'm facing the same issue where Heroku can't resolve the "classnames" module.
Did you solve this problem somehow? I'm facing the same issue where Heroku can't resolve the "classnames" module.
Hey buddy.
Try adding this to package.json
"workspaces": [
"plugins/*"
],
Hi
Thanks for creating this plugin, it's fantastic.
I have had to clone
git clone https://github.com/melishev/strapi-plugin-react-editorjs.git
the repo intosrc/plugins
as I needed to make some changes such as nestedLists.It is working perfectly locally.
However, I am having some issues deploying this to Heroku production as I am struggling to include the cloned repo into the main build.
When I try to deploy to Heroku I get the following error:
I have
config/plugins
asCan anybody advise me how to deploy the submodule?
Thanks :-)