rgs-template's People
Forkers
ultrma ayeshaazam kriketti codenamejason olena-ageyeva sandeepsharmaster madhugali chriszhang2300 wojtekpi wangzeb bala4ru chathurangajayamal imsatyam elizabethvillalobos dinesh08 claudioservetti vkwjope trungnguyens93 vinuramanan nitjas nirmalkumarvelupillai pavel-petrenko andrewroland trisadmeslek m-de-souza tuwizard raqif-bassam istanbulbekle alexwibowo prakash-amit martin-creator bran-deb leogiraldimg pichiloor rpappala1821 stevenpg1 akane1875 unnathil motseki amrohitrgs-template's Issues
Cannot use import statement outside a module
C:\Users\person\Desktop\rgs-template\src\server\server.js:1
import express from 'express';
^^^^^^
SyntaxError: Cannot use import statement outside a module
at wrapSafe (internal/modules/cjs/loader.js:1072:16)
at Module._compile (internal/modules/cjs/loader.js:1122:27)
at Module._compile (C:\Users\person\Desktop\rgs-template\node_modules\pirates\lib\index.js:83:24)
at Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
at Object.newLoader [as .js] (C:\Users\person\Desktop\rgs-template\node_modules\pirates\lib\index.js:88:7)
at Module.load (internal/modules/cjs/loader.js:1002:32)
at Function.Module._load (internal/modules/cjs/loader.js:901:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
at Object. (C:\Users\person\Desktop\rgs-template\node_modules@babel\node\lib_babel-node.js:234:23)
at Module._compile (internal/modules/cjs/loader.js:1158:30)
[nodemon] app crashed - waiting for file changes before starting...
Unexpected Token at <App />
Unexpected token (10:54)
8 |
9 | server.get('/', (req, res) => {
10 | const initialMarkup = ReactDOMServer.renderToString();
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.