April 24, 2017 at 12:07 am
Comments posted to this topic are about the item Building Dynamic React Apps with SQL Server Data
June 19, 2018 at 8:11 pm
Hi My name is Ron. I have beaten this thing to death. No matter what I do I get npm start is missing when I issue npm start. Please help,
Thank you
June 20, 2018 at 6:16 am
Hi Ron,
Have you installed Node.js? You can download it here: https://nodejs.org/en/ You need the runtime to proceed.
June 20, 2018 at 11:14 am
I have node install. Npm Init works, NPM Install works,
Just when I try NPM start I get the problem.
I will load the node you are pointing to and see if that works. I am at work I will try tonight.
Is it possible for to to post the final package.json file so I can see if I got that right?
Thank you
Ron
June 21, 2018 at 8:32 am
Ron,
Here are the contents of the package.json file
{
"name": "apiserver-react",
"version": "1.0.0",
"description": "",
"main": "main.js",
"scripts": {
"start": "webpack-dev-server --hot"
},
"author": "",
"license": "ISC",
"dependencies": {
"axios": "^0.18.0",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.4",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"webpack": "^4.12.0",
"webpack-dev-server": "^3.1.4"
}
}
EDIT: "start" not "script"
August 31, 2018 at 12:02 pm
rcronc - Wednesday, June 20, 2018 11:14 AMI have node install. Npm Init works, NPM Install works,
Just when I try NPM start I get the problem.
I had this exact same issue this morning. Are you by chance doing this on a Windows machine? I had installed everything on Linux yesterday and npm start worked fine, but after repeating all of the steps on a Windows machine npm start wouldn't do anything.
After looking around a bit I realized that the current version of NPM bundled with node has this problem on Windows. About halfway down the page on https://github.com/react-community/create-react-native-app/issues/233 brentvatne suggested the solution which finally worked for me (and I realize that the thread I linked to is regarding create-react-native-app, which we aren't using, but it's the same issue).
If it sounds like the same issue:
1) Run npm --version to make sure your current version is >=5.
2) If so run: npm i -g npm@4.6.1
3) Run npm --version again to make sure you are now using 4.6.1.
npm start should work fine now.
Or you could use yarn but where's the fun in that? Hope this helps.
May 3, 2019 at 7:06 pm
where is the source code?
May 3, 2019 at 7:14 pm
Hi Lero, the new SQLServerCentral CSS doesn't surface links very well. There's a link in the opening paragraph to the source code: https://www.sqlservercentral.com/articles/apiserver-react.zip
May 3, 2019 at 7:36 pm
I clicked on it but the page opens with :
Oops! That page can’t be found.
It looks like nothing was found at this location. Try the search below.
May 3, 2019 at 7:42 pm
Hmm, try the original site link: https://www.cdata.com/kb/articles/apiserver-react.zip
May 3, 2019 at 7:46 pm
Thanks!
April 28, 2021 at 3:02 pm
Hello I'm Glenn, I was trying to set up the app with SQL Server database as you mentioned in the tutorial but it won't let me try anything just gives this message. Can you please help? Thanks
December 3, 2021 at 6:03 pm
I tried to understand the development of apps and software, watched various training materials, studied information regarding flutter vs react native, but in the end I realized that it is much easier and faster to ask for help from a developer who will professionally solve my problems. Probably, I'm just not created for the profession of a developer.
December 3, 2021 at 7:41 pm
February 8, 2023 at 3:33 pm
Hey, I have been following this tutorial with the hope of using this for a project on a software development bootcamp. However, the link to the full code is dead. I have emailed the webmaster who has said they are unable to locate this. They said I should comment and if see if you might be able to provide?
Viewing 15 posts - 1 through 14 (of 14 total)
You must be logged in to reply to this topic. Login to reply