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

Unable to run Mosaico #130

Closed
SamGoody opened this issue Mar 22, 2016 · 4 comments
Closed

Unable to run Mosaico #130

SamGoody opened this issue Mar 22, 2016 · 4 comments
Labels

Comments

@SamGoody
Copy link

Am unable to run Mosaico. Errors detailed below.

Specs:
Ubuntu 15.10, Node v4.4.0, npm 3.8.3.
$ npm list -g --depth=0
bower@1.7.7, bower-npm-install@0.5.10, grunt@0.4.5, grunt-cli@1.0.0, npm@3.8.3

$ npm install (same output as $ npm install --only=dev)

> mosaico@0.14.0 postinstall /home/sam/mosaico
> bower-npm-install --non-interactive

npm WARN optional Skipping failed optional dependency /watchify/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.8
npm WARN mosaico@0.14.0 No repository field.
npm WARN mosaico@0.14.0 license should be a valid SPDX license expression

$ grunt

Loading "bowercopy.js" tasks...ERROR
 >> Error: Cannot find module './array/append'  
Loading "phantom-thumbnailer-editor.js" tasks...ERROR
>> Error: Cannot find module 'webpage'
Loading "Gruntfile.js" tasks...ERROR
>> Error: Cannot find module 'caniuse-db/features-json/transforms2d'
Warning: Task "default" not found. Use --force to continue.

Aborted due to warnings.

$ w3m http://localhost:9006
w3m: Can't load http://localhost:9006.

Other:

you understand you have to build it and to run a backend server

Isn't Grunt supposed to start node as a server? If so, then I understand.

you read this Readme three times and followed the instructions

Done. I have some experience with Node and Gulp (none with Grunt), but am no means a guru.

Please advise.

Thanks

@bago
Copy link
Member

bago commented Mar 22, 2016

it seems npm is not working correctly in your environment (npm install output should be hundreds of lines). I know another user reported issues with default npm in the ubuntu distro:
#82

@bago bago added the question label Mar 22, 2016
@bago
Copy link
Member

bago commented Mar 22, 2016

Well, I also forgot to congratulate with you because you are the first user that proved to read the readme ;-)

npm cache clean
npm install (multiple times if you get differnt errors, stop if same error)
npm update (multiple times if you get differnt errors, stop if same error)

If this doesn't work, then:

  • remove the project.
  • download it again.
  • do "npm cache clean"
  • then "npm install" and "npm update" in a loop until both of them returns no error.
  • once all of this work, run "grunt".

If you still get stuck in the same place, please write here the full output of your npm install.

@bago
Copy link
Member

bago commented Apr 13, 2016

Any feedback on this? Did you solve the issue? How?

@bago
Copy link
Member

bago commented Aug 12, 2016

No feedback. Closing.

@bago bago closed this as completed Aug 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants