Open wlopata opened 7 years ago
As a result I'm seeing the following error message when building my project:
Message: multi vendor Module not found: Error: Cannot resolve module 'ngCart' in /home/lopek/projects/sklepix2 resolve module ngCart in /home/lopek/projects/sklepix2 looking for modules in /home/lopek/projects/sklepix2/node_modules resolve 'file' ngCart in /home/lopek/projects/sklepix2/node_modules resolve file /home/lopek/projects/sklepix2/node_modules/ngCart is not a file /home/lopek/projects/sklepix2/node_modules/ngCart.webpack.js doesn't exist /home/lopek/projects/sklepix2/node_modules/ngCart.web.js doesn't exist /home/lopek/projects/sklepix2/node_modules/ngCart.js doesn't exist /home/lopek/projects/sklepix2/node_modules/ngCart.json doesn't exist resolve 'file' or 'directory' /home/lopek/projects/sklepix2/node_modules/ngCart resolve file /home/lopek/projects/sklepix2/node_modules/ngCart is not a file /home/lopek/projects/sklepix2/node_modules/ngCart.webpack.js doesn't exist /home/lopek/projects/sklepix2/node_modules/ngCart.web.js doesn't exist /home/lopek/projects/sklepix2/node_modules/ngCart.js doesn't exist /home/lopek/projects/sklepix2/node_modules/ngCart.json doesn't exist resolve directory directory default file index resolve file index in /home/lopek/projects/sklepix2/node_modules/ngCart /home/lopek/projects/sklepix2/node_modules/ngCart/index doesn't exist /home/lopek/projects/sklepix2/node_modules/ngCart/index.webpack.js doesn't exist /home/lopek/projects/sklepix2/node_modules/ngCart/index.web.js doesn't exist /home/lopek/projects/sklepix2/node_modules/ngCart/index.js doesn't exist /home/lopek/projects/sklepix2/node_modules/ngCart/index.json doesn't exist [/home/lopek/projects/sklepix2/node_modules/ngCart.webpack.js] [/home/lopek/projects/sklepix2/node_modules/ngCart.webpack.js] [/home/lopek/projects/sklepix2/node_modules/ngCart.web.js] [/home/lopek/projects/sklepix2/node_modules/ngCart.web.js] [/home/lopek/projects/sklepix2/node_modules/ngCart.js] [/home/lopek/projects/sklepix2/node_modules/ngCart.js] [/home/lopek/projects/sklepix2/node_modules/ngCart.json] [/home/lopek/projects/sklepix2/node_modules/ngCart.json] [/home/lopek/projects/sklepix2/node_modules/ngCart/index] [/home/lopek/projects/sklepix2/node_modules/ngCart/index.webpack.js] [/home/lopek/projects/sklepix2/node_modules/ngCart/index.web.js] [/home/lopek/projects/sklepix2/node_modules/ngCart/index.js] [/home/lopek/projects/sklepix2/node_modules/ngCart/index.json]
After I manually added "main": "dist/ngCart.js" entry in the node_modules/ngCart/package.json file and rebuilt the error was gone.
"main": "dist/ngCart.js"
node_modules/ngCart/package.json
As a result I'm seeing the following error message when building my project:
After I manually added
"main": "dist/ngCart.js"
entry in thenode_modules/ngCart/package.json
file and rebuilt the error was gone.