-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows server symbolic links just shows path in browser #1336
Comments
Yea, valid for sure. Sort of an aside, have you tried the new |
The new npm start
> gh-badges@1.3.0 prestart C:\Users\Dan\Documents\GitHub\shields
> npm run frontend-depcheck
> gh-badges@1.3.0 frontend-depcheck C:\Users\Dan\Documents\GitHub\shields
> check-node-version --node ">= 8.0"
> gh-badges@1.3.0 start C:\Users\Dan\Documents\GitHub\shields
> concurrently --names server,frontend "ALLOWED_ORIGIN=http://localhost:3000 npm run start:server" "BASE_URL=http://[::]:8080 next dev"
[server] 'ALLOWED_ORIGIN' is not recognized as an internal or external command,
[server] operable program or batch file.
[frontend] 'BASE_URL' is not recognized as an internal or external command,
[frontend] operable program or batch file.
[server] ALLOWED_ORIGIN=http://localhost:3000 npm run start:server exited with code 1
[frontend] BASE_URL=http://[::]:8080 next dev exited with code 1
npm ERR! Windows_NT 10.0.16299
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Dan\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v8.7.0
npm ERR! npm v4.3.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! gh-badges@1.3.0 start: `concurrently --names server,frontend "ALLOWED_ORIGIN=http://localhost:3000 npm run start:server" "BASE_URL=http://[::]:8080 next dev"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the gh-badges@1.3.0 start script 'concurrently --names server,frontend "ALLOWED_ORIGIN=http://localhost:3000 npm run start:server" "BASE_URL=http://[::]:8080 next dev"'. Update: |
@paulmelnikow If i change I'm fairly sure the second option should work in most environments |
As far as I can tell, we don't have any more symlinks in the codebase. I think I removed the last of them in #2906. 😄 |
Symbolic links do not seem to function as they should through the browser and instead just shows the path the sym link directs to:
Whenever i run start the server i have to copy the files over from the builds dir to the public dir to view the homepage correctly.
OS:
Windows 10
Browsers tested:
Chrome 62
,Internet Explorer 11
Node:
v8.7.0
Note: not a new problem, just hasn't really been too much of an issue
The text was updated successfully, but these errors were encountered: