Falling at the first hurdle of PRO....

bendy asked 6 months ago

These are the only steps I've made (which match the instructions):

- I downloaded the zip file

- Navigated to the directory and submitted npm install

- submitted npm start ....and got the below error log....


0 info it worked if
it ends with ok
1 verbose cli [ 'C:\RDN\Apps\node\node.exe',
1 verbose cli 'C:\RDN\Apps\node\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'start' ]
2 info using npm@3.10.10
3 info using node@v6.11.3
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle mdbreact@4.2.0~prestart: mdbreact@4.2.0
6 silly lifecycle mdbreact@4.2.0~prestart: no script for prestart, continuing
7 info lifecycle mdbreact@4.2.0~start: mdbreact@4.2.0
8 verbose lifecycle mdbreact@4.2.0~start: unsafe-perm in lifecycle true
9 verbose lifecycle mdbreact@4.2.0~start: PATH: C:RDNAppsnodenode_modulesnpmbinnode-gyp-bin;C:RDNnodejsmdbootstrap-foundationnode_modules.bin;C:Usersdraybe1AppDataLocalContinuumAnaconda3;C:Usersdraybe1AppDataLocalContinuumAnaconda3Librarymingw-w64bin;C:Usersdraybe1AppDataLocalContinuumAnaconda3Libraryusrbin;C:Usersdraybe1AppDataLocalContinuumAnaconda3Librarybin;C:Usersdraybe1AppDataLocalContinuumAnaconda3Scripts;C:Usersdraybe1AppDataLocalContinuumAnaconda3bin;C:Program FilesDockerDockerResourcesbin;C:ProgramDataOracleJavajavapath;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:WINDOWSSystem32WindowsPowerShellv1.0;C:Program Files1ENomadBranch;C:Program Files (x86)Common FilesEntrustESP;C:Program FilesGitcmd;C:Program Files (x86)PuTTY;C:RDNAppsnode;C:Usersdraybe1AppDataLocalMicrosoftWindowsApps;
10 verbose lifecycle mdbreact@4.2.0~start: CWD: C:RDNnodejsmdbootstrap-foundation
11 silly lifecycle mdbreact@4.2.0~start: Args: [ '/d /s /c',
11 silly lifecycle 'yarn run sass-compile && concurrently --kill-others "yarn run sass-compile --watch" "yarn run webpack"' ]
12 silly lifecycle mdbreact@4.2.0~start: Returned: code: 1 signal: null
13 info lifecycle mdbreact@4.2.0~start: Failed to exec start script
14 verbose stack Error: mdbreact@4.2.0 start: `yarn run sass-compile && concurrently --kill-others "yarn run sass-compile --watch" "yarn run webpack"`
14 verbose stack Exit status 1
14 verbose stack at EventEmitter.<anonymous> (C:RDNAppsnodenode_modulesnpmlibutilslifecycle.js:255:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess.<anonymous> (C:RDNAppsnodenode_modulesnpmlibutilsspawn.js:40:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:191:7)
14 verbose stack at maybeClose (internal/child_process.js:920:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
15 verbose pkgid mdbreact@4.2.0
16 verbose cwd C:RDNnodejsmdbootstrap-foundation
17 error Windows_NT 10.0.15063
18 error argv "C:\RDN\Apps\node\node.exe" "C:\RDN\Apps\node\node_modules\npm\bin\npm-cli.js" "start"
19 error node v6.11.3
20 error npm v3.10.10
21 error code ELIFECYCLE
22 error mdbreact@4.2.0 start: `yarn run sass-compile && concurrently --kill-others "yarn run sass-compile --watch" "yarn run webpack"`
22 error Exit status 1
23 error Failed at the mdbreact@4.2.0 start script 'yarn run sass-compile && concurrently --kill-others "yarn run sass-compile --watch" "yarn run webpack"'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the mdbreact package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error yarn run sass-compile && concurrently --kill-others "yarn run sass-compile --watch" "yarn run webpack"
23 error You can get information on how to open an issue for this project with:
23 error npm bugs mdbreact
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls mdbreact
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]


Bartłomiej Malanowski commented 6 months ago

Did you try with yarn? Do you have yarn installed?

twentyfour commented 5 months ago

I'm having the same issue. Never heard about yarn though. Going to look up what that does...

Mikołaj Smoleński commented 5 months ago

Please install yarn from that page: https://yarnpkg.com/lang/en/
And then unzipp MDB, type 'yarn' in the console. After insallation type 'yarn start' to run application.

Please insert min. 20 characters.


Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: React
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: No