You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.
Describe the bug
After cloning the repository and installing packages using yarn, running the start script provided by package.json throws bunch of unresolved module errors.
To Reproduce
Steps to reproduce the behavior:
Clone this repository.
yarn to install the required packages
yarn start or npm run start to run the webpack server
Expected behavior
The webpack server is supposed to be run successfuly, serving the canner CMS.
Dependencies (please complete the following information):
OS: macOS Mojave 10.14.3
Browser: Chrome
Node Version: v11.12.0
Canner Version: v3.4.3
Additional context
Error log:
ERROR in ./docs/index.js
Module not found: Error: Can't resolve './packages/canner-schema-loader/lib/index.js' in '/Users/kiko/code/DigitalHunterLocal/canner'
@ ./docs/index.js 63:37-63
@ multi (webpack)-dev-server/client?http://localhost:8080 ./docs
ERROR in ./docs/client.js
Module not found: Error: Can't resolve './packages/canner-schema-loader/lib/index.js' in '/Users/kiko/code/DigitalHunterLocal/canner'
@ ./docs/client.js 18:37-63
@ ./docs/index.js
@ multi (webpack)-dev-server/client?http://localhost:8080 ./docs
ERROR in ./packages/router/src/index.js
Module not found: Error: Can't resolve '@canner/history-router' in '/Users/kiko/code/DigitalHunterLocal/canner/packages/router/src'
@ ./packages/router/src/index.js 20:45-78
@ ./docs/index.js
@ multi (webpack)-dev-server/client?http://localhost:8080 ./docs
ERROR in ./packages/canner/src/components/index.js
Module not found: Error: Can't resolve 'canner-compiler' in '/Users/kiko/code/DigitalHunterLocal/canner/packages/canner/src/components'
@ ./packages/canner/src/components/index.js 42:22-48
@ ./packages/canner/src/index.js
@ ./docs/index.js
@ multi (webpack)-dev-server/client?http://localhost:8080 ./docs
ERROR in ./packages/canner/src/components/Generator.js
Module not found: Error: Can't resolve 'canner-helpers' in '/Users/kiko/code/DigitalHunterLocal/canner/packages/canner/src/components'
@ ./packages/canner/src/components/Generator.js 50:21-46
@ ./packages/canner/src/components/index.js
@ ./packages/canner/src/index.js
@ ./docs/index.js
@ multi (webpack)-dev-server/client?http://localhost:8080 ./docs
ERROR in ./packages/canner/src/components/toolbar/actions/importModal.js
Module not found: Error: Can't resolve 'canner-helpers' in '/Users/kiko/code/DigitalHunterLocal/canner/packages/canner/src/components/toolbar/actions'
@ ./packages/canner/src/components/toolbar/actions/importModal.js 52:21-46
@ ./packages/canner/src/components/toolbar/actions/index.js
@ ./packages/canner/src/components/toolbar/index.js
@ ./packages/canner/src/hocs/query.js
@ ./packages/canner/src/hocs/index.js
@ ./packages/canner/src/index.js
@ ./docs/index.js
@ multi (webpack)-dev-server/client?http://localhost:8080 ./docs
ERROR in ./packages/canner/src/hocs/title.js
Module not found: Error: Can't resolve 'canner-helpers' in '/Users/kiko/code/DigitalHunterLocal/canner/packages/canner/src/hocs'
@ ./packages/canner/src/hocs/title.js 51:21-46
@ ./packages/canner/src/hocs/index.js
@ ./packages/canner/src/index.js
@ ./docs/index.js
@ multi (webpack)-dev-server/client?http://localhost:8080 ./docs
ERROR in ./packages/canner/src/hocs/id.js
Module not found: Error: Can't resolve 'canner-helpers' in '/Users/kiko/code/DigitalHunterLocal/canner/packages/canner/src/hocs'
@ ./packages/canner/src/hocs/id.js 38:21-46
@ ./packages/canner/src/hocs/index.js
@ ./packages/canner/src/index.js
@ ./docs/index.js
@ multi (webpack)-dev-server/client?http://localhost:8080 ./docs
ERROR in ./packages/canner/src/hocs/request.js
Module not found: Error: Can't resolve 'canner-helpers' in '/Users/kiko/code/DigitalHunterLocal/canner/packages/canner/src/hocs'
@ ./packages/canner/src/hocs/request.js 37:21-46
@ ./packages/canner/src/hocs/index.js
@ ./packages/canner/src/index.js
@ ./docs/index.js
@ multi (webpack)-dev-server/client?http://localhost:8080 ./docs
ERROR in ./packages/canner/src/components/Generator.js
Module not found: Error: Can't resolve 'canner-layouts' in '/Users/kiko/code/DigitalHunterLocal/canner/packages/canner/src/components'
@ ./packages/canner/src/components/Generator.js 46:44-69
@ ./packages/canner/src/components/index.js
@ ./packages/canner/src/index.js
@ ./docs/index.js
@ multi (webpack)-dev-server/client?http://localhost:8080 ./docs
ERROR in ./packages/canner/src/components/Generator.js
Module not found: Error: Can't resolve 'canner-ref-id' in '/Users/kiko/code/DigitalHunterLocal/canner/packages/canner/src/components'
@ ./packages/canner/src/components/Generator.js 44:42-66
@ ./packages/canner/src/components/index.js
@ ./packages/canner/src/index.js
@ ./docs/index.js
@ multi (webpack)-dev-server/client?http://localhost:8080 ./docs
ERROR in ./packages/canner/src/hocs/connectContext.js
Module not found: Error: Can't resolve 'canner-ref-id' in '/Users/kiko/code/DigitalHunterLocal/canner/packages/canner/src/hocs'
@ ./packages/canner/src/hocs/connectContext.js 30:42-66
@ ./packages/canner/src/hocs/index.js
@ ./packages/canner/src/index.js
@ ./docs/index.js
@ multi (webpack)-dev-server/client?http://localhost:8080 ./docs
ERROR in ./packages/canner/src/hocs/onDeploy.js
Module not found: Error: Can't resolve 'canner-ref-id' in '/Users/kiko/code/DigitalHunterLocal/canner/packages/canner/src/hocs'
@ ./packages/canner/src/hocs/onDeploy.js 38:42-66
@ ./packages/canner/src/hocs/index.js
@ ./packages/canner/src/index.js
@ ./docs/index.js
@ multi (webpack)-dev-server/client?http://localhost:8080 ./docs
ERROR in ./packages/canner/src/hocs/request.js
Module not found: Error: Can't resolve 'canner-ref-id' in '/Users/kiko/code/DigitalHunterLocal/canner/packages/canner/src/hocs'
@ ./packages/canner/src/hocs/request.js 39:42-66
@ ./packages/canner/src/hocs/index.js
@ ./packages/canner/src/index.js
@ ./docs/index.js
@ multi (webpack)-dev-server/client?http://localhost:8080 ./docs
ERROR in ./packages/canner/src/hocs/relation.js
Module not found: Error: Can't resolve 'canner-ref-id' in '/Users/kiko/code/DigitalHunterLocal/canner/packages/canner/src/hocs'
@ ./packages/canner/src/hocs/relation.js 49:42-66
@ ./packages/canner/src/hocs/index.js
@ ./packages/canner/src/index.js
@ ./docs/index.js
@ multi (webpack)-dev-server/client?http://localhost:8080 ./docs
ERROR in ./packages/canner/src/hocs/id.js
Module not found: Error: Can't resolve 'canner-ref-id' in '/Users/kiko/code/DigitalHunterLocal/canner/packages/canner/src/hocs'
@ ./packages/canner/src/hocs/id.js 36:42-66
@ ./packages/canner/src/hocs/index.js
@ ./packages/canner/src/index.js
@ ./docs/index.js
@ multi (webpack)-dev-server/client?http://localhost:8080 ./docs
ERROR in ./packages/canner/src/hocs/validation.js
Module not found: Error: Can't resolve 'canner-ref-id' in '/Users/kiko/code/DigitalHunterLocal/canner/packages/canner/src/hocs'
@ ./packages/canner/src/hocs/validation.js 36:42-66
@ ./packages/canner/src/hocs/index.js
@ ./packages/canner/src/index.js
@ ./docs/index.js
@ multi (webpack)-dev-server/client?http://localhost:8080 ./docs
The text was updated successfully, but these errors were encountered:
Describe the bug
After cloning the repository and installing packages using
yarn
, running thestart
script provided by package.json throws bunch of unresolved module errors.To Reproduce
Steps to reproduce the behavior:
yarn
to install the required packagesyarn start
ornpm run start
to run the webpack serverExpected behavior
The webpack server is supposed to be run successfuly, serving the canner CMS.
Dependencies (please complete the following information):
Additional context
Error log:
The text was updated successfully, but these errors were encountered: