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

Module not found: Error: Can't resolve 'pim/form-builder' in '/home/node/web/bundles/pimui/js' #10126

Closed
vsilent opened this issue May 28, 2019 · 3 comments

Comments

@vsilent
Copy link

vsilent commented May 28, 2019

I'm reporting a Bug

Module not found: Error: Can't resolve 'pim/form-builder' in '/home/node/web/bundles/pimui/js'

pim-community-standard 3.0.21 fresh install.
https://github.com/akeneo/pim-community-standard/archive/v3.0.21.tar.gz

@vsilent
Copy link
Author

vsilent commented May 28, 2019

yarn install v1.13.0
warning package.json: No license field
warning pim-community-standard@2.0.0: No license field
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.65s.
yarn run v1.13.0
warning package.json: No license field
$ yarn run sync && NODE_PATH=node_modules webpack --config $npm_package_config_source/webpack.config.js --env=prod
warning package.json: No license field
$ NODE_PATH=node_modules node $npm_package_config_check --source=$npm_package_config_source
Starting webpack from /home/node in prod mode

WebpackCleanupPlugin: 0 file(s) deleted.
Version: webpack 3.5.5
Time: 10761ms
              Asset       Size  Chunks             Chunk Names
        main.min.js     191 kB       0  [emitted]  main
      vendor.min.js  701 bytes       1  [emitted]  vendor
    manifest.min.js    1.44 kB       2  [emitted]  manifest
    main.min.js.map     931 kB       0  [emitted]  main
  vendor.min.js.map    1.76 kB       1  [emitted]  vendor
manifest.min.js.map    7.72 kB       2  [emitted]  manifest

ERROR in ./web/bundles/pimui/js/index.js
Module not found: Error: Can't resolve 'pim/form-builder' in '/home/node/web/bundles/pimui/js'
 @ ./web/bundles/pimui/js/index.js 1:13-138
 @ multi babel-polyfill ./web/bundles/pimui/js/index.js

@akovalyov
Copy link

@vsilent just experienced the same issue. In my case it was when using docker for php while using node on host. It was fixed after switching to php on host machine and launching php bin/console pim:installer:dump-require-paths.

@jmleroux
Copy link
Contributor

This issue is closed for inactivity. Please feel free to reopen it if needed.
Regards.

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

3 participants