Hashnode / mern-cli

⛔️ DEPRECATED - A cli tool for getting started with MERN
http://mern.io/
MIT License
572 stars 149 forks source link

Can not start the app on linux #45

Open MarinAngelo opened 5 years ago

MarinAngelo commented 5 years ago

npm start throws this error:

`internal/modules/cjs/loader.js:596 throw err; ^

Error: Cannot find module '/home/marinangelo/web/lernen/react/MERN' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15) at Function.Module._load (internal/modules/cjs/loader.js:520:25) at Function.Module.runMain (internal/modules/cjs/loader.js:744:10) at startup (internal/bootstrap/node.js:238:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:572:3) /home/marinangelo/web/lernen/react/MERN cli/myApp/node_modules/babel-core/lib/transformation/file/index.js:558 throw err; ^

Error: /home/marinangelo/web/lernen/react/MERN cli/myApp/client/modules/App/App.js: Command failed: node /home/marinangelo/web/lernen/react/MERN cli/myApp/node_modules/webpack/bin/webpack.js /home/marinangelo/web/lernen/react/MERN cli/myApp/client/modules/App/App.css /tmp/.webpack.res.1552915452152_234802.js --config ./webpack.config.babel.js --bail internal/modules/cjs/loader.js:596 throw err; ^

Error: Cannot find module '/home/marinangelo/web/lernen/react/MERN' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15) at Function.Module._load (internal/modules/cjs/loader.js:520:25) at Function.Module.runMain (internal/modules/cjs/loader.js:744:10) at startup (internal/bootstrap/node.js:238:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:572:3)

at checkExecSyncError (child_process.js:603:11)
at execSync (child_process.js:640:13)
at exports.default (/home/marinangelo/web/lernen/react/MERN cli/myApp/node_modules/babel-plugin-webpack-loaders/lib/runWebPackSync.js:39:51)
at PluginPass.CallExpression (/home/marinangelo/web/lernen/react/MERN cli/myApp/node_modules/babel-plugin-webpack-loaders/lib/plugin.js:103:60)
at newFn (/home/marinangelo/web/lernen/react/MERN cli/myApp/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/home/marinangelo/web/lernen/react/MERN cli/myApp/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/home/marinangelo/web/lernen/react/MERN cli/myApp/node_modules/babel-traverse/lib/path/context.js:48:17)
at NodePath.visit (/home/marinangelo/web/lernen/react/MERN cli/myApp/node_modules/babel-traverse/lib/path/context.js:105:12)
at TraversalContext.visitQueue (/home/marinangelo/web/lernen/react/MERN cli/myApp/node_modules/babel-traverse/lib/context.js:150:16)
at TraversalContext.visitSingle (/home/marinangelo/web/lernen/react/MERN cli/myApp/node_modules/babel-traverse/lib/context.js:108:19)
at TraversalContext.visit (/home/marinangelo/web/lernen/react/MERN cli/myApp/node_modules/babel-traverse/lib/context.js:192:19)
at Function.traverse.node (/home/marinangelo/web/lernen/react/MERN cli/myApp/node_modules/babel-traverse/lib/index.js:114:17)
at NodePath.visit (/home/marinangelo/web/lernen/react/MERN cli/myApp/node_modules/babel-traverse/lib/path/context.js:115:19)
at TraversalContext.visitQueue (/home/marinangelo/web/lernen/react/MERN cli/myApp/node_modules/babel-traverse/lib/context.js:150:16)
at TraversalContext.visitMultiple (/home/marinangelo/web/lernen/react/MERN cli/myApp/node_modules/babel-traverse/lib/context.js:103:17)
at TraversalContext.visit (/home/marinangelo/web/lernen/react/MERN cli/myApp/node_modules/babel-traverse/lib/context.js:190:19)

[nodemon] app crashed - waiting for file changes before starting...`

any idea?