Comments (7)
I think the issue is because you're on windows and my node scripts are not windows friendy. The ./
syntax works on Unix machine and is probably the cause of issue. I'm not quite sure how you can run node
scripts in Windows.
Can you try running the following command in Windows and see what the output is?
./node_modules/webpack-dev-server/bin/webpack-dev-server.js --progress --colors --port 8090
If this fails, try
node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js --progress --colors --port 8090
from react-surveyman.
yeah,that is the error, this command return " '.' is not recognized as an internal or external command, operable program or batch file."
from react-surveyman.
Ah ok.. Expected. Running the command like so -
C:\Program Files (x86)\nodejs\node.exe \node_modules\webpack-dev-server\bin\webpack-dev-server.js --progress --colors --port 8090
.
Basically we need to figure out how to run node scripts in Windows
from react-surveyman.
know,the error was changed,
module.js:340
throw err;
^
Error: Cannot find module 'C:\node_modules\webpack-dev-server\bin\webpack-dev-se
rver.js'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3
can be provided by the same issue unrecognized node script with windows ??
from react-surveyman.
Sorry.. my bad.. try it without the starting slash..
node node_modules/webpack-dev-server/bin/webpack-dev-server.js --progress --colors --port 8090
from react-surveyman.
issue resolved,thank you some much,only a last question,this app can run on web browser as a Javascript in html page...,if not,can I try a migration ???
from react-surveyman.
Great! It actually runs as a single JS file in a HTML page.. you can view the demo. What do you want to migrate it to? Either ways, feel free to use it as you like 😁
from react-surveyman.
Related Issues (20)
- Add transitions HOT 2
- Fix id generation HOT 3
- Ability to duplicate blocks and questions
- Validate JSON Schema
- Ability to Save / Load surveys HOT 4
- Allow items to be positioned arbitrarily when being dropped HOT 6
- drop broke in safari HOT 3
- Add support for Subblocks HOT 3
- testing slack integration
- randomization button? HOT 5
- Clicking on x in the select component gives a NaN
- Add linting for ES6
- Move to ES6 classes HOT 2
- Apply fixed positioning to the Toolbox
- Add properties to the Question Schema HOT 5
- Survey Incremental Validation HOT 13
- License type HOT 3
- s/ordering/ordered
- Several module not found errors HOT 2
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.
from react-surveyman.