Giter Site home page Giter Site logo

react2html's People

Contributors

modesty avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

react2html's Issues

Npm build scripts not working on Windows

Hi,
frist of all thank you for this template and the whole idea. This is totally what I had in my mind and what I was looking for. ๐Ÿ‘

However I have some problems with the build scripts right after installing the npm dependencies. npm run build command fails:

$ npm run build

> [email protected] build C:\WebSites\react2html
> npm run clean-target && npm-run-all --parallel build:asset build:page build:bundle


> [email protected] clean-target C:\WebSites\react2html
> babel-node ./tool/build.cleanup.js

pre-build: empty target directory ...
โœ“ Success: C:\WebSites\react2html/target is cleaned up.

> [email protected] build:asset C:\WebSites\react2html
> babel-node ./tool/build.asset.js


> [email protected] build:page C:\WebSites\react2html
> babel-node ./tool/build.page.js


> [email protected] build:bundle C:\WebSites\react2html
> babel-node ./tool/build.bundle.js

build resources: copy meta files ...
copied file: apple-touch-icon.png
copied file: browserconfig.xml
copied file: crossdomain.xml
copied file: favicon.ico
copied file: humans.txt
copied file: robots.txt
copied file: tile-wide.png
copied file: tile.png
copied file: logo.png
transform page => ..\target/
copied file: .htaccess
transform page => ..\target\about/
transform page => ..\target\contact/

=== Generating minified bundle ...

โœ— Error: Webpack - v1.13.3 - : react2html-bundle.js from UglifyJs
SyntaxError: Unexpected token: string (../styles/main.scss) [./src/scripts/main.js:3,0]

I tried to solve this problem and got some clues that the babel-loader might not be transpilling the files.
Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.