Open billdesk opened 7 years ago
Deploying to netlify directly from github, I see:
Module not found: Error: Can't resolve 'module' in '/opt/build/repo/frontend/node_modules/source-map-support'
Here's the full output:
`11:02:59 AM: Build ready to start 11:02:59 AM: Fetching cached dependencies 11:03:00 AM: Expected build cache - but failed to find it 11:03:00 AM: Failed to extract cache, continuing with build 11:03:00 AM: No cached dependencies found. Cloning fresh repo 11:03:00 AM: git clone git@github.com:robertjchristian/chromeless-playground 11:03:02 AM: git remote rm origin 11:03:02 AM: Preparing Git Reference refs/heads/master 11:03:05 AM: Found netlify.toml. Overriding site configuration 11:03:05 AM: Running build command: yarn build 11:03:06 AM: v6.12.0 is already installed. 11:03:07 AM: Now using node v6.12.0 (npm v3.10.10) 11:03:07 AM: Using version v6.12.0 of node 11:03:07 AM: Using /opt/buildhome/.rvm/gems/ruby-2.1.2 11:03:07 AM: Installing yarn at version 0.18.1 11:03:08 AM: Installing Yarn!
Downloading tarball... 11:03:08 AM: [1/2]: https://yarnpkg.com/downloads/0.18.1/yarn-v0.18.1.tar.gz --> /tmp/yarn.tar.gz.76OVcWYGt4 % Total % Received % Xferd Average Speed Time Time Time Current 11:03:08 AM: Dload Upload Total Spent Left Speed 11:03:08 AM:
0 0 11:03:08 AM: 0 0 11:03:08 AM: 0 0 11:03:08 AM: 0 11:03:08 AM: 0 --:- 11:03:08 AM: -:- 11:03:08 AM: - --:--:-- --:--:-- 0 11:03:08 AM: 100 93 100 93 0 0 755 0 --:--:- 11:03:08 AM: - --:--:-- 11:03:08 AM: --:--:-- 762 11:03:09 AM: 0 0 0 609 0 0 1789 0 --:--:-- --:--:-- --:--:-- 1789 11:03:09 AM: 2 3537k 2 85554 0 0 88081 0 0:00:41 --:--:-- 0:00:41 88081 11:03:10 AM: 38 3537k 38 1359k 0 0 694k 0 0:00:05 0:00:01 11:03:10 AM: 0:00:04 1295k 11:03:10 AM: 100 3537k 100 3537k 0 0 1443k 0 0:00:02 0:00:02 --:--:-- 2336k 11:03:10 AM:
11:03:10 AM: arnpkg.com/downloads/0.18.1/yarn-v0.18.1.tar. 11:03:10 AM: gz.asc --> /tmp/yarn.tar 11:03:10 AM: .gz.76 11:03:10 AM: OVcWYG 11:03:11 AM: t4.asc 11:03:11 AM: 11:03:11 AM: 100 97 100 97 0 0 1939 0 - 11:03:11 AM: -:--:-- --:--: 11:03:11 AM: -- --:--: 11:03:11 AM: -- 19 11:03:11 AM: 39 11:03:11 AM: 0 0 0 613 0 0 2934 0 --:--:-- --:--:-- --:--:-- 2934 11:03:11 AM: 100 832 100 832 0 0 2869 0 --:--:-- --:--:-- --:--:-- 2869 11:03:11 AM: > Verifying integrity... 11:03:11 AM: gpg: Signature made Sat 17 Dec 2016 12:30:28 PM UTC using RSA key ID FD2497F5 11:03:11 AM: gpg: Good signature from "Yarn Packaging yarn@dan.cx" 11:03:11 AM: gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: 72EC F46A 56B4 AD39 C907 BBB7 1646 B01B 86E5 11:03:11 AM: 0310 11:03:11 AM: Subkey fingerprint: 6A01 0C51 6600 6599 AA17 F081 46C2 130D FD24 97F5 11:03:12 AM: > GPG signature looks good 11:03:12 AM: > Extracting to ~/.yarn... 11:03:12 AM: > Adding to $PATH... 11:03:12 AM: > We've added the following to your /opt/buildhome/.profile
If this isn't the profile of your current shell then please add the following to your correct profile:
export PATH="$HOME/.yarn/bin:$PATH"
11:03:12 AM: > Successfully installed Yarn 0.18.1! Please open another terminal where the yarn
command will now be available.
11:03:12 AM: Installing NPM modules using Yarn version 0.18.1
11:03:12 AM: yarn install v0.18.1
11:03:13 AM: [1/4] Resolving packages...
11:03:13 AM: [2/4] Fetching packages...
11:03:26 AM: warning fsevents@1.1.2: The platform "linux" is incompatible with this module.
11:03:26 AM: info "fsevents@1.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
11:03:26 AM: [3/4] Linking dependencies...
11:03:26 AM: warning Incorrect peer dependency "react@^0.15.0".
11:03:26 AM: warning Incorrect peer dependency "webpack@>=1.3.0 <3".
11:03:35 AM: [4/4] Building fresh packages...
11:03:36 AM: Done in 23.19s.
11:03:36 AM: NPM modules installed using Yarn
11:03:36 AM: yarn build v0.18.1
11:03:36 AM: $ rm -rf dist; webpack -p && cp -r public/* dist
11:03:38 AM: ts-loader: Using typescript@2.4.2 and /opt/build/repo/frontend/tsconfig.json
11:04:33 AM: Hash: 9d9b25d1b20efae78423
Version: webpack 3.3.0
Time: 56185ms
Asset Size Chunks Chunk Names
app.9d9b25d1b20efae78423.js 3.48 MB 0 [emitted] [big] app
favicon.png 20.9 kB [emitted]
index.html 1 kB [emitted]
[23] (webpack)/buildin/global.js 509 bytes {0} [built]
[96] ./src/utils.ts 3.04 kB {0} [built]
[171] ./src/codemirror/projectService.ts 9.07 kB {0} [built]
[296] ./src/codemirror/srcLoader.ts 672 bytes {0} [built]
[297] ./src/examples.ts 1.5 kB {0} [built]
[304] ./src/codemirror/codeEditor/addons/autocomplete/autocompleteShared.tsx 9.46 kB {0} [built]
[307] multi babel-polyfill ./src/index.tsx graphcool-styles/dist/styles.css 52 bytes {0} [built]
[491] ./src/index.tsx 561 bytes {0} [built]
[703] ./src/codemirror/codeEditor/addons/autocomplete/autocomplete.ts 7.66 kB {0} [built]
[704] ./src/codemirror/codeEditor/addons/autocomplete/templates.ts 18.5 kB {0} [built]
[715] ./src/codemirror/codeEditor/addons/autocomplete/autocomplete.css 1.07 kB {0} [built]
[717] ./src/codemirror/codeEditor/addons/textHover.ts 6.99 kB {0} [built]
[718] ./src/codemirror/codeEditor/addons/textHover.css 1.05 kB {0} [built]
[720] ./src/state.ts 7.59 kB {0} [built]
[731] ./src/assets/icons/github.svg 2.03 kB {0} [built]
WARNING in ./node_modules/source-map-support/source-map-support.js Module not found: Error: Can't resolve 'module' in '/opt/build/repo/frontend/node_modules/source-map-support' @ ./node_modules/source-map-support/source-map-support.js 473:15-32 @ ./node_modules/typescript/lib/typescript.js @ ./node_modules/byots/bin/byots.js @ ./src/codemirror/projectService.ts @ ./src/components/CodeEditor.tsx @ ./src/components/App.tsx @ ./src/index.tsx @ multi babel-polyfill ./src/index.tsx graphcool-styles/dist/styles.css Child html-webpack-plugin for "index.html": [0] ./node_modules/html-webpack-plugin/lib/loader.js!./src/index.html 1.26 kB {0} [built] [2] (webpack)/buildin/global.js 509 bytes {0} [built] [3] (webpack)/buildin/module.js 517 bytes {0} [built]
Any progress?
Hi
I deployed chromeless serverless to AWS lambda and i am interested to deploy this package to netlify and integrate both. I forked this repo, set environmental variables in netlify and tried to deploy, i got the following error.
7:21:10 AM: Starting deploy of directory /mnt/build-work/buildbot-329504659/repo/dist 7:21:10 AM: Failed to walk directory structure 7:21:10 AM: Finished deploying directory /mnt/build-work/buildbot-329504659/repo/dist 7:21:10 AM: Failed to deploy dist to CDN 7:21:08 AM: lstat /mnt/build-work/buildbot-329504659/repo/dist: no such file or directory
Full error below: netlify deployment error.txt