vinsol-spree-contrib / spree-on-react Goto Github PK
View Code? Open in Web Editor NEWReactJS front-end for spree commerce. Demo Details -->
Home Page: https://github.com/vinsol-spree-contrib/spree-on-react#demo
License: MIT License
ReactJS front-end for spree commerce. Demo Details -->
Home Page: https://github.com/vinsol-spree-contrib/spree-on-react#demo
License: MIT License
Add support for I18n.
Looks like, so many packages are outdated.
package node-sass is creating the issue.
`1 error generated.
make: *** [Release/obj.target/binding/src/create_string.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Volumes/gitdisk/code/sites/spree-on-react/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:200:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/usr/local/Cellar/node/12.3.1/bin/node" "/Volumes/gitdisk/code/sites/spree-on-react/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /Volumes/gitdisk/code/sites/spree-on-react/node_modules/node-sass
gyp ERR! node -v v12.3.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.`
Failed to compile.
Error in ./src/connected-intl-provider.jsx
Module not found: ./../translations/app-translations.json in /Users/Apple/RAILS_PROJECTS/spree-on-react/src
@ ./src/connected-intl-provider.jsx 11:23-73
After running npm run build:langs got following errors
[email protected] build:langs /Users/Apple/RAILS_PROJECTS/spree-on-react
babel-node scripts/translate.js
/Users/Apple/RAILS_PROJECTS/spree-on-react/node_modules/babel-register/node_modules/babel-core/lib/transformation/file/options/option-manager.js:328
throw e;
^
Error: Using babel-preset-react-app
requires that you specify NODE_ENV
or BABEL_ENV
environment variables. Valid values are "development", "test", and "production". Instead, received: undefined. (While processing preset: "/Users/Apple/RAILS_PROJECTS/spree-on-react/node_modules/babel-preset-react-app/index.js")
at Object. (/Users/Apple/RAILS_PROJECTS/spree-on-react/node_modules/babel-preset-react-app/index.js:49:9)
at Module._compile (module.js:571:32)
at Module._extensions..js (module.js:580:10)
at Object.require.extensions.(anonymous function) [as .js] (/Users/Apple/RAILS_PROJECTS/spree-on-react/node_modules/babel-register/lib/node.js:152:7)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at /Users/Apple/RAILS_PROJECTS/spree-on-react/node_modules/babel-register/node_modules/babel-core/lib/transformation/file/options/option-manager.js:296:17
npm ERR! Darwin 16.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build:langs"
npm ERR! node v7.3.0
npm ERR! npm v4.1.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build:langs: babel-node scripts/translate.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build:langs script 'babel-node scripts/translate.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the spree-on-react package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! babel-node scripts/translate.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs spree-on-react
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls spree-on-react
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/Apple/RAILS_PROJECTS/spree-on-react/npm-debug.log
Does your implementation use server-side rendering?
Or anything comparable to help with SEO?
Many thanks for any infos.
Does this not work with Rails 5? Got this error when running 'bundle' in the terminal:
Bundler could not find compatible versions for gem "activesupport":
In snapshot (Gemfile.lock):
activesupport (= 5.1.4)
In Gemfile:
web-console (>= 3.3.0) was resolved to 3.5.1, which depends on
actionview (>= 5.0) was resolved to 5.1.4, which depends on
activesupport (= 5.1.4)
rails (~> 4.2.7) was resolved to 4.2.7, which depends on
activesupport (= 4.2.7)
Is there any troubleshooting or methods to make this work with the newest Rails?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.