Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in generic form example. #99

Open
anborg opened this issue Aug 22, 2020 · 3 comments
Open

Bug in generic form example. #99

anborg opened this issue Aug 22, 2020 · 3 comments

Comments

@anborg
Copy link

anborg commented Aug 22, 2020

https://github.com/camunda-consulting/code/blob/4a62d4b44efb126b50f22a6f17273c7c98f8b6da/snippets/camunda-tasklist-examples/camunda-react-app/src/components/GenericForm.js#L6

×
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

Check the render method of GenericForm.

@anborg
Copy link
Author

anborg commented Aug 22, 2020

I came across this, while searching for react or vue examples.

If this is a left over legacy code, please consider deleting, so people can avoid wasting time.

Here is the error log from camunda-vue-app "yarn install" - just the tail end of errors

/Users/prem/.node-gyp/14.5.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
# define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
                                      ^
1 warning and 7 errors generated.
make: *** [Release/obj.target/binding/src/binding.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Volumes/data01/projects/projects_js/code/snippets/camunda-tasklist-examples/camunda-vue-app/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Darwin 19.4.0
gyp ERR! command "/usr/local/Cellar/node/14.5.0/bin/node" "/Volumes/data01/projects/projects_js/code/snippets/camunda-tasklist-examples/camunda-vue-app/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /Volumes/data01/projects/projects_js/code/snippets/camunda-tasklist-examples/camunda-vue-app/node_modules/node-sass
gyp ERR! node -v v14.5.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 

@vinny-silveira
Copy link

https://github.com/camunda-consulting/code/blob/4a62d4b44efb126b50f22a6f17273c7c98f8b6da/snippets/camunda-tasklist-examples/camunda-react-app/src/components/GenericForm.js#L6

×
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

Check the render method of GenericForm.

Were you able to solve this problem?

@anborg
Copy link
Author

anborg commented Apr 23, 2021

nop. Perhaps stale repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants