Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Unresolved packages after repository clone #166

Open
kristian-cabala opened this issue Mar 28, 2019 · 0 comments
Open

Unresolved packages after repository clone #166

kristian-cabala opened this issue Mar 28, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@kristian-cabala
Copy link

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:

  1. Clone this repository.
  2. yarn to install the required packages
  3. 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
@kristian-cabala kristian-cabala added the bug Something isn't working label Mar 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant