rhysd / Shiba

Rich markdown live preview app with linter
774 stars 55 forks source link

Unable to start app from a frech clone #50

Closed agirorn closed 5 years ago

agirorn commented 5 years ago

When I check out the project and run the following commands yarn install && yarn start or npm install && npm start then I get the following error. It seems that neither the npm install hooks nor the start does some of the ruby provisioning required to boot the app.

➜  Shiba git:(master) ✗ npm install && npm start

> fsevents@1.2.4 install /Users/agir/code-open/Shiba/node_modules/fsevents
> node install

node-pre-gyp WARN Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.4/fse-v1.2.4-node-v67-darwin-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for fsevents@1.2.4 and node@11.12.0 (node-v67 ABI, unknown) (falling back to source compile with node-gyp)
  SOLINK_MODULE(target) Release/.node
  CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:203:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:337:28: warning: 'New' is deprecated: Use Isolate* version [-Wdeprecated-declarations]
  return v8::StringObject::New(value).As<v8::StringObject>();
                           ^
/Users/agir/.node-gyp/11.12.0/include/node/v8.h:5241:3: note: 'New' has been explicitly marked deprecated here
  V8_DEPRECATED("Use Isolate* version",
  ^
/Users/agir/.node-gyp/11.12.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:6:
../../nan/nan.h:1034:44: warning: 'ToString' is deprecated: Use maybe version [-Wdeprecated-declarations]
      v8::Local<v8::String> string = from->ToString();
                                           ^
/Users/agir/.node-gyp/11.12.0/include/node/v8.h:2548:10: note: 'ToString' has been explicitly marked deprecated here
  inline V8_DEPRECATED("Use maybe version", Local<String> ToString() const);
         ^
/Users/agir/.node-gyp/11.12.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:6:
../../nan/nan.h:1044:27: warning: 'WriteUtf8' is deprecated: Use Isolate* version [-Wdeprecated-declarations]
        length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
                          ^
/Users/agir/.node-gyp/11.12.0/include/node/v8.h:2753:3: note: 'WriteUtf8' has been explicitly marked deprecated here
  V8_DEPRECATED("Use Isolate* version",
  ^
/Users/agir/.node-gyp/11.12.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
../fsevents.cc:63:6: warning: field 'async_resource' will be initialized after field 'lockStarted' [-Wreorder]
   : async_resource("fsevents:FSEvents"), lockStarted(false) {
     ^
4 warnings generated.
  SOLINK_MODULE(target) Release/fse.node
  COPY /Users/agir/code-open/Shiba/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64/fse.node
  TOUCH Release/obj.target/action_after_build.stamp

> electron-chromedriver@1.8.0 install /Users/agir/code-open/Shiba/node_modules/electron-chromedriver
> node ./download-chromedriver.js

successfully dowloaded and extracted!

> electron@2.0.8 postinstall /Users/agir/code-open/Shiba/node_modules/electron
> node install.js

Downloading SHASUMS256.txt
[============================================>] 100.0% of 5.33 kB (5.33 kB/s)
added 834 packages from 1170 contributors and audited 4160 packages in 160.088s
found 43 vulnerabilities (29 moderate, 14 high)
  run `npm audit fix` to fix them, or `npm audit` for details

> shiba@1.2.1 start /Users/agir/code-open/Shiba
> npm run dep && npm run build && npm run show-readme

> shiba@1.2.1 dep /Users/agir/code-open/Shiba
> rake dep

> shiba@1.2.1 build /Users/agir/code-open/Shiba
> rake build

rake aborted!
'slimrb' command doesn't exist
/Users/agir/code-open/Shiba/Rakefile:20:in `ensure_cmd'
/Users/agir/code-open/Shiba/Rakefile:43:in `block in <top (required)>'
Tasks: TOP => build => compile => build_slim
(See full trace by running task with --trace)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! shiba@1.2.1 build: `rake build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the shiba@1.2.1 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/agir/.npm/_logs/2019-04-21T11_49_43_122Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! shiba@1.2.1 start: `npm run dep && npm run build && npm run show-readme`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the shiba@1.2.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/agir/.npm/_logs/2019-04-21T11_49_43_176Z-debug.log
➜  Shiba git:(master) ✗
rhysd commented 5 years ago

seems duplicate of https://github.com/rhysd/Shiba/issues/48