Bug in generic form example.
anborg opened this issue · comments
×
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
.
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
×
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?
nop. Perhaps stale repo.