Comments (7)
Also I got 404 error for css/app.css
I managed to copy it from your demo and it works fine untill I pointed my root directory to /public, which makes the framework treat it as route instead of CSS
from online-ftp-s3.
From the Readme:
Installation
- Clone this repository to your machine.
- composer install
- yarn or npm install
- gulp or gulp --production
Did you run all these steps? In particular gulp
?
from online-ftp-s3.
The command
npm install
and yarn
give this error :
gyp verb check python checking for Python executable "python2" in the PATH gyp verb
whichfailed Error: not found: python2 gyp verb
whichfailed at getNotFoundError (C:\Windows\System32\composer-file\node_modules\which\which.js:13:12) gyp verb
whichfailed at F (C:\Windows\System32\composer-file\node_modules\which\which.js:68:19) gyp verb
whichfailed at E (C:\Windows\System32\composer-file\node_modules\which\which.js:80:29) gyp verb
whichfailed at C:\Windows\System32\composer-file\node_modules\which\which.js:89:16 gyp verb
whichfailed at C:\Windows\System32\composer-file\node_modules\isexe\index.js:42:5 gyp verb
whichfailed at C:\Windows\System32\composer-file\node_modules\isexe\windows.js:36:5 gyp verb
whichfailed at FSReqWrap.oncomplete (fs.js:170:21) gyp verb
whichfailed python2 { Error: not found: python2 gyp verb
whichfailed at getNotFoundError (C:\Windows\System32\composer-file\node_modules\which\which.js:13:12) gyp verb
whichfailed at F (C:\Windows\System32\composer-file\node_modules\which\which.js:68:19) gyp verb
whichfailed at E (C:\Windows\System32\composer-file\node_modules\which\which.js:80:29) gyp verb
whichfailed at C:\Windows\System32\composer-file\node_modules\which\which.js:89:16 gyp verb
whichfailed at C:\Windows\System32\composer-file\node_modules\isexe\index.js:42:5 gyp verb
whichfailed at C:\Windows\System32\composer-file\node_modules\isexe\windows.js:36:5 gyp verb
whichfailed at FSReqWrap.oncomplete (fs.js:170:21) gyp verb
whichfailed stack: 'Error: not found: python2\n at getNotFoundError (C:\\Windows\\System32\\composer-file\\node_modules\\which\\which.js:13:12)\n at F (C:\\Windows\\System32\\composer-file\\node_modules\\which\\which.js:68:19)\n at E (C:\\Windows\\System32\\composer-file\\node_modules\\which\\which.js:80:29)\n at C:\\Windows\\System32\\composer-file\\node_modules\\which\\which.js:89:16\n at C:\\Windows\\System32\\composer-file\\node_modules\\isexe\\index.js:42:5\n at C:\\Windows\\System32\\composer-file\\node_modules\\isexe\\windows.js:36:5\n at FSReqWrap.oncomplete (fs.js:170:21)', gyp verb
whichfailed code: 'ENOENT' } gyp verb check python checking for Python executable "python" in the PATH gyp verb
whichfailed Error: not found: python gyp verb
whichfailed at getNotFoundError (C:\Windows\System32\composer-file\node_modules\which\which.js:13:12) gyp verb
whichfailed at F (C:\Windows\System32\composer-file\node_modules\which\which.js:68:19) gyp verb
whichfailed at E (C:\Windows\System32\composer-file\node_modules\which\which.js:80:29) gyp verb
whichfailed at C:\Windows\System32\composer-file\node_modules\which\which.js:89:16 gyp verb
whichfailed at C:\Windows\System32\composer-file\node_modules\isexe\index.js:42:5 gyp verb
whichfailed at C:\Windows\System32\composer-file\node_modules\isexe\windows.js:36:5 gyp verb
whichfailed at FSReqWrap.oncomplete (fs.js:170:21) gyp verb
whichfailed python { Error: not found: python gyp verb
whichfailed at getNotFoundError (C:\Windows\System32\composer-file\node_modules\which\which.js:13:12) gyp verb
whichfailed at F (C:\Windows\System32\composer-file\node_modules\which\which.js:68:19) gyp verb
whichfailed at E (C:\Windows\System32\composer-file\node_modules\which\which.js:80:29) gyp verb
whichfailed at C:\Windows\System32\composer-file\node_modules\which\which.js:89:16 gyp verb
whichfailed at C:\Windows\System32\composer-file\node_modules\isexe\index.js:42:5 gyp verb
whichfailed at C:\Windows\System32\composer-file\node_modules\isexe\windows.js:36:5 gyp verb
whichfailed at FSReqWrap.oncomplete (fs.js:170:21) gyp verb
whichfailed stack: 'Error: not found: python\n at getNotFoundError (C:\\Windows\\System32\\composer-file\\node_modules\\which\\which.js:13:12)\n at F (C:\\Windows\\System32\\composer-file\\node_modules\\which\\which.js:68:19)\n at E (C:\\Windows\\System32\\composer-file\\node_modules\\which\\which.js:80:29)\n at C:\\Windows\\System32\\composer-file\\node_modules\\which\\which.js:89:16\n at C:\\Windows\\System32\\composer-file\\node_modules\\isexe\\index.js:42:5\n at C:\\Windows\\System32\\composer-file\\node_modules\\isexe\\windows.js:36:5\n at FSReqWrap.oncomplete (fs.js:170:21)', gyp verb
which` failed code: 'ENOENT' }
gyp verb could not find "python". checking python launcher
gyp verb could not find "python". guessing location
gyp verb ensuring that file exists: C:\Python27\python.exe
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (C:\Windows\System32\composer-file\node_modules\node-gyp\lib\configure.js:483:19)
gyp ERR! stack at PythonFinder. (C:\Windows\System32\composer-file\node_modules\node-gyp\lib\configure.js:508:16)
gyp ERR! stack at C:\Windows\System32\composer-file\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:170:21)
gyp ERR! System Windows_NT 10.0.16299
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Windows\System32\composer-file\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd C:\Windows\System32\composer-file\node_modules\node-sass
gyp ERR! node -v v9.11.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Build failed with error code: 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\AppData\Roaming\npm-cache_logs\2018-04-07T01_23_08_218Z-debug.log`
Do I need python from https://www.python.org/ ?
or is there something Im missing?
Full debug log :
2018-04-07T01_23_08_218Z-debug.log
Thanks for the help (In advance)!
from online-ftp-s3.
This is a problem with your npm setup. Yes, Python 2 is needed to compile the node-sass
package used by Laravel.
You can find information on how to solve this problem online. Just make sure to install pyton 2.7, not version 3.
https://stackoverflow.com/a/41115396
from online-ftp-s3.
Okay, I saw this error :
C:\Python27\Python.exe: can't open file 'C:\Windows\System32\composer-file\node_modules\node-gyp\gyp\gyp_main.py': [Errno 2] No such file or directory gyp ERR! configure error gyp ERR! stack Error:
gyp` failed with exit code: 2
gyp ERR! stack at ChildProcess.onCpExit (C:\Windows\System32\composer-file\node_modules\node-gyp\lib\configure.js:336:16)
gyp ERR! stack at ChildProcess.emit (events.js:180:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Windows_NT 10.0.16299
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Windows\System32\composer-file\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd C:\Windows\System32\composer-file\node_modules\node-sass
gyp ERR! node -v v9.11.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Build failed with error code: 1
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): EPERM: operation not permitted, scandir 'C:\Windows\System32\composer-file\node_modules\fsevents\node_modules\rc\node_modules'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\AppData\Roaming\npm-cache_logs\2018-04-08T11_42_20_162Z-debug.log`
Log file :
2018-04-08T11_42_20_162Z-debug.log
I belive this might have caused it :
`Downloading binary from https://github.com/sass/node-sass/releases/download/v3.13.1/win32-x64-59_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v3.13.1/win32-x64-59_binding.node":
HTTP error 404 Not Found
Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.
export HTTP_PROXY=http://example.com:1234
or configure npm proxy via
npm config set proxy http://example.com:8080`
The URL given give's 404 error on regular browser too..
How can I change the URL?
from online-ftp-s3.
After installing python and running the npm install command, I saw the errors above.
Still stuck here...
from online-ftp-s3.
Yes, I understand. But this problem has nothing to do with this project. The problem is your local npm setup. I cannot help you here any further but Google should point you in the right direction.
I just tried to compile the assets locally and everything is working as it should. Download this zip and extract it to public/
. These are the compiled assets.
https://transfer.sh/8FLuc/public.zip
from online-ftp-s3.
Related Issues (20)
- Upper Folder, Initial Folder, Folder Location HOT 1
- Install on Ubuntu HOT 5
- How to run the project? HOT 3
- Not able to change PATH? And what should be the default PATH? HOT 7
- Question HOT 1
- Several uploading issues HOT 1
- S3 Connection problem HOT 6
- sort and filter options HOT 1
- Question: keyboard shortcuts HOT 1
- Add functions HOT 2
- Symlinks view
- Initial Setup Issue HOT 1
- Is there any how-to? HOT 1
- Outdated security protocols
- doesn't work when filename has nonascii letters
- Cannot connect to server! (FTP) HOT 1
- data deleted HOT 1
- How to run this app ? ;) HOT 2
- Exhausted memory and upload progress HOT 1
- RENAME FILES
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 online-ftp-s3.