Build errors for from-scratch build of 0.0.21
See original GitHub issueHi Tom,
Trying to build from scratch… everything goes well for awhile, then errors
There’s a warning about using the right tsc… hopefully it’s just an env problem for me. The typescript lib is already installed, and I also tried using yarn, but same errors.
> web-ifc@0.0.21 build-wasm-release
> em++ --bind -O3 -std=c++17 -flto -fno-exceptions ./src/wasm/web-ifc-api.cpp -s ALLOW_MEMORY_GROWTH=1 -s MAXIMUM_MEMORY=4GB -s FORCE_FILESYSTEM=1 -s EXPORT_NAME=WebIFCWasm -s MODULARIZE=1 -s EXPORTED_RUNTIME_METHODS=["FS"] -O3 -o dist/web-ifc.js
> web-ifc@0.0.21 build-api
> cpy src/*.ts dist && npm run build-ts-api && npm run build-web-ifc-api-mjs && npm run build-web-ifc-api-node && npm run copy-to-dist && npm run add-wasm-path
> web-ifc@0.0.21 build-ts-api
> tsc --emitDeclarationOnly && cpy dist/web-ifc-api.d.ts dist && cpy dist/web-ifc-api.d.ts dist --rename=web-ifc-api-node.d.ts
{
"name": "web-ifc",
"version": "0.0.21",
"description": "ifc loading on the web",
"main": "web-ifc-api.js",
"watch": {
"build-viewer": {
"patterns": [
"./examples/viewer"
],
"extensions": "ts"
},
"build-web-ifc-api-mjs": {
"patterns": [
"./src"
],
This is not the tsc command you are looking for
To get access to the TypeScript compiler, tsc, from the command line either:
- Use npm install typescript to first add TypeScript to your project before using npx
- Use yarn to avoid accidentally running code from packages which haven't been installed
Cannot copy `dist/web-ifc-api.d.ts`: the file doesn't exist
npm ERR! code 1
npm ERR! path /Users/pablo/web-ifc
npm ERR! command failed
npm ERR! command sh -c tsc --emitDeclarationOnly && cpy dist/web-ifc-api.d.ts dist && cpy dist/web-ifc-api.d.ts dist --rename=web-ifc-api-node.d.ts
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/pablo/.npm/_logs/2021-07-24T08_32_02_049Z-debug.log
npm ERR! code 1
npm ERR! path /Users/pablo/web-ifc
npm ERR! command failed
npm ERR! command sh -c cpy src/*.ts dist && npm run build-ts-api && npm run build-web-ifc-api-mjs && npm run build-web-ifc-api-node && npm run copy-to-dist && npm run add-wasm-path
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/pablo/.npm/_logs/2021-07-24T08_32_02_085Z-debug.log
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Sail fresh installation is not starting and trhows errors when ...
Description: After run sail up it starts to build the containers but stops with the error below: PS! I already created another sail...
Read more >Issue on compiling in a dockercontainer - Questions - n8n
Hello, I am running into a build error on n8n inside of a docker ... The docker is being built from scratch on...
Read more >Build errors : ITK Module Python Wrapping - Engineering
Hi everyone, Image processing scientist, I'm pretty used to ITK pipelines. However, I'm new to ITK development… Recently converted to Python ...
Read more >Changelog | Unity Forma | 4.2.0
Fixed "Fatal error in Unity CIL Linker" error when building the WebGL player; Fixed "built-in shaders bundle is already loaded" error while ...
Read more >New function added in Version 10.0 fix packs - IBM
You can now create REST APIs from scratch by using the REST API editor in the IBM Integration Toolkit to define the models,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Accepted PR and moved monaco dep to dev-deps, looks like the tsc dependency was just a typo so it could be deleted.
did a PR 😃 lets see if builds work…