-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Build Prod #598
Comments
Which version of Node? I recommend NodeJS 4.4.4 LTS. First uninstall node and reinstall that version. Then try running task |
I have the same problem when running the 'npm run build:prod' command. The part that fails is: webpack --config config/webpack.prod.js --progress --profile --colors --display-error-details --display-cached --bail Node version: Npm version: Stack trace: build modulesModuleNotFoundError: Module not found: Error: a dependency to an entry point is not allowed |
Sorry, the wrong version of node was not completely removed. Got it working! |
Hello everyone,
i have an issue but whith build:prod :
ModuleNotFoundError: Module not found: Error: a dependency to an entry point is not allowed at ...\node_modules\webpack\lib\Compilation.js:254:7 at ...\node_modules\webpack\lib\NormalModuleFactory.js:58:13 at NormalModuleFactory.applyPluginsAsyncWaterfall (...\node_modules\tapable\lib\Tapable.js:75:69) at onDoneResolving (...\node_modules\webpack\lib\NormalModuleFactory.js:38:11) at onDoneResolving (...\node_modules\webpack\lib\NormalModuleFactory.js:121:6) at ...\node_modules\webpack\lib\NormalModuleFactory.js:116:7 at ...\node_modules\webpack\node_modules\async\lib\async.js:726:13 at ...\node_modules\webpack\node_modules\async\lib\async.js:52:16 at done (...\node_modules\webpack\node_modules\async\lib\async.js:246:17) at ...\node_modules\webpack\node_modules\async\lib\async.js:44:16 at ...\node_modules\webpack\node_modules\async\lib\async.js:723:17 at ...\node_modules\webpack\node_modules\async\lib\async.js:167:37 at ...\node_modules\webpack\node_modules\async\lib\async.js:52:16 at ...\node_modules\webpack\node_modules\async\lib\async.js:361:13 at ...\node_modules\webpack\node_modules\async\lib\async.js:52:16 at done (...\node_modules\webpack\node_modules\async\lib\async.js:246:17) at ...\node_modules\webpack\node_modules\async\lib\async.js:44:16 at ...\node_modules\webpack\node_modules\async\lib\async.js:358:17 at ...\node_modules\enhanced-resolve\lib\UnsafeCachePlugin.js:29:4 at onResolved (...\node_modules\enhanced-resolve\lib\Resolver.js:39:10) at innerCallback (...\node_modules\enhanced-resolve\lib\Resolver.js:89:22) at loggingCallbackWrapper (...\node_modules\enhanced-resolve\lib\createInnerCallback.js:21:19) at ...\node_modules\tapable\lib\Tapable.js:134:6 at ...\node_modules\enhanced-resolve\lib\ModulesInDirectoriesPlugin.js:55:11 at ...\node_modules\enhanced-resolve\lib\Resolver.js:191:15 at Tapable.<anonymous> (...\node_modules\enhanced-resolve\lib\ModulesInDirectoriesPlugin.js:50:12) at Storage.finished (...\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:38:16) at FSReqWrap.oncomplete (fs.js:117:15)
Any idea ?
Thx!
The text was updated successfully, but these errors were encountered: